Deployment Architecture

Permissions on CLI to execute splunk add monitor

dchang
New Member

Hi, We deploy forwarders to provide data to Splunk indexers. Whom is permitted to run the command "splunk add monitor"? Is it only the splunk user that installed the agent/forwarder?

If I wanted to permit others to add new monitors to the splunk forwarder can I do so?

Thanks, Dennis

0 Karma

dwaddle
SplunkTrust
SplunkTrust

To use the CLI command you need a Splunk login (not an operating system login) that has the Splunk admin role. How this nets out depends on some things - you can configure LDAP authentication (even for your forwarders) and let them centrally authenticate / authorize that way. Or, you can use the default admin account and whatever password you set for it. You could also add a Splunk user just for this purpose.

Alternately, splunk add monitor will eventually end up changing an inputs.conf config file. You could configure filesystem permissions to allow others to access this file, and they could edit it as necessary to add new monitor inputs.

0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...