Splunk Search

External command configured automatic


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.

0 Karma


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!

Splunk Observability Cloud | Customer Survey!

If you use Splunk Observability Cloud, we invite you to share your valuable insights with us through a brief ...

Happy CX Day, Splunk Community!

Happy CX Day, Splunk Community! CX stands for Customer Experience, and today, October 3rd, is CX Day — a ...

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...