Support Questions
Find answers, ask questions, and share your expertise

logsearch time format error

logsearch time format error

Explorer

environment:

- Ambari 2.7

- HDP 3.1

- HDF 3.4

- UTC/GMT +8 (Asia/Shanghai)

---

When I use logsearch, the logs for the service are generated in local time (UTC/GMT +8). Log in solr ` logtime ` field value is UTC time, didn't do time transformation! I also had to specify the current time +8 hours to see the log in logsearch.


108855-solr-log-result.png


108795-logsearch-rest-result.png


I think this is a false indication.


I use a log in the configuration of logseach verified the JSON configuration, results show that the ` logtime ` correct timestamp. I think that's a problem for logfeeders, but I don't know how to change it.


108776-logsearch-config-validation.png


If you know, thank you for helping me.

1 REPLY 1

Re: logsearch time format error

The above was originally posted in the Community Help Track. On Tue May 21 13:39 UTC 2019, a member of the HCC moderation staff moved it to the Cloud & Operations track. The Community Help Track is intended for questions about using the HCC site itself.

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.