| splunk [searches]
| rest splunk_server = local / servicesNS/ - / splunk_app_db_connect/ configs/ conf- identities
| rename title as user_title
| map [ | rest splunk_server = local / servicesNS/ - / splunk_app_db_connect/ configs/ conf- db_connections | search disabled = 0 AND identity = "$user_title$" | eval username = "$username$" , domain_name = "$domain_name$" ]
| table title connection_type database host identity username domain_name
| rest splunk_server = local / servicesNS/ - / splunk_app_db_connect/ configs/ conf- identities
| rest splunk_server = local / servicesNS/ - / splunk_app_db_connect/ configs/ conf- db_connections
| tstats count where index = * by _time, _indextime, sourcetype | rename _* as * | eval diff_secs = indextime- time, diff_hours = diff_secs/ 60 / 60 | stats max ( diff_secs) as diff_secs, max ( diff_hours) as diff_hours by sourcetype
| tstats count where index = * by _time, _indextime, index | rename _* as * | eval diff_secs = indextime- time, diff_hours = diff_secs/ 60 / 60 | stats max ( diff_secs) as diff_secs, max ( diff_hours) as diff_hours by index
index = _internal sourcetype = splunk_python sendemail ERROR
index = _introspection component = Hostwide | bin _time span = 1d | stats values ( data.splunk_version) by _time, host
index = _audit action = search search = * user!= splunk- system- user provenance!= scheduler | table _time user search host total_run_time result_count | sort - _time
| rest splunk_server = local / services/ deployment/ server/ serverclasses | table title whitelist* blacklist*
| rest splunk_server = local / services/ deployment/ server/ clients | eval now = now ( ) , diffTime = now- lastPhoneHomeTime, lastPhoneHomeTime = strftime ( lastPhoneHomeTime, "%b %d, %Y %H:%M:%S" ) | search diffTime> 86400 | table hostname ip instanceName utsname package splunkVersion lastPhoneHomeTime