Logs not reporting again
Logs not reporting again
Log Serer 1.4.2
restarted the services
Elasticsearch Database [Restart] [Stop]
Logstash Collector [Restart] [Stop]
I show 11 hosts reporting
But I see this when I click on the dashboard
No results There were no results because no indices were found that match your selected time span
Thoughts?
Update
I think after restarting the services it started working again.
I added another host to see and it does not show on the dashboard.
I have 11 hosts now and added one more should have 12 hosts
Is there a way to see what hosts are reporting to logserver?
restarted the services
Elasticsearch Database [Restart] [Stop]
Logstash Collector [Restart] [Stop]
I show 11 hosts reporting
But I see this when I click on the dashboard
No results There were no results because no indices were found that match your selected time span
Thoughts?
Update
I think after restarting the services it started working again.
I added another host to see and it does not show on the dashboard.
I have 11 hosts now and added one more should have 12 hosts
Is there a way to see what hosts are reporting to logserver?
Re: Logs not reporting again
In terms of how the count is figured, that is the sum of the count of unique hostnames/addresses in the currently open elasticsearch indices. There could be a log source ready to go that simply hasn't sent any logs yet.kwhogster wrote:I have 11 hosts now and added one more should have 12 hosts
There isn't a very good way from the NLS GUI to see which hosts are sending in logs at the moment. When troubleshooting the topic of "is this host sending logs", we usually reference a tcpdump.Is there a way to see what hosts are reporting to logserver?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Logs not reporting again
The error is back again
No logs are being report as I posted in my first message
Why dos Logserver stop working like this all the time???
Thank you
No logs are being report as I posted in my first message
Why dos Logserver stop working like this all the time???
Thank you
Re: Logs not reporting again
Can you share the contents of your logstash log (/var/log/logstash/logstash.log) as well as the contents of your elasticsearch logs (/var/log/elasticsearch/*.log)?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Logs not reporting again
Guys
I figured it out
It was a DNS issue.
did a nslookup of this host and it was showing a workstations dns name with the same ip adderess as the log server host
I then went to my dns server and deleted the entries from the A Record and the reverse lookup zones
Now they are reporting
Still would like to know how to check in Log Server which hosts are reporting has to be a config file or something some where
Thoughts
I figured it out
It was a DNS issue.
did a nslookup of this host and it was showing a workstations dns name with the same ip adderess as the log server host
I then went to my dns server and deleted the entries from the A Record and the reverse lookup zones
Now they are reporting
Still would like to know how to check in Log Server which hosts are reporting has to be a config file or something some where
Thoughts
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Logs not reporting again
Go to Dashboards
Make sure the query is *
Under ALL EVENTS, in the left pane is a Fields list
Click the word host
Now there is a pretty list
Click the Terms drop down list and select Table
Now a "Top 10 terms" table appears
Next to the heading "Top 10 terms in field host" is a compass icon
Drag the compass icon up so it adds it to a new panel
In the new panel, click the gear icon (Configure)
General tab -> change the title to All Hosts
Panel tab -> Change the length from 10 to 1000
Click Save
Now you can save this dashboard so you can view it later.
Make sure the query is *
Under ALL EVENTS, in the left pane is a Fields list
Click the word host
Now there is a pretty list
Click the Terms drop down list and select Table
Now a "Top 10 terms" table appears
Next to the heading "Top 10 terms in field host" is a compass icon
Drag the compass icon up so it adds it to a new panel
In the new panel, click the gear icon (Configure)
General tab -> change the title to All Hosts
Panel tab -> Change the length from 10 to 1000
Click Save
Now you can save this dashboard so you can view it later.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Logs not reporting again
Troy
Was going to try your suggestion but now I can not even access the site
I get this
Waiting for Database Startup
It looks like your local elasticsearch service is starting.
Why am I getting this error?
Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.
The page will refresh automatically after 5 seconds...
What do I have to restart to clear this
Thanks
Was going to try your suggestion but now I can not even access the site
I get this
Waiting for Database Startup
It looks like your local elasticsearch service is starting.
Why am I getting this error?
Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.
The page will refresh automatically after 5 seconds...
What do I have to restart to clear this
Thanks
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Logs not reporting again
How much memory does your log server machine have? We find that you need at least 4GB but 8GB is better.
Can you please run these commands:
Then upload these files:
/tmp/logstash_logs.txt
/tmp/elasticsearch_logs.txt
Can you please run these commands:
Code: Select all
tail /var/log/logstash/*.log -n 100 > /tmp/logstash_logs.txt
tail /var/log/elasticsearch/*.log -n 100 > /tmp/elasticsearch_logs.txt/tmp/logstash_logs.txt
/tmp/elasticsearch_logs.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Logs not reporting again
Troy
Running Cent OS
Server has 8GB of Memory
See attached log
the logstash_log file was empty no records
Running Cent OS
Server has 8GB of Memory
See attached log
the logstash_log file was empty no records
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Logs not reporting again
I suspect you have some failed shards.
What is the output of these commands:
What is the output of these commands:
Code: Select all
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
curl -XGET 'http://localhost:9200/_cat/shards?v'As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.