Hi,
I've allowed filebeat to parse a json log, but the Unix timestamp fields like this
"EdgeStartTimestamp": 1534732311104000000,
on Kibana is converted in this way
EdgeStartTimestamp 1,534,732,311,104,000,000.
instead of ISO8601.
Could someone help me to convert it in ISO8601 format?
thanks
Use a mutate filter to remove the last three digits from the number to turn the microseconds into milliseconds (use the gsub option), then feed the result to a date filter. Use the UNIX_MS date pattern.
but the result was not what I expected:
|t EdgeStartTime| |48638255-11-25T05:53:19.872Z|
|# EdgeStartTimestamp| |1,534,812,939,553,999,872|
this is the json view on kibana: "EdgeStartTimestamp": 1534812939554000000,
"ClientRequestMethod": "POST",
"EdgeEndTimestamp": 1534812939700000000,
"input_type": "log",
"WAFRuleID": "", "EdgeStartTime": "48638255-11-25T05:53:19.872Z"
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.