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!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...