Setting up my first Elastic, and ran to an issue with logstash output to file.
I am trying to get output both on elastic and to file, and both are working otherwise fine; however, I dont get any timestamp on the output file for the log events. The log source is windows server. What should be the correct codec to get timestamps for the output file aswell ? Timestamps are ok when looking from Kibana.
Tried to change the date to %{[Date]} , but that didn't solve the issue.
So what I am looking for is timestamp inside the output files events. Currently there is no timestamp at all on any event, which i am trying solve now. The event details and other are fine, just missing the time, when the events have occured.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.