<?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: help to remove an empty line in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399816#M172973</link>
    <description>&lt;P&gt;Hi @jip31&lt;/P&gt;

&lt;P&gt;Try like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your query...
|search Value=* AND TotalSpace=*
| stats latest(Value) as Free_Space latest(TotalSpace) as TotalSpace by host 
 | sort +Free_Space limit=10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Feb 2019 10:42:39 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-02-18T10:42:39Z</dc:date>
    <item>
      <title>help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399815#M172972</link>
      <description>&lt;P&gt;hI&lt;/P&gt;

&lt;P&gt;I use the request below&lt;BR /&gt;
sometimes I have only value for Free_Space and sometimes only value for TotalSpace instead both&lt;BR /&gt;
I need a way to don't dispalay the result  (in table) if one of these 2 fields is NULL&lt;BR /&gt;
Could you help ME please??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(eventtype="TotalSpace" OR ( eventtype="DiskHealthSize" AND Value&amp;lt;15)) 
| eval time = strftime(_time, "%m/%d/%Y %H:%M") 
| eval Value = round(Value, 1). " %" 
| eval TotalSpace = TotalSpaceKB/1024 
| eval TotalSpace = round(TotalSpace/1024,1). " GB" 
| stats latest(Value) as Free_Space latest(TotalSpace) as TotalSpace by host 
| sort +Free_Space limit=10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 10:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399815#M172972</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-18T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399816#M172973</link>
      <description>&lt;P&gt;Hi @jip31&lt;/P&gt;

&lt;P&gt;Try like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your query...
|search Value=* AND TotalSpace=*
| stats latest(Value) as Free_Space latest(TotalSpace) as TotalSpace by host 
 | sort +Free_Space limit=10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Feb 2019 10:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399816#M172973</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-18T10:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399817#M172974</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
Thanks but i am not sure that * is the better day? I try with fillnull but i dont succeed&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 16:20:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399817#M172974</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-18T16:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399818#M172975</link>
      <description>&lt;P&gt;can you share your events ?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 16:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399818#M172975</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-18T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399819#M172976</link>
      <description>&lt;P&gt;Or try with &lt;CODE&gt;|where Value !="" AND TotalSpace !=""&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 17:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399819#M172976</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-18T17:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399820#M172977</link>
      <description>&lt;P&gt;or &lt;CODE&gt;|where isnotnull(Value )  AND isnotnull(TotalSpace )&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 17:07:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399820#M172977</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-18T17:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399821#M172978</link>
      <description>&lt;P&gt;@jip31 have you tried?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 14:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399821#M172978</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-19T14:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: help to remove an empty line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399822#M172979</link>
      <description>&lt;P&gt;yes many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-remove-an-empty-line/m-p/399822#M172979</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-19T15:29:51Z</dc:date>
    </item>
  </channel>
</rss>

