Splunk Search

how to find out scripts running on indexers

kteng2024
Path Finder

hi,

Is there a way to find out the scripts running by users on indexers because few backs when i ask a user , he told that he ran it on search head but actually that script is running on indexers . So, how to find out the scripts running on indexers that were created by users . i know splunk base apps will be running shell scripts but i want to ignore them.

0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@kteng2024 - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post and upvote anything that was helpful. If no, please leave a comment with more feedback. Thanks.

0 Karma

woodcock
Esteemed Legend

Try this:

index="_internal" sourcetype="splunk_python"
0 Karma

lycollicott
Motivator

I assume you mean saved searches.

Try this to start with:

index=_internal source="*scheduler.log" savedsplunker | stats count BY user, savedsearch_name, host

Run it with a time range of maybe a week.

Get Updates on the Splunk Community!

Transforming Financial Data into Fraud Intelligence

Every day, banks and financial companies handle millions of transactions, logins, and customer interactions ...

How to send events & findings from AWS to Splunk using Amazon EventBridge

Amazon EventBridge is a serverless service that uses events to connect application components together, making ...

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...