Splunk search for Details on Active Database Connected (DBX) Connections
Copy
| rest splunk_server=local /servicesNS/-/splunk_app_db_connect/configs/conf-db_connections | search [ | rest splunk_server=local /servicesNS/-/splunk_app_db_connect/configs/conf-db_inputs | search disabled=0 | stats count by connection | fields - count | rename connection as title | format ] | table title connection_type database host identity port
This search will return information on Database Connect (DBX) connections that are actively being used in a Database Connect (DBX) input. Search will return the connection title, connection type, database name, host, identity being used, and port being used.