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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...