Getting Data In

Index name entry in inputs.conf

kannu
Communicator

Hello splunkers ,

I have seen in system/local/inputs.conf of many servers that it contains one entry provided below

root@abchost:~ # cat /opt/splunkforwarder/etc/system/local/inputs.conf

[default]
host  = abc.com
index = unmanaged

What is need of providing index= unmanged in that .

I am just simply guessing that might be it provided the default index entry to those monitors which don't have index name specified ,

Please let me know if i am right or wrong , if wrong then please let me know what is the need of providing that value .

0 Karma
1 Solution

kmorris_splunk
Splunk Employee
Splunk Employee

Use the [default] stanza to define any global settings.
* You can also define global settings outside of any stanza, at the top of
the file.
* Each conf file should have at most one default stanza. If there are
multiple default stanzas, settings are combined. In the case of
multiple definitions of the same setting, the last definition in the
file wins.
* If an setting is defined at both the global level and in a specific
stanza, the value in the specific stanza takes precedence.

https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Inputsconf

View solution in original post

woodcock
Esteemed Legend

I think that your guess is probably correct, based on the name of the index. Unless you can talk to the person who created that stanza or the person who created that index (he might have left some comments in the inputs.conf or indexes.conf file so check that), there will be no way to know for sure.

0 Karma

kannu
Communicator

@woodcock

This entry came pre-loaded . when i have installed splunk forwarder on linux host .

0 Karma

woodcock
Esteemed Legend

I think probably not. But maybe your installation process connected your forwarder to a Deployment Server and it pulled the setting in that way.

0 Karma

FrankVl
Ultra Champion

Can a deployment server influence etc/system/local?

0 Karma

FrankVl
Ultra Champion

Which forwarder version is that? And how are you installing it? Because last time I installed a UF from a tgz (v7.1.1), it definitely didn't contain that setting by default.

0 Karma

kmorris_splunk
Splunk Employee
Splunk Employee

Use the [default] stanza to define any global settings.
* You can also define global settings outside of any stanza, at the top of
the file.
* Each conf file should have at most one default stanza. If there are
multiple default stanzas, settings are combined. In the case of
multiple definitions of the same setting, the last definition in the
file wins.
* If an setting is defined at both the global level and in a specific
stanza, the value in the specific stanza takes precedence.

https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Inputsconf

kannu
Communicator

@kmorris [Splunk]

That i know but question here is what is the use of index = unmanaged

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 ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...