<?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: Does splunk capture information for configuration changes in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14627#M4544</link>
    <description>&lt;P&gt;Check the &lt;CODE&gt;_audit&lt;/CODE&gt; index.  I'm not sure what the event will look like exactly, but I would start with a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just to be clear, splunk audits changes that are made from the UI or CLI, but not changes made directly to the config files themselves.  Splunk does create &lt;CODE&gt;fschange&lt;/CODE&gt; events for &lt;CODE&gt;$SPLUNK_HOME/etc&lt;/CODE&gt; file changes, but they would no idea what stanza as changed or who is responsible for the change.  The content of these files does not get stored, only the fact that the file was changed.&lt;/P&gt;

&lt;P&gt;Someone else may be able to fill in some details here, but this should get you started.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2010 02:07:34 GMT</pubDate>
    <dc:creator>Lowell</dc:creator>
    <dc:date>2010-06-02T02:07:34Z</dc:date>
    <item>
      <title>Does splunk capture information for configuration changes</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14626#M4543</link>
      <description>&lt;P&gt;is there a way to track configuration changes to splunk - either via splunkweb or command line?
The idea is: Lets say i have a saved search.
Lets say i login one day and my saved search has been deleted.
Is there a way i can find out when it happened, and who (user) deleted it?&lt;/P&gt;

&lt;P&gt;This applies to similar situations such as: Who added/deleted a monitor stanza, sourcetypes, etc.. basically is there a way to monitor configuration changes of splunk config files?&lt;/P&gt;

&lt;P&gt;tia&lt;/P&gt;

&lt;P&gt;.gz&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 01:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14626#M4543</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-06-02T01:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Does splunk capture information for configuration changes</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14627#M4544</link>
      <description>&lt;P&gt;Check the &lt;CODE&gt;_audit&lt;/CODE&gt; index.  I'm not sure what the event will look like exactly, but I would start with a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just to be clear, splunk audits changes that are made from the UI or CLI, but not changes made directly to the config files themselves.  Splunk does create &lt;CODE&gt;fschange&lt;/CODE&gt; events for &lt;CODE&gt;$SPLUNK_HOME/etc&lt;/CODE&gt; file changes, but they would no idea what stanza as changed or who is responsible for the change.  The content of these files does not get stored, only the fact that the file was changed.&lt;/P&gt;

&lt;P&gt;Someone else may be able to fill in some details here, but this should get you started.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 02:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14627#M4544</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-02T02:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does splunk capture information for configuration changes</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14628#M4545</link>
      <description>&lt;P&gt;Actually a better way would be to search for the following:&lt;/P&gt;

&lt;P&gt;index="_internal" source="*splunkd_access.log" delete&lt;/P&gt;

&lt;P&gt;This, for example will give me a quite nice overview of events:&lt;/P&gt;

&lt;P&gt;127.0.0.1 - bubugu [01/Jun/2010:13:45:29.225] "DELETE /servicesNS/bubugu/search/saved/searches/testa HTTP/1.1" 200 2014 - - - 213ms&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* host=beefysup01   Options|  
* sourcetype=splunkd_access   Options|  
* source=/splunk/var/log/splunk/splunkd_access.log   Options
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Basically, this was a test i tried to see how i could find out deleted saved searches, and i see that the test user "bubugu" was the one who deleted the saved search "testa".&lt;/P&gt;

&lt;P&gt;Note, in answers.splunk there is a similar topic, 
&lt;A href="http://answers.splunk.com/questions/2286/search-for-deleted-splunk-users" rel="nofollow"&gt;http://answers.splunk.com/questions/2286/search-for-deleted-splunk-users&lt;/A&gt;
which shows how to find out deleted users.&lt;/P&gt;

&lt;P&gt;Both use similar searching syntax.
So, to answer my own question the search query needed will be something to the order of:&lt;/P&gt;

&lt;P&gt;index="_internal" source="*splunkd_access.log" xxx &amp;lt;- add here more searching terms..&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 04:32:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14628#M4545</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-06-02T04:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does splunk capture information for configuration changes</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14629#M4546</link>
      <description>&lt;P&gt;Good find.  Keep in mind that &lt;CODE&gt;_index&lt;/CODE&gt; rotates faster than &lt;CODE&gt;_audit&lt;/CODE&gt; with the default index setup.  One thing that gets tricky with either approach is that your own searches start showing up in your query as your refining it.  (Because the text of your searches gets logged and then indexed too.)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 05:32:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14629#M4546</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-02T05:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Does splunk capture information for configuration changes</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14630#M4547</link>
      <description>&lt;P&gt;Yeap, i found that the hard way.&lt;BR /&gt;
The first time i ran the search there was only one or two events, soon after the search run there were dozens..&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 07:05:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14630#M4547</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-06-02T07:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Does splunk capture information for configuration changes</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14631#M4548</link>
      <description>&lt;P&gt;This search query should get rid of the issue Lowell mentiones in his comment.&lt;/P&gt;

&lt;P&gt;index="_internal" sourcetype="splunkd_access" /servicesNS/*/saved/searches method="DELETE"&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2010 04:03:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Does-splunk-capture-information-for-configuration-changes/m-p/14631#M4548</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-06-08T04:03:46Z</dc:date>
    </item>
  </channel>
</rss>

