scirius icon indicating copy to clipboard operation
scirius copied to clipboard

Problem with viewing Alerts on Scirius page

Open ghost opened this issue 9 years ago • 8 comments

stamus.error.log shows multiple entries line this

connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.101, server: selks, request: "GET /rules/info?query=memory HTTP/1.1", upstream: "fastcgi://[::1]:8080", host: "selks.foo.bar", referrer: "https://selks.foo.bar/rules/ruleset/"

Tried on two OSX systems (el capitan and snow leopard)

ElasticSearch/Kibana pages (ones with maps etc) work ok.

Access to Scirus page is https://selks.foo.bar

ghost avatar Feb 16 '16 14:02 ghost

If you go to scirius -> suricata -> edit and change the first field NAME to match your hostname -would that help?

pevma avatar Feb 17 '16 07:02 pevma

Hi Its was set to selks.foo.bar prior to me raising an issue.

Is it supposed to be a fqdn?

ghost avatar Feb 17 '16 08:02 ghost

ok -so what is the hostname?

pevma avatar Feb 17 '16 08:02 pevma

The hostname is selks.foo.bar

ghost avatar Feb 17 '16 08:02 ghost

Good morning,

Same issue seen by me. You do probably runs elastic 5.x where .raw has been changed to .keyword. This obligated you to change local_settings.py or settings.py with:

from ELASTICSEARCH_KEYWORD = "raw"

to ELASTICSEARCH_KEYWORD = "keyword"

snaki4 avatar Jan 17 '17 12:01 snaki4

@snaki4 - did that change fix the issue for you on Elasticsearch 5?

-- Regards, Peter Manev

On 17 Jan 2017, at 04:21, snaki4 [email protected] wrote:

Good morning,

Same issue seen by me. I have changed hostname under web interface, checked that that hostname populated in the elasticsearch database, but stats aren't being showed up on the dashboard :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

stamus avatar Jan 19 '17 18:01 stamus

I can confirm that setting ELASTICSEARCH_KEYWORD = "keyword" made it work for me with Elasticsearch 5.

schulerjoe avatar May 17 '17 13:05 schulerjoe

Can someone put this thread somewhere more visible. I had the same exact issue and indeed the solution of changing the name under suricata on scirius fixed the issue

tsikerdekis avatar Dec 24 '17 19:12 tsikerdekis