Getting Data In

DB Connect inputs missing from inputs.conf

timrcase
Explorer

I have 3 database inputs defined in Manager, but when I view $SPLUNK_HOME/etc/apps/dbx/local/inputs.conf only 1 of the inputs is there. I also checked the $SPLUNK_HOME/etc/apps/dbx/default/inputs.conf file and they are not there either. Data is still getting indexed from all 3 inputs so everything appears to be working as designed. Is there another file that holds DB Connect input configuration details?

Tags (1)
0 Karma
1 Solution

ziegfried
Influencer

Yes, the actual configuration stanza can be in any app in the etc/<app>/local/inputs.conf. It depends in which app context you were in when you created the input. For example, when you entered the Splunk Manager from the Search app, then the stanza will be stored in etc/apps/search/local/inputs.conf.

You can use a CLI command to quickly find out where the configuration is stored:

$ splunk cmd btool inputs list dbmon --debug

This will print the merged config with a prefix on each line with the app where it's defined in.

View solution in original post

ziegfried
Influencer

Yes, the actual configuration stanza can be in any app in the etc/<app>/local/inputs.conf. It depends in which app context you were in when you created the input. For example, when you entered the Splunk Manager from the Search app, then the stanza will be stored in etc/apps/search/local/inputs.conf.

You can use a CLI command to quickly find out where the configuration is stored:

$ splunk cmd btool inputs list dbmon --debug

This will print the merged config with a prefix on each line with the app where it's defined in.

timrcase
Explorer

That explains it. Thanks!

0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...