freedomofpress / ansible-role-elk

Installs a turnkey ELK stack for log aggregation and analysis, with optional Riemann support for alerting
18 stars 13 forks source link

Updates timestamp in Nagios log parsing #22

Closed conorsch closed 8 years ago

conorsch commented 8 years ago

Refer to the epoch timestamp from the actual log event, rather than trusting the '@timestamp' field automatically created by Logstash. The latter stamps the time of log ingestion, not the time of the event.

conorsch commented 8 years ago

@ageis r? We can knock out the other dateification tasks (see #21) in this same branch and remerge later on. For now, this is a simple fix that cleans up the changes presented in #20.