I have Graylog community version Graylog 3.2.6+e255fcc and I am using the fortinet pack.I am configuring a dashboard that works if I put 5 minutes, but if I select a date range for example all the previous day gives me time out could you help me to configure or optimize. I have a Centos 7 server with 4CPU and 8 RAM. Attached are some errors found.
I took a glance at your picture. Looks like you may have a connection problem to Elasticsearch. I see the "could not connect to 127.0.0.1:9200 also connection refused. Sounds like a permission/configuration issues. Does Graylog have access to the fortinet pack?
Was this working before or did this just happen?
Do you have any other problems like this or only for fortinet Dashboard?
Out of curiosity what do you get when you execute this command.
Thanks for your help. I am new with Graylog and Elasticsearch. To install and configure it I was guided by this video.
I have a MV with 4CPU, 16GB RAM, I modified the Java HEAD of both Graylog and Elasticsearch going from 1GB to 4GB in each. I also installed this pack
It works correctly but the problem I have is that when I make a new dashboard with some fields if I select in a range of 15 minutes it does it correctly but if I extend the time as for example 1,2,3 days ago I get a time out and it gets stuck so I restart the server again and it works again.
I attach the curl
now in elasticsearch the field network.host: 0.0.0.0.0 and in Graylog the field elasticsearch_hosts= is commented out. What should I change here?
To be honest I not sure right now, but if I had to guess it could be a couple different things. Judging from the picture above, this is showing connection time outs, couldnt update field in index, failed to connect to 127.0.0.1:9200.
Since you showed ES is fine and I assume MongoDb, Graylog services are good also you stated that only 15 minutes of searched logs are shown but when you go to a date range it times out . This makes be believe it could be a configuration problem or resource problem (i.e. CPU)
To check for resources run TOP or HTOP then go to your dashboard and execute what you did before when dashboard times out. IF the CPU is maxed out try adding 2 or 4 more cores on your virtual machine.
Do you have Selinux enabled? If so maybe put it into passive mode and reboot?
Thats to many octets above.
Maybe try 127.0.0.1 or 0.0.0.0 and restart Elasticsearch service.
Is it posibable to show both you Elasticsearch configuration file and Graylog configuration file?
I think it is more of configuration, when I launch the date range the CPU goes up but it does not get stuck that is to say I do not think it is the CPU I use glances and processes do not reach critical as well as memory.
Then the selinux I have it disabled. The network.host by mistake I put a 0 of more currently I have it in 0.0.0.0, I think it is a configuration issue that tries to search by date range and makes a time out because it does not end but I do not know what it can be. That is why I resort to the forum if you have any suggestions where I can see I will appreciate it.