<?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: Manual additions to savedsearches.conf overwritten by web GUI in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42259#M9862</link>
    <description>&lt;P&gt;noahzstahl,&lt;/P&gt;

&lt;P&gt;I would think this is a bug.  We should not be overwriting the entire stanza.  As a workaround you can use the &lt;CODE&gt;inputlookup&lt;/CODE&gt; and &lt;CODE&gt;outputlookup&lt;/CODE&gt; search commands to generate the lookup file instead of savedsearches.conf settings.  This allows you to achieve everything via search syntax.  &lt;/P&gt;

&lt;P&gt;Example of a descructive output each time:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search = index=_internal | stats count by host, sourcetype | outputlookup my_lookup_table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To do a non-descructive lookup (useful when tracking stuff):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search = index=_internal | stats count by host, sourcetype | inputlookup append=T my_lookup_table | stats sum(count) as count by host, sourcetype | outputlookup my_lookup_table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;-David&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2011 22:46:06 GMT</pubDate>
    <dc:creator>hazekamp</dc:creator>
    <dc:date>2011-07-13T22:46:06Z</dc:date>
    <item>
      <title>Manual additions to savedsearches.conf overwritten by web GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42258#M9861</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;

&lt;P&gt;The scenario:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I create a saved search using Splunk web&lt;/LI&gt;
&lt;LI&gt;I want to use the search to populate a lookup table, so I add the relevant lines directly to the entry in savedsearches.conf (action.populate_lookup), and save. (These configurations can't be added through Manager, as far as I know)&lt;/LI&gt;
&lt;LI&gt;Later, I want to make a change to the saved search, and do so through the Manager within web GUI.  I click Save.&lt;/LI&gt;
&lt;LI&gt;I notice that the lookup population configuration lines in savedsearches.conf have been deleted, apparently due to the entire stanza being overwritten by Splunk web.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;The question:&lt;/P&gt;

&lt;P&gt;Is there any way to avoid this scenario, i.e. have Splunk web be non-destructive to the saved search stanzas?  Or could this be considered a bug?&lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;

&lt;P&gt;Noah&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2011 20:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42258#M9861</guid>
      <dc:creator>noahzstahl</dc:creator>
      <dc:date>2011-07-13T20:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Manual additions to savedsearches.conf overwritten by web GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42259#M9862</link>
      <description>&lt;P&gt;noahzstahl,&lt;/P&gt;

&lt;P&gt;I would think this is a bug.  We should not be overwriting the entire stanza.  As a workaround you can use the &lt;CODE&gt;inputlookup&lt;/CODE&gt; and &lt;CODE&gt;outputlookup&lt;/CODE&gt; search commands to generate the lookup file instead of savedsearches.conf settings.  This allows you to achieve everything via search syntax.  &lt;/P&gt;

&lt;P&gt;Example of a descructive output each time:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search = index=_internal | stats count by host, sourcetype | outputlookup my_lookup_table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To do a non-descructive lookup (useful when tracking stuff):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search = index=_internal | stats count by host, sourcetype | inputlookup append=T my_lookup_table | stats sum(count) as count by host, sourcetype | outputlookup my_lookup_table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;-David&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2011 22:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42259#M9862</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-07-13T22:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Manual additions to savedsearches.conf overwritten by web GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42260#M9863</link>
      <description>&lt;P&gt;Thanks David.  I like the idea of including everything in the search string.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2011 14:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Manual-additions-to-savedsearches-conf-overwritten-by-web-GUI/m-p/42260#M9863</guid>
      <dc:creator>noahzstahl</dc:creator>
      <dc:date>2011-08-23T14:31:20Z</dc:date>
    </item>
  </channel>
</rss>

