index files not being built

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
harlantjader
Posts: 4
Joined: Tue Nov 04, 2014 12:00 am

index files not being built

Post by harlantjader »

after a day or so nothing shows in the dashboard if I change the time to shorter nothing shows if i change the time longer than 24 hours then data will show in the dashboard but from the day before. selecting a shorter time tells me an error that there is no index.

every day i have to restart the server to get the index files to rebuild.

i must have missed something during the install but received no errors.

can you tell me how to get the indexes to build on a schedule?

i am using the 64-bit ova
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: index files not being built

Post by tmcdonald »

Can you send a screenshot of the Administration -> Index Status page?
Is this for a single-node or a clustered setup?
Have you made any changes to the server?
Former Nagios employee
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: index files not being built

Post by sreinhardt »

It sounds like the time of your sending devices may be off. Log server respects when a system claims it sent a log file. Thus if your time is off on those systems it certainly could be interpreted incorrectly. Could you post a screenshot of this happening, and a screenshot of the index status pages from Admin->Instance Status.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
harlantjader
Posts: 4
Joined: Tue Nov 04, 2014 12:00 am

Re: index files not being built

Post by harlantjader »

this is a single server built from the 64-bit ova
You do not have the required permissions to view the files attached to this post.
harlantjader
Posts: 4
Joined: Tue Nov 04, 2014 12:00 am

Re: index files not being built

Post by harlantjader »

the server time was off by two hours. i set it to the current time.
harlantjader
Posts: 4
Joined: Tue Nov 04, 2014 12:00 am

Re: index files not being built

Post by harlantjader »

i have attached two screen shots.
post-logstash-restart.JPG
dashboard showing before and after restarts.
index-overview.JPG
index status page after restart.

at about 14:20 i restarted the elasticsearch database.
at a bit after 14:30 i restarted the logstash collector.

thank you
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: index files not being built

Post by lmiltchev »

Is it possible that the logstash collector was not running? Have you had any issues after restarting it? Go to Administration->Backup & Maintenance and show us a screenshot of this page.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked