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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...