All Apps and Add-ons

How to get state of Splunk DB Connect App input?

Muryoutaisuu
Communicator

Hi guys

Recently we updated the DB Connect App from 2.2.4 to 3.1.0.
In the old version we used to alert disabled inputs via REST with this search:

|rest splunk_server=local /servicesNS/-/-/configs/inputs
|rename eai:acl.app as app
|search app="splunk_app_db_connect" title="mi_input://*"
|table title,connection,disabled,updated
|where disabled=1

Unfortunately it no longer works. The query

|rest splunk_server=local /servicesNS/-/-/configs/inputs |rename eai:acl.app as app | search app="splunk_app_db_connect"

returns only 2 lines, but I expect it to return our ~70 input definitions.

Does anyone know of another query?

Thanks in advance and kind regards
- Muryoutaisuu

1 Solution

corey_dick
Path Finder

I believe that you are looking for the following:

| rest splunk_server=local /servicesNS/-/-/configs/conf-db_inputs/

I had been searching for this as well and found a post about DB Connect connections that got me thinking in the right direction to figure this out.

View solution in original post

corey_dick
Path Finder

I believe that you are looking for the following:

| rest splunk_server=local /servicesNS/-/-/configs/conf-db_inputs/

I had been searching for this as well and found a post about DB Connect connections that got me thinking in the right direction to figure this out.

Muryoutaisuu
Communicator

Yes, that was absolutetly what I was searching for.
In the meantime I contacted the support and it's no longer necessary, to monitor for automatically disabled inputs, as they won't be automatically disabled anymore.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...