<?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: How to remove null values from chart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290993#M43204</link>
    <description>&lt;P&gt;&lt;IMG src="https://s24.postimg.org/68rfm7u05/search_result2.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I've tried with eventstats, but I still see rows with null values.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 15:45:05 GMT</pubDate>
    <dc:creator>stefan1988</dc:creator>
    <dc:date>2017-02-08T15:45:05Z</dc:date>
    <item>
      <title>How to remove null values from chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290991#M43202</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;How could I exclude rows where one out of two domains is showing a null value?&lt;/P&gt;

&lt;P&gt;My search is:&lt;BR /&gt;
  | chart avg(time_taken) over uri by domainname &lt;/P&gt;

&lt;P&gt;For example I get the following result&lt;/P&gt;

&lt;P&gt;Uri       |   DomainA           |        DomainB&lt;/P&gt;

&lt;P&gt;uri1                1.1                        1.2&lt;BR /&gt;
uri2                 2.1&lt;BR /&gt;
uri3                1.8                        0.4&lt;/P&gt;

&lt;P&gt;uri2 is having one null value. I would like to exclude the row for uri2.&lt;/P&gt;

&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:54:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290991#M43202</guid>
      <dc:creator>stefan1988</dc:creator>
      <dc:date>2017-02-08T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove null values from chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290992#M43203</link>
      <description>&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eventstats dc(domainname) as doman_count | search domain_count&amp;gt;=2| chart avg(time_taken) over uri by domainname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290992#M43203</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2017-02-08T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove null values from chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290993#M43204</link>
      <description>&lt;P&gt;&lt;IMG src="https://s24.postimg.org/68rfm7u05/search_result2.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I've tried with eventstats, but I still see rows with null values.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290993#M43204</guid>
      <dc:creator>stefan1988</dc:creator>
      <dc:date>2017-02-08T15:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove null values from chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290994#M43205</link>
      <description>&lt;P&gt;if you simply want to drop rows with either column having a null. you could do something like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | where isnotnull(DomainA) AND isnotnull(DomainB)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Feb 2017 16:54:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290994#M43205</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-02-08T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove null values from chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290995#M43206</link>
      <description>&lt;P&gt;Both DomainA and DomainB are values (and not fields). Found the answer, it's possible with the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=in_oracle_soa sourcetype=oracle_soa_server_accesslog NOT "#" | rex "(?&amp;lt;c_ip&amp;gt;[^\t]+)\t(?&amp;lt;datum&amp;gt;[^\t]+)\t(?&amp;lt;tijd&amp;gt;[^\t]+)\t(?&amp;lt;method&amp;gt;[^\t]+)\t(?&amp;lt;uri&amp;gt;[^\t]+)\t(?&amp;lt;status_code&amp;gt;[^\t]+)\t(?&amp;lt;bytes&amp;gt;[^\t]+)\t(?&amp;lt;time_taken&amp;gt;[^\t]+)" |stats avg(time_taken) as "avg" by uri domainname |eventstats dc(domainname) as uniqvalues by uri | where uniqvalues&amp;gt;1 |xyseries uri,domainname,avg
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2017 08:01:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-null-values-from-chart/m-p/290995#M43206</guid>
      <dc:creator>stefan1988</dc:creator>
      <dc:date>2017-02-09T08:01:55Z</dc:date>
    </item>
  </channel>
</rss>

