Getting Data In

how to list metadata from dbconnect inputs?

3DGjos
Communicator

Hello,

I have to survey our client's dbx inputs, with their metadata (index, sourcetype) but the command:

| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/inputs

is not giving me the inputs at all. Can you please help me to make the query? I need the input name, with the respective connection and metadata, for all inputs.

Thanks!

Tags (4)
0 Karma

ArchieCrozier
Path Finder

@hiteshdholakiya , That is exactly what I needed.  Karma added.  Wish this was marked a the solution.  Worked perfect for what I needed.  THANK YOU!!

0 Karma

hiteshdholakiya
Explorer

Hello @3DGjos 

Try the following:

For listing out all inputs on dbconnect v3:

 

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

 

 

For listing out all connections on dbconnect v3:

 

| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/

 

 

For listing out all identities on dbconnect v3:

 

| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-identities/

 

 

isoutamo
SplunkTrust
SplunkTrust

When DBX is installed also on SH layer there are monitoring part which is showing  status information of whole environment (including inputs on HFs when all nodes sent internal logs to the IDX layer).

0 Karma

arrangineni
Path Finder

3DGjos

By any chance you got the REST command working for DB Connect inputs.. I am trying to find similar information but nothing working at this point.

0 Karma

hiteshdholakiya
Explorer

Hello @arrangineni 

Try the following:

For listing out all inputs on dbconnect v3:

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

 

For listing out all connections on dbconnect v3:

| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/

 

For listing out all identities on dbconnect v3:

| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-identities/

 

Tags (1)
0 Karma

arrangineni
Path Finder

@hiteshdholakiya . Thanks this is exactly what I am looking for.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...