All Apps and Add-ons

DB Connect inputs.conf related questions

yoyu777
Explorer

1) Where should I put the DB Connect inputs.conf? in the same inputs.conf that Splunk uses (in $SPLUNK_HOME/etc/system/local/)?

2) How can I configure the inputs.conf for a specific connection?

3) How can I find more detailed specifications of what each parameter mean for the DB Connect inputs.conf?
For example,
What does the "unique_key = " mean in "mi_output"

The problem we are trying to solve is that we have a database that is monitored by Splunk DB Connect based on a rising column "last_updated_time". Each row has a unique ID. But currently if the "last_updated_time" is changed, the old record with the same ID is not replaced in Splunk (so we are getting duplicated records for each ID). For the purpose of the analysis, we only want to analyse the latest record of each ID. I guess our use case is not uncommon, wonder what is the best way to achieve the purpose in Splunk?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If you use the DB Connect UI to configure inputs you don't have to worry about where the config file goes as the app will take care of that.

The full documentation for DB Connect's inputs.conf file is here.

DB Connect does not update data in Splunk. Once data has been indexed in Splunk it cannot be altered in any way. It is up to your search commands to filter out duplicate data (perhaps by using dedup uniqueID last_updated_time).

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

If you use the DB Connect UI to configure inputs you don't have to worry about where the config file goes as the app will take care of that.

The full documentation for DB Connect's inputs.conf file is here.

DB Connect does not update data in Splunk. Once data has been indexed in Splunk it cannot be altered in any way. It is up to your search commands to filter out duplicate data (perhaps by using dedup uniqueID last_updated_time).

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

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...