All Apps and Add-ons

Automatic deactivation of DB inputs to lose the connection to the database - DB Connect V2

roberto_mendes
Explorer

Hello guys.

Recently that made the update Splunk App DB Connect V2 to version 2.2.0. App really has improved with each new update. However, we have identified in this latest version that whenever the instance of Splunk lost the connection to the database (Oracle), the DB inputs are automatically disabled. As our Splunk instance is in a different Data Center database instance, this connection loss may occur several times throughout the month.

After much analysis, we identified that as from version 2.1.2 was implemented the command "auto_disable = true" by default in inputs.conf. We managed to solve the problem by entering the command "auto_disable = false" the bottom of each stanza in the inputs.conf. Example:

[mi_input://your_db_input]
connection = oracle_system_dba
index = oracle
interval = 300
max_rows = 10000
mode = batch
output_timestamp_format = epoch
query = "your_query"
resource_pool = local
source = dbx
SourceType = oracle: lockSession
ui_query_catalog = NULL
ui_query_mode = advanced
ui_query_schema = undefined
ui_query_table = undefined
auto_disable = false

I would just leave it documented if anyone has experienced a similar problem after upgrading the DB Connect V2.

Regards,

Roberto Mendes.

jtrujillo
Path Finder

Sounds like you can set it globally by doing this:

[mi_input://default]
auto_disable = false
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...