if [program] == 'apache_access' {
grok {
match => [ 'message', '%{COMBINEDAPACHELOG}']
}
date {
match => [ 'timestamp', 'dd/MMM/yyyy:HH:mm:ss Z' ]
Note that this filter explicitly sets the date as opposed to letting Logstash handle it. This could easily account for the discrepancy you've been noticing.
TwitsBlog Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
We do not have any Apache logs coming in at this time. This filter was in place by default when we installed Nagios Log Server. So I am assuming you guys put that there.
If we could move this thread over to a ticket, this is something I'd like to take a look at myself. Any chance you'd like to mail [email protected] and reference this thread? If you're out of tickets/don't want to use one, we can continue troubleshooting in this thread.
TwitsBlog Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.