<?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: _audit - see users behavior - users searches by sourcetypes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256980#M176433</link>
    <description>&lt;P&gt;this gives the Sourcetypes and indexes and usernames.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* sourcetype=audittrail  search=* search_id=* NOT (user=splunk-system-user ) | rex field=search "sourcetype\s*=\s*\"*(?&amp;lt;SourcetypeUsed&amp;gt;[^\s\"]+)"  | rex field=search "index\s*=\s*\"*(?&amp;lt;IndexUsed&amp;gt;[^\s\"]+)" | table _time user search SourcetypeUsed IndexUsed
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 17 Oct 2016 08:45:21 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2016-10-17T08:45:21Z</dc:date>
    <item>
      <title>_audit - see users behavior - users searches by sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256979#M176432</link>
      <description>&lt;P&gt;Hi guys, &lt;BR /&gt;
hope you can help me. &lt;BR /&gt;
I want to have a statistic of my users. The most of the users access the search&amp;amp;reporting app and not a specific app. So, I want to have a report about the sourcetypes they are looking for. Example: &lt;BR /&gt;
user XY searched sourcetype ZZ 4 times per day&lt;/P&gt;

&lt;P&gt;thanks for your help. &lt;BR /&gt;
Cheers, Lisi&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 07:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256979#M176432</guid>
      <dc:creator>egreibl</dc:creator>
      <dc:date>2016-10-17T07:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: _audit - see users behavior - users searches by sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256980#M176433</link>
      <description>&lt;P&gt;this gives the Sourcetypes and indexes and usernames.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* sourcetype=audittrail  search=* search_id=* NOT (user=splunk-system-user ) | rex field=search "sourcetype\s*=\s*\"*(?&amp;lt;SourcetypeUsed&amp;gt;[^\s\"]+)"  | rex field=search "index\s*=\s*\"*(?&amp;lt;IndexUsed&amp;gt;[^\s\"]+)" | table _time user search SourcetypeUsed IndexUsed
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Oct 2016 08:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256980#M176433</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-10-17T08:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: _audit - see users behavior - users searches by sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256981#M176434</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;thanks for your answer. &lt;BR /&gt;
But what I am looking also for users who only search e.g. "ip X.X.X." so, they do not enter explicit the sourcetype. Maybe it is possible to search by the roles? because then I can identify between the different accessrights and therefore which sources where searched how often. &lt;/P&gt;

&lt;P&gt;to search for the field "role" it's not possible. do you know the field for "Roles"?&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 08:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256981#M176434</guid>
      <dc:creator>egreibl</dc:creator>
      <dc:date>2016-10-17T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: _audit - see users behavior - users searches by sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256982#M176435</link>
      <description>&lt;P&gt;"role" is not available. &lt;BR /&gt;
---- &lt;EM&gt;But what I am looking also for users who only search e.g. "ip X.X.X." so, they do not enter explicit the sourcetype&lt;/EM&gt;  ---- &lt;BR /&gt;
are you looking for users who search without explicit sourcetype?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 09:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256982#M176435</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-10-17T09:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: _audit - see users behavior - users searches by sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256983#M176436</link>
      <description>&lt;P&gt;Unfortunately reporting on implicit sourcetypes or indexes is not possible, unless there is new auditing added in 6.5. The answer given by inventsekar is as close as you will come.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 10:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/audit-see-users-behavior-users-searches-by-sourcetypes/m-p/256983#M176436</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2016-10-17T10:04:11Z</dc:date>
    </item>
  </channel>
</rss>

