<?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 can I create a table showing successful logins on a server? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135204#M36978</link>
    <description>&lt;P&gt;We aren't assuming IIS - We KNOW Windows, it was in the problem description. Be careful using dedup - the search head must pull all matching events forward first, deduplicate (assuming you have the correct time order of events) and then table. &lt;/P&gt;</description>
    <pubDate>Mon, 22 Sep 2014 16:34:58 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2014-09-22T16:34:58Z</dc:date>
    <item>
      <title>How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135197#M36971</link>
      <description>&lt;P&gt;How do I create a table that lists which user logged in to the windows server and the time that they successfully logged in?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 14:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135197#M36971</guid>
      <dc:creator>mcoleman2</dc:creator>
      <dc:date>2014-09-22T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135198#M36972</link>
      <description>&lt;P&gt;Depends on your source data - but here may be an example.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=&amp;lt;your_server&amp;gt; EventCode=4624 | stats latest(login_time) by user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will most likely need to change the field names to match your data.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 15:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135198#M36972</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-09-22T15:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135199#M36973</link>
      <description>&lt;P&gt;In its simplest form, assuming you're searching an IIS log, use something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=IIS sourcetype=IIS sc_status=200 cs_username!="-" | table date, time, cs_username
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you only want the first entry for each user use this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=IIS sourcetype=IIS sc_status=200 cs_username!="-" | dedup cs_username | table date, time, cs_username
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Of course your index and sourcetype may vary but you should get the idea&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:14:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135199#M36973</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2014-09-22T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135200#M36974</link>
      <description>&lt;P&gt;To more exactly get a search that is useful - we need your Windows Server version.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:25:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135200#M36974</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-09-22T16:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135201#M36975</link>
      <description>&lt;P&gt;host= source="WinEventLog:Security" | table _time User&lt;/P&gt;

&lt;P&gt;The above code worked well for what I wanted. Thank you both!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135201#M36975</guid>
      <dc:creator>mcoleman2</dc:creator>
      <dc:date>2014-09-22T16:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135202#M36976</link>
      <description>&lt;P&gt;Windows Server 2003&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135202#M36976</guid>
      <dc:creator>mcoleman2</dc:creator>
      <dc:date>2014-09-22T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135203#M36977</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;sourcetype=WineventLog:Security EventCode=528 | stats latest(_time) as "Logged In" by user host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:33:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135203#M36977</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-09-22T16:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a table showing successful logins on a server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135204#M36978</link>
      <description>&lt;P&gt;We aren't assuming IIS - We KNOW Windows, it was in the problem description. Be careful using dedup - the search head must pull all matching events forward first, deduplicate (assuming you have the correct time order of events) and then table. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-table-showing-successful-logins-on-a-server/m-p/135204#M36978</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-09-22T16:34:58Z</dc:date>
    </item>
  </channel>
</rss>

