Erro searching logs

(Rui) #1

Hi all.

I’m trying to setup a graylog instance where the graylog server is accessed using a Virtual IP, but I’m having issues configuring graylog-server. The server starts, however searching does not yield any result. Accessing directly elasticsearch I can see there are logs and incoming logs get indexed. There are no errors on the graylog-server / elasticsearch, etc…

I’ve this configuration on the graylog:

rest_listen_uri =    #Address 1989.* is not visible from outside
rest_transport_uri =   #This is the VIP, accessible from outside.
web_listen_uri =

I’m using graylog 2.3.1 in a single instance.

If I try to search “all messages” I can see a JavaScript an error on the browser:

      Unhandled rejection _determineSearchDuration@

There’s also another error on the network view of the browser:

GET XHR -> 404 Not found

Any ideia how to solve this? I’ve spend a few hours trying to figure out the configuration problem without any success.


(Jochen) #2

Try replacing rest_transport_uri with web_endpoint_uri in your configuration file and use the default for rest_transport_uri.

(Rui) #3

Hi jochen,
thanks for your answer. I’ve done the changes as you suggested, i.e.:

 rest_listen_uri =
 web_listen_uri =
 web_endpoint_uri =

However the problem remains the same. I think someone had this same problem and reported here ( However, I cannot understand how elasticsearch can be the cause. Like I said, logs get indexed. (I’m using ES 2.4.5)

(Rui) #4

Good morning.
It’s now working after reinstalling elasticsearch. :confused: Before reinstalling elasticsearch I just renamed elasticsearch data directory and restarted with an empty ES. No luck!

Removed elasticsearch and reinstalled (with an empty data directory), and things started to work! Have no idea what’s happened! :-/

(system) closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.