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
Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...