Distributed Environment with so-elastalert Missing #14968
Replies: 4 comments 1 reply
-
@chantellmocha I seem to be having a very similar issue. Please post here if you find a solution. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Are you able to verify that the searchnode can communicate with the manager on the required ports? https://docs.securityonion.net/en/2.4/firewall.html#firewall For the replias you can set the replias to 0 to get the cluster green and then try running the highstate command on the searchnode |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply! The search nodes both can communicate with the manager on the required ports. I ran both the provided command and a salt highstate on the manager node, and the cluster is showing yellow health with the below stats.
|
Beta Was this translation helpful? Give feedback.
-
Hi again - I ran nc and had positive results for all ports with the exception of 5056 (Logstash-to-Logstash for Elastic Agent data ingest), which timed out. I redacted the manager IP but put the command outputs below.
I searched the minion log files on both search nodes for errors and didn't see anything present. Also - I definitely only ran the oneliner and then a highstate. Thank you for the new command, I ran it and ran another highstate. We still have a good chunk of unassigned shards that I need to figure out what to do to address.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
2.4.160
Installation Method
Security Onion ISO image
Description
upgrading
Installation Type
Distributed
Location
cloud
Hardware Specs
Exceeds minimum requirements
CPU
16
RAM
64 GB
Storage for /
270.5 GB
Storage for /nsm
12883.9 GB
Network Traffic Collection
span port
Network Traffic Speeds
Less than 1Gbps
Status
No, one or more services are failed (please provide detail below)
Salt Status
Yes, there are salt failures (please provide detail below)
Logs
Yes, there are additional clues in /opt/so/log/ (please provide detail below)
Detail
We have a distributed environment, including 2 search nodes and 7 forward nodes. There is a mix of on-premise and cloud forward nodes; search nodes and our manager node are hosted in AWS. When we added a second search node, I noticed some things were off with it. After a reboot, so-elastalert was missing.
I've looked at all the existing posts linked below, and could not find a fruitful solution.
#13908
#6966
#13817
#12334
The so-elastalert Docker container also cannot be found. Manual reinstallation of the Docker container via docker pull fails. We've already gone through all similar posts and haven't found a solution.
The errors we get on the Elastic side are tied to unallocated shards. How can we rectify this?
Errors when running "sudo salt-call state.highstate":
[ERROR ] Command 'so-elasticsearch-wait' failed with return code: 1 [ERROR ] stdout: Waiting for value 'green open' at 'https://localhost:9200/_cat/indices/.kibana*' (1/300) Server is not ready Server still not ready after 300 attempts; giving up. [ERROR ] retcode: 1 [ERROR ] {'pid': 3895139, 'retcode': 1, 'stdout': "Waiting for value 'green open' at 'https://localhost:9200/_cat/indices/.kibana*' (1/300)\nServer is not ready\nWaiting for value 'green open' at 'https://localhost:9200/_cat/indices/.kibana*' (2/300)\nServer is not ready\nWaiting for value 'green open' at 'https://localhost:9200/_cat/indices/.kibana*' (3/300)\nServer is not ready Server still not ready after 300 attempts; giving up.", 'stderr': ''
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions