<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205998#M12931</link>
    <description>&lt;P&gt;You are going to be looking at multiple Windows events to handle this.  There is also an issue in Windows that if someone disconnects and doesn't logout.  Below is a great resource on the Window Events around login/logout.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.ultimatewindowssecurity.com/wiki/WindowsSecuritySettings/64"&gt;https://www.ultimatewindowssecurity.com/wiki/WindowsSecuritySettings/64&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 14:36:31 GMT</pubDate>
    <dc:creator>treinke</dc:creator>
    <dc:date>2016-11-04T14:36:31Z</dc:date>
    <item>
      <title>How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205994#M12927</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;

&lt;P&gt;I want a list of currently logged in users of a specific server.&lt;BR /&gt;
And when that person loggs off, I want him to be removed off that list.&lt;BR /&gt;
So basically a real time dashboard with logged in people on a server.&lt;BR /&gt;
Is this possible?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 09:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205994#M12927</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-11-04T09:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205995#M12928</link>
      <description>&lt;P&gt;Windows or Linux?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 13:27:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205995#M12928</guid>
      <dc:creator>treinke</dc:creator>
      <dc:date>2016-11-04T13:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205996#M12929</link>
      <description>&lt;P&gt;windows server &lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 13:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205996#M12929</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-11-04T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205997#M12930</link>
      <description>&lt;P&gt;Not knowing exact what your data looks like, I can only give a generic answer.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo (event=LOGIN OR event=LOGOUT) server=bar earliest=-8h| dedup username| where event=LOGIN | rename _time as "Login time" | table username "Login time"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This collects all login and logout events for the last eight hours.  The &lt;CODE&gt;dedup&lt;/CODE&gt; command keeps only the most recent event for each user (either LOGIN or LOGOUT) and the &lt;CODE&gt;where&lt;/CODE&gt; command throws away the LOGOUT events so all that's left is log in events.  You'll need to set the field names and values to match your world, of course.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 14:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205997#M12930</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-11-04T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205998#M12931</link>
      <description>&lt;P&gt;You are going to be looking at multiple Windows events to handle this.  There is also an issue in Windows that if someone disconnects and doesn't logout.  Below is a great resource on the Window Events around login/logout.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.ultimatewindowssecurity.com/wiki/WindowsSecuritySettings/64"&gt;https://www.ultimatewindowssecurity.com/wiki/WindowsSecuritySettings/64&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 14:36:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205998#M12931</guid>
      <dc:creator>treinke</dc:creator>
      <dc:date>2016-11-04T14:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205999#M12932</link>
      <description>&lt;P&gt;Hi  nickbijmoer,&lt;BR /&gt;
using Windows isn't so easy find the current logged in users (Linux is easier!)!&lt;BR /&gt;
Every way I solved the problem with a little script running on the forwarders:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;@echo off
REM --------------------------------------
REM Controllo delle sessioni utente attive
REM --------------------------------------

REM Get event date and time
set date_time=%date% %time%

REM Print the event date and time, this will be the event timestamp
echo Current time: %date_time%

REM print the current user session
query user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This script, is sited in the bin directory of a Technology Add-On distributed on all the Windows machines and sends to Splunk (via Forwarder) an event with timestamp and some information about the current logged users (username, sessionname, id, status, lastaccess).&lt;BR /&gt;
I run this script every 5 minutes.&lt;BR /&gt;
If you have old machines (like XP) this script doesn't run and you have to use a different command (&lt;CODE&gt;qwinsta&lt;/CODE&gt;) in your script.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2016 07:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/205999#M12932</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-11-05T07:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/206000#M12933</link>
      <description>&lt;P&gt;Cool, thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; How can I make this real-time?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 10:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/206000#M12933</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-11-07T10:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/206001#M12934</link>
      <description>&lt;P&gt;You don't want to do that.  Real-time searches waste resources.  Scheduling the search to run every 5 minutes should be sufficient.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 12:37:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/206001#M12934</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-11-07T12:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a real-time dashboard that shows a list of currently logged in users on a server?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/206002#M12935</link>
      <description>&lt;P&gt;Ahh yeah thats right! thanks for the tip! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 12:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-real-time-dashboard-that-shows-a-list-of/m-p/206002#M12935</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-11-07T12:39:05Z</dc:date>
    </item>
  </channel>
</rss>

