Getting Data In

Change File/Directory Input Index

bteele
New Member

In our distributed environment, we've got our File/Directory data inputs configured on our deployment server, and our production indexes on our indexer. The indexes aren't replicating between the two.

When I add a new File/Directory data input, I can choose an index, but only those local to the deployment server. The index I want to use, on the Indexer, isn't available in the dropdown.

How can I change that index? I've looked for a config file on either server, but can't find anything to manually configure.

Tags (1)
0 Karma

p_gurav
Champion

If you have indexer clusetring , you need to put indexes.conf on master node in "$SPLUNK_HOME/etc/master-apps//local".

If you don't have clustering then you can create one index on deployment server, but while doing file and directory monitoring make sure you are doing it in forwarded input not in local input.

Below docs may help:
https://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Forwarddata

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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Watch on demand us for a demo-driven ...