<?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 search for who and when accessed the server? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357168#M105663</link>
    <description>&lt;P&gt;marked code.  Also, in general, you should always put the index name in your code.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 13:52:15 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-08-10T13:52:15Z</dc:date>
    <item>
      <title>How to search for who and when accessed the server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357165#M105660</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;

&lt;P&gt;I would like to search who (user) and when accessed the server (server_name)&lt;/P&gt;

&lt;P&gt;I make a search like this but I don't get the right results.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dest="server_name" user="*" src="*" | table _time user src dest action
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can please somebody help me.&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 10:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357165#M105660</guid>
      <dc:creator>5er</dc:creator>
      <dc:date>2017-08-10T10:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for who and when accessed the server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357166#M105661</link>
      <description>&lt;P&gt;What results are you getting and what do you expect to get?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 12:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357166#M105661</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-10T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for who and when accessed the server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357167#M105662</link>
      <description>&lt;P&gt;I get:&lt;/P&gt;

&lt;P&gt;_time                           user        src                        dest            action&lt;BR /&gt;
2017-08-09 14:36:04 n/a      server-02                   server-01  blocked&lt;BR /&gt;
2017-08-09 11:41:09 n/a      server-02                   server-01  blocked&lt;BR /&gt;
2017-08-09 09:55:21 n/a      server-02                   server-01  blocked&lt;/P&gt;

&lt;P&gt;I'm supposed to get the users(usernames) who connect to server-01 (destination).&lt;BR /&gt;
Am I missing something?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 13:04:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357167#M105662</guid>
      <dc:creator>5er</dc:creator>
      <dc:date>2017-08-10T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for who and when accessed the server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357168#M105663</link>
      <description>&lt;P&gt;marked code.  Also, in general, you should always put the index name in your code.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 13:52:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357168#M105663</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-10T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for who and when accessed the server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357169#M105664</link>
      <description>&lt;P&gt;This depend on whether the server is Windows, unix, or something else.&lt;/P&gt;

&lt;P&gt;To research this, use your own userid and the name of a server that you normally log on to, run a verbose search like this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* "myserver" "myuserid"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Look at the results you get for the data and time you last logged on.  &lt;/P&gt;

&lt;P&gt;If it's Windows, you will be looking at an event 4624 (or some older ones in the 500 series).&lt;/P&gt;

&lt;P&gt;If it's Unix, you will probably be looking at a PAM accepted record or something similar.  &lt;/P&gt;

&lt;P&gt;If it's an IBM mainframe, it will be a RACF record.  &lt;/P&gt;

&lt;P&gt;Look at the fields that are available on that record.  Maybe you've misspelled them, or mis-capitalized them, or something.  Maybe they just aren't there.&lt;/P&gt;

&lt;P&gt;If that isn't enough to solve your problem, then update your question details showing the form of the record, with any confidential information masked.  Change ip to 1.2.3.4 or 5.6.7.8, host name to myhost.mycompany.com, userid to myuserid... stuff like that. &lt;/P&gt;

&lt;P&gt;We'll get you through this.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 15:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-who-and-when-accessed-the-server/m-p/357169#M105664</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-10T15:19:18Z</dc:date>
    </item>
  </channel>
</rss>

