<?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: Find user saved searches in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44807#M10582</link>
    <description>&lt;P&gt;Checking the index=_audit gives the recently used. However what about those searches that are never executed.Need a list of all the searches the user has created.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2011 21:37:04 GMT</pubDate>
    <dc:creator>sanju005ind</dc:creator>
    <dc:date>2011-02-15T21:37:04Z</dc:date>
    <item>
      <title>Find user saved searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44806#M10581</link>
      <description>&lt;P&gt;Given a splunk username how do i search for the following.&lt;/P&gt;

&lt;P&gt;The roles that the user has 
- The last 15 searches performed 
- Any saved searches &lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 18:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44806#M10581</guid>
      <dc:creator>sanju005ind</dc:creator>
      <dc:date>2011-02-15T18:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Find user saved searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44807#M10582</link>
      <description>&lt;P&gt;Checking the index=_audit gives the recently used. However what about those searches that are never executed.Need a list of all the searches the user has created.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:37:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44807#M10582</guid>
      <dc:creator>sanju005ind</dc:creator>
      <dc:date>2011-02-15T21:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Find user saved searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44808#M10583</link>
      <description>&lt;P&gt;Sorry Saved searches created.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:43:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44808#M10583</guid>
      <dc:creator>sanju005ind</dc:creator>
      <dc:date>2011-02-15T21:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Find user saved searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44809#M10584</link>
      <description>&lt;P&gt;Splunk doesn't normally index user role data.  &lt;CODE&gt;$SPLUNK_HOME/etc/passwd&lt;/CODE&gt; describes the local Splunk users, but where external authentication is used (i.e. AD, LDAP, RADIUS), you would use a scripted input to index role data, or you would use an external lookup.&lt;/P&gt;

&lt;P&gt;As for enumerating all saved searches for a user, these files aren't normally indexed either.  &lt;STRONG&gt;savedsearches.conf&lt;/STRONG&gt; can be found in a number of places, like &lt;CODE&gt;$SPLUNK_HOME/etc/system/[local|default&lt;/CODE&gt;], &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;app&amp;gt;/[local|default]&lt;/CODE&gt;, and &lt;CODE&gt;$SPLUNK_HOME/etc/users/&amp;lt;user&amp;gt;/app/local/savedsearches.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You could extrapolate that a user is creating a saved search, using the data in index=_audit.&lt;/P&gt;

&lt;P&gt;Without any additional work, you can see very clearly what searches and saved searches are being run:&lt;/P&gt;

&lt;P&gt;Saved Searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" sourcetype="scheduler"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Manual Searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" sourcetype="searches"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;HTH,&lt;BR /&gt;
ron&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2011 01:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-user-saved-searches/m-p/44809#M10584</guid>
      <dc:creator>Ron_Naken</dc:creator>
      <dc:date>2011-02-16T01:19:44Z</dc:date>
    </item>
  </channel>
</rss>

