Splunk Enterprise

How to deploy a customized app via deployment server to execute a command?

pshelke
Observer

We want to deploy an custom app via deployment server which has to execute an command in all the universal forwarders. We tried to create a app with the command but it is not reading the same and throwing warning message in splunkd.log as below.

 

WARN : cannot parse into key-value pair.

 

 

Labels (1)
0 Karma

batabay
Path Finder

Hi,
That is possible. for windows uf's  inputs.conf;

[script://.\\bin\\script.bat]
disabled = False
interval = 43200

 

For linux uf's; inputs.conf

[script://.\\bin\\script.sh]
disabled = False
interval = 43200

 

Finally ; 

You must put script in bin folder same app.

Example bin folder;

custom_app/bin/script.bat

custom_app/bin/script.sh

Example local folder;

custom_app/local/inputs.conf

must be like above.

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 ...