Refine your search:

I'd like to see a search that will show me who is logged in currently. Anyone know how to do this?

asked 09 Jul '10, 20:24

matt's gravatar image

matt ♦♦
3.1k2427
accept rate: 82%


2 Answers:

As far as using a search to do it, the simplest way is to search for this over something like the last 5 minutes or 30 minutes:

index=_audit | timechart count by user

the audit log ultimately will show users searching, logging-in, and doing things in manager.
(to see these categories themselves search for index=_audit | timechart count by action )

and to get to the harder bottom line of who has active authTokens, the rest endpoint Simeon mentioned gives the only concrete answer as far as I know --

https://splunk-server:8089/services/admin/httpauth-tokens

link

answered 11 Jul '10, 22:26

nick's gravatar image

nick ♦
14.2k1318
accept rate: 46%

Per another thread:

You can check the HTTP auth tokens endpoint to see the session keys that are valid and can be used to access splunkd.

https://splunk-server:8089/services/admin/httpauth-tokens

http://answers.splunk.com/questions/3768/how-do-you-find-out-who-is-logged-onto-splunk-right-now

link

answered 09 Jul '10, 20:33

Simeon's gravatar image

Simeon ♦
3.7k5628
accept rate: 26%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×210
×59
×25

Asked: 09 Jul '10, 20:24

Seen: 303 times

Last updated: 11 Jul '10, 22:26

Copyright © 2005-2012 Splunk, Inc. All rights reserved.