Getting Data In

How to add modular data inputs using Splunk command line?

prabhasgupte
Communicator

I am trying to install a TA from Splunk command line. Referring to http://docs.splunk.com/Documentation/Splunk/6.5.0/Admin/CLIadmincommands, I could install it using following command:
/opt/splunk/bin/splunk install <path to TA .tar.gz>

However, I don't know how can I setup this TA (I need to setup credentials in that) and then add its data inputs and enable them. I could not find any command for that.

0 Karma

PPape
Contributor

First of all it would help if you could give us the Name of the TA.
In most TAs is an README File qhere you can find further Instructions.

For the credential Setup.
Take a look in your "%splunkroot%\etc\apps[TA_NAME]\default" directory.
Are there some config files? If yes, take a look at them. (please DONT edit them)
If you can find the nessesary parameters, copy the Files you need to edit to "%splunkroot%\etc\apps[TA_NAME]\local" and edit them there.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.    Watch On-Demand   In this Tech Talk, Splunk platform specialists ...

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...