<?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: Why does saved search get corrupted in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50013#M1066</link>
    <description>&lt;P&gt;thanks - I'll try an upgrade and see if its fixed.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2010 20:46:36 GMT</pubDate>
    <dc:creator>andiih</dc:creator>
    <dc:date>2010-09-20T20:46:36Z</dc:date>
    <item>
      <title>Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50006#M1059</link>
      <description>&lt;P&gt;If I save the following search as mysearch (sources and rule numbers changed to protect the innocent)&lt;/P&gt;

&lt;P&gt;((sourcetype="fred" AND (rule_number="1" OR rule_number="2" OR rule_number="3")) OR (severity&amp;gt;10 AND rule_number!="4"))&lt;/P&gt;

&lt;P&gt;then try to run it from searches &amp;amp; reports / mysearch&lt;/P&gt;

&lt;P&gt;I get the following back...&lt;/P&gt;

&lt;P&gt;(severity&amp;gt;10 ((sourcetype="fred" AND (rule_number="1" OR rule_number="2" OR rule_number="3")) OR AND rule_number!="4"))&lt;/P&gt;

&lt;P&gt;which has been refactored to gibberish. What's going on? How can I write that search so it doesn't get broken ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 21:49:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50006#M1059</guid>
      <dc:creator>andiih</dc:creator>
      <dc:date>2010-09-14T21:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50007#M1060</link>
      <description>&lt;P&gt;Weird... I can't seem to reproduce that. What version of Splunk are you running? When you say "refactored to gibberish", are you referring to the "re-structuring" of the query that you show? Or is it garbled/unreadable?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 22:10:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50007#M1060</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2010-09-14T22:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50008#M1061</link>
      <description>&lt;P&gt;I'm refering to the second query I get back, with the bad restructuring, resulting in severity&amp;gt;10 being moved to the beginning, brackets being moved around and "OR AND" towards the end.&lt;/P&gt;

&lt;P&gt;I'm running 4.1.2, build 79191 on Windows.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 22:15:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50008#M1061</guid>
      <dc:creator>andiih</dc:creator>
      <dc:date>2010-09-14T22:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50009#M1062</link>
      <description>&lt;P&gt;Branden, what version of splunk are you running where this kind of query works ?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 17:20:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50009#M1062</guid>
      <dc:creator>andiih</dc:creator>
      <dc:date>2010-09-16T17:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50010#M1063</link>
      <description>&lt;P&gt;I am having a similar issue.  4.1 build 77833, Linux (my forwarders [from Solaris] are newer, if that matters any).&lt;/P&gt;

&lt;P&gt;Saved Search--&amp;gt; &lt;/P&gt;

&lt;P&gt;Mon_Func="proc" Mon_CPU_Perc&amp;gt;0 | transaction fields="Mon_Proc_Pid" maxspan=12h | search linecount &amp;gt; 1&lt;/P&gt;

&lt;P&gt;Called up in the dropdown, it looks like this--&amp;gt;&lt;/P&gt;

&lt;P&gt;Mon_Func="proc" | transaction fields="Mon_Proc_Pid" maxspan=12h | search linecount &amp;gt; 1 Mon_CPU_Perc&amp;gt;0&lt;/P&gt;

&lt;P&gt;The second half of the initial search gets moved to the end, which generates a totally different result.  I've confirmed in the conf files that the saved search is the 'correct' one.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 17:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50010#M1063</guid>
      <dc:creator>tskimball</dc:creator>
      <dc:date>2010-09-16T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50011#M1064</link>
      <description>&lt;P&gt;I just upgraded to 4.1.5, but I believe I was at 4.1.4 when I tested your query.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 19:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50011#M1064</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2010-09-16T19:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50012#M1065</link>
      <description>&lt;P&gt;have you found any way around it yet ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 20:45:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50012#M1065</guid>
      <dc:creator>andiih</dc:creator>
      <dc:date>2010-09-20T20:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50013#M1066</link>
      <description>&lt;P&gt;thanks - I'll try an upgrade and see if its fixed.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 20:46:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50013#M1066</guid>
      <dc:creator>andiih</dc:creator>
      <dc:date>2010-09-20T20:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50014#M1067</link>
      <description>&lt;P&gt;The simple test for search decomposition problems (what this looks like) is to enter the search in the summary view, and see what it looks like in the flashtimeline view. &lt;/P&gt;

&lt;P&gt;Search decomposition is going away forever in 4.2, but in 4.1.5 you could try, in web.conf in your app (or globally in system/local)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
disabled_decomposers = addtermgt
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Sep 2010 07:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50014#M1067</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-09-21T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does saved search get corrupted</title>
      <link>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50015#M1068</link>
      <description>&lt;P&gt;For mine, the search entry for Mon_CPU_Perc needed to be changed as a &amp;gt;= format, instead of plain "&amp;gt;".&lt;/P&gt;

&lt;P&gt;So change your severity comparison to be a &amp;gt;= format and see what happens.&lt;/P&gt;

&lt;P&gt;The reason for this oddness is due to what jrodman has mentioned below, and I'm looking forward to 4.2 due to this.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:18:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-does-saved-search-get-corrupted/m-p/50015#M1068</guid>
      <dc:creator>tskimball</dc:creator>
      <dc:date>2020-09-28T09:18:01Z</dc:date>
    </item>
  </channel>
</rss>

