Have the timestamp when filebeat send log

(Pierre “What's Up” Scadra) #1

How can I have the timestamp from Filebeat when he has sending le log to Logstash ?

I need to know how many time take filebeat to send log in logstash

(Steffen Siering) #2

Do you send text or json logs?

For text logs, filebeat stores the read timestamp in @timestamp. E.g. the filebeat modules (using Ingest node) rename @timestamp to read_timestamp + create the new events @timestamp from the log message it's timestamp. One can also add the current timestamp in logstash as well to have an receive_timestamp.

(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.