Monitoring Splunk

Is there a way to create an alert if splunkd on any Splunk instance is started by any user except "splunk user"?

bishtk
Communicator

Hi Guys,

In my project environment, every splunkd is installed using splunk user. So I need to create an alert if any splunkd on any splunk server (enterprise or UF) gets started with root or any other user post boot or if anyone starts it with any other user than splunk.

Please suggest.

-Thanks

Labels (3)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @bishtk,

you could create a script that runs the ps command (e.g. in Linux) on the system to monitor, then Forwarder send results to Splunk and you can analyze the result.

If you want, you can also use the script in Splunk_TA-nix.

Ciao.

Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @bishtk,

you could create a script that runs the ps command (e.g. in Linux) on the system to monitor, then Forwarder send results to Splunk and you can analyze the result.

If you want, you can also use the script in Splunk_TA-nix.

Ciao.

Giuseppe

0 Karma

bishtk
Communicator

Thank you @gcusello . I will go for Splunk_TA_nix option

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @bishtk,

good for yu.

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma

bishtk
Communicator

@gcusello thank you and happy splunking 🙂

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...