<?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: hide column where value = 0 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234836#M69748</link>
    <description>&lt;P&gt;It was what i was looking for ! &lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 08:43:02 GMT</pubDate>
    <dc:creator>BaptVe</dc:creator>
    <dc:date>2016-05-09T08:43:02Z</dc:date>
    <item>
      <title>hide column where value = 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234834#M69746</link>
      <description>&lt;P&gt;Hello everyone !&lt;/P&gt;

&lt;P&gt;I've two panels depending on time (timechart) :&lt;BR /&gt;
1) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=XXX sourcetype="XXXXX" Severity="*" |timechart count(Severity) span=6h
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the picture, this one is right : it only shows between the two times where there is values and hide if the last days where there is no value ! (there is nothing between now and the 4 may at 14:00)&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="Severity last 7 days "&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1323i7F0F750087DDFFB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Severity last 7 days " alt="Severity last 7 days " /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;2) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=XXX sourcetype="XXXXX" Severity="CRITICAL" |timechart count as CRIT span=6h
| appendcols [search
index=XXX sourcetype="XXXXX" Severity="FATAL" |timechart count as FATAL span=6h ]
| appendcols [search 
index=XXX sourcetype="XXXXX" Severity="WARNING" |timechart count as WARN span=6h ]
| table CRIT, FATAL, WARN, _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the second graph, it shows the values between now and the 4 may at 14:00 and marks them as 0. I want to hide these values (and make the graph auto resize like the previous one if possible) because these are not relevant and i want to keep the same time range for both graphs :&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="Severity by Values last 7 days"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1324i1725C42FE26EAD0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Severity by Values last 7 days" alt="Severity by Values last 7 days" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your help !&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 07:57:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234834#M69746</guid>
      <dc:creator>BaptVe</dc:creator>
      <dc:date>2016-05-09T07:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: hide column where value = 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234835#M69747</link>
      <description>&lt;P&gt;Why not condense the search?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=XXX sourcetype="XXXXX" (Severity="CRITICAL" OR Severity="WARNING" OR Severity="FATAL") |timechart span=6h count by Severity | rename WARNING AS WARN | rename CRITICAL AS CRIT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2016 08:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234835#M69747</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-05-09T08:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: hide column where value = 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234836#M69748</link>
      <description>&lt;P&gt;It was what i was looking for ! &lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 08:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/hide-column-where-value-0/m-p/234836#M69748</guid>
      <dc:creator>BaptVe</dc:creator>
      <dc:date>2016-05-09T08:43:02Z</dc:date>
    </item>
  </channel>
</rss>

