Splunk Search

In a search head cluster, how do I search users that have logged in the last 30 minutes, on what cluster member, and what kind of searches they are running?

ronak
Path Finder

What setup is required and what will be the search so that I can find out,

  1. Who all have logged in to the system in the last 30 minutes
  2. what kind of searches they are running
  3. which search head (I've three in my cluster) these users were connected/logged in to

thanks, ronak

0 Karma

GDustin
Path Finder

splunk_webaccess -> splunk_ui_access

logged in users
index=_internal sourcetype=splunkd_ui_access | dedup host user | table host user _time req_time
logged in users rolling time

index=_internal sourcetype=splunkd_ui_access | table host user _time req_time

sk314
Builder

If you have an indexer cluster -> You should have all this info in the Distributed Management Console on the Cluster Master.

0 Karma

GDustin
Path Finder

where it that in DMC?

0 Karma

pradeepkumarg
Influencer

Start here

For users logged in, and search head they are in


index=_internal sourcetype=splunk_webaccess | dedup host USER | table host USER

For the searches issued..


index=_internal sourcetype=splunkd_remote_searches

Cross check the sourcetypes for the exact naming..

0 Karma

mendesjo
Path Finder

sourcetype of splunk_webaccess at least in 6.3.3 version isn't available..

0 Karma

GDustin
Path Finder

verified 6.5.3
index=_internal sourcetype=splunkd_ui_access | dedup host user | table host user _time req_time

0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...