Splunk Search

External command configured automatic

rdownie
Communicator

I wrote an external command to just adjust the timezone and reformat _time and return a new field. It is a very simple python script. I want it to run automatically against a specific sourcetype. I can see you can do it with an external lookup or a lookup. Can I have this run for an external command? I have tried to do it but it does not appear to work. If I put the command inline in the search, it works fine.
Any help would be appreciated.
-Bob

0 Karma

jplumsdaine22
Influencer

Have a look at the external_cmd configuration in transforms.conf http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...