Pillar locations #9266
-
First of all, thanks to the entire SO team for creating/maintaining such a great product! I apologize for what's almost certainly a stupid question(s) but I'm a little confused about a few things I've run into with Salt/Steno. What started my confusion is my attempt to permanently stop Steno from running - both at the local level and centrally via the Manager. The latest documentation clearly states that this can be done using the "minion.sls" or "global.sls" files (again, locally vs centrally for a pan-grid change). However, starting with the Sensor-specific local option, I see three separate minion.sls files located in different locations: /root/SecurityOnion/salt/salt/minion.sls These don't line up with the documented location - /opt/so/saltstack/local/pillar/minions/.sls In my case (I have looked on both a test Sensor as well as a Search Node), there is no "local" directory at all under saltstack. I've also noticed that in some of the documentation, the pillar file is referred to as the above with the cited as being a variable as part of the filename yet in other places, it's being referred to simply as "minion.sls". I have however found what appears to be an unused version of the .sls file at: /root/installtmp/pillar/minions/ ....but it only ever appears there and doesn't seem to exist anywhere else Regardless, I have tried editing all three of the above-mentioned minion.sls (not the ones with ID) files with: steno: ....but this doesn't result in Steno being turned off. I have also edited the global.sls file on the manager followed by "so-checkin" on both the manager and the sensor but this also doesn't result in Steno being shut down either. For now, I have resorted to doing a manual stop of Steno with so-pcap-stop but I'd really prefer to do this the right way - especially if I end up deploying SO in a production environment. Sorry for the longwinded query on all this and much appreciate any insight/help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
disclaimer, I have a "standalone" install and not the "distributed" architecture that you have. But I think you should edit the "/opt/so/saltstack/local/pillar/minions/.sls" file from the manager node and salt will do all the heavy lifting and that should trickle down the entire distributed node. |
Beta Was this translation helpful? Give feedback.
-
From the manager, what is the ouptut of the following command?
|
Beta Was this translation helpful? Give feedback.
From the manager, what is the ouptut of the following command?