Splunk Enterprise

Can I perform an action in server through Splunk?

Mrig342
Contributor

Hi All,

I want to understand if there is a way to perform an action to the server through Splunk.

For e.g.

  • to run ls -lrt command for a path
  • to kill/terminate a process
  • to run a script on the server etc.

Your kind help will be highly appreciated.

Thank you..!!

Labels (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

You could write custom alert actions to perform various tasks but in general it's not something that really should be done by splunk. This is more a SOAR (like Phantom) domain, not Splunk Enterprise.

There would be many caveats to avoid/overcome (like handling credentials) so it's not that straightforward to do. But theoretically - yes, you can do "anything" using custom actions. As long as you can script it.

Mrig342
Contributor

Thank you @PickleRick 

Can you help me with some splunk documents to go through on this topic to explore.

Your help is much appreciated..!!

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...