Daily indexs are rolling over now around 6 pm

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Daily indexs are rolling over now around 6 pm

Post by jolson »

Do you have any apache logs coming in? If so, they may be running against the following filter:

Code: Select all

    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.
Twits Blog
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.
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: Daily indexs are rolling over now around 6 pm

Post by krobertson71 »

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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Daily indexs are rolling over now around 6 pm

Post by jolson »

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.
Twits Blog
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.
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: Daily indexs are rolling over now around 6 pm

Post by krobertson71 »

Sounds good to me. I haven't had to use one yet so should be good.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Daily indexs are rolling over now around 6 pm

Post by hsmith »

krobertson71 wrote:Sounds good to me. I haven't had to use one yet so should be good.
I'm going to go ahead and lock this thread up since the issue is going to be moved to a ticket. Keep the troubleshooting in one location :)
Former Nagios Employee.
me.
Locked