Splunk Enterprise

inputs.conf and custom apps: Can you have an inputs.conf with only?

mellqui
Explorer

First time splunker here.

Can you have an inputs.conf with only:

[default]

host = <fqdn>

In etc/system/local while having custom apps with inputs in etc/apps? Or will the etc/system/local/inputs.conf mess with the custom app inputs?

Labels (2)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

It's very common to have only those two lines in inputs.conf and it works, just be aware of config file precedence.  If the same attribute is in two or more config files, the setting in etc/system/local wins.  See https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Wheretofindtheconfigurationfiles

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

It's very common to have only those two lines in inputs.conf and it works, just be aware of config file precedence.  If the same attribute is in two or more config files, the setting in etc/system/local wins.  See https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Wheretofindtheconfigurationfiles

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...