i have a default filebeat template, How to add date filed in that existing template.?
For example;
in log i have Time field as string i need to convert into timestamp field,
I tried with logstash , the Time filed is changed from
Time : 2017-08-21_03:44:31.190 to
timestamp: 2017-08-21T03:44:31.190Z
i got the timestamp converted properly But timestamp is still showing as string field in kibana.
my sample conf: date { match => ["Time","yyyy-MM-dd_HH:mm:ss.SSS"] timezone => "UTC" target => "timestamp" }
I've checked the documentation. So locale is not required. So this is not the case.
When I was configuring my dates in LS, I needed to remove my index and create it again. After that my fields were ok.
I'm not sure if this is the case. Would recommend, that you post your date in a new (never used) field. If this is ok, then reindex or remove/index your index.
Did you just checked this in results or did you also checked your mapping?
If you didn't, you can check you fields under Kibana/Management or you just select your mapping with
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.