<?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 Can we set different charting.nullValueMode for different chart in same graph in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-we-set-different-charting-nullValueMode-for-different-chart/m-p/34563#M7477</link>
    <description>&lt;P&gt;sourcetype="agent" &lt;BR /&gt;
              | spath path="EID" output=EventID &lt;BR /&gt;
              | search EventID=3&lt;BR /&gt;
              | spath path="SID" output=SID&lt;BR /&gt;
              |search SID="aaa-bbb" &lt;BR /&gt;
              | spath path="MU" output=mu &lt;BR /&gt;
              | eval mu=(mu/1024)|eval mu=round(mu,2)&lt;BR /&gt;
                   | timechart first(mu) as "Memory Usage(MB)"|appendcols [search sourcetype="agent" &lt;BR /&gt;
              | spath path="EID" output=EventID &lt;BR /&gt;
              | search EventID=3&lt;BR /&gt;
              | spath path="SID" output=SID&lt;BR /&gt;
              |search SID="aaa-bbb" |spath path="DBG" output=Debug |eval n=25|timechart first(n) by Debug]&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;I want for first timechart null values "connect" and for second one I need nullvalues "gap" or I need column chart for second timechart.&lt;BR /&gt;
I am trying   &lt;OBJECT&gt;&lt;PARAM name="charting.chart" /&gt;line&lt;BR /&gt;
           &lt;PARAM name="charting.chart2" /&gt;column&lt;BR /&gt;
      &lt;PARAM name="charting.chart.nullValueMode" /&gt;connect&lt;BR /&gt;
OR&lt;BR /&gt;
&lt;PARAM name="charting.chart" /&gt;line&lt;BR /&gt;
&lt;PARAM name="charting.chart.nullValueMode" /&gt;connect&lt;BR /&gt;
&lt;PARAM name="charting.chart2.nullValueMode" /&gt;gap&lt;BR /&gt;
Nothing is working. Please help.&lt;/OBJECT&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Also I need to filter results where Debug!="{}" &lt;BR /&gt;
Any Suggestion Please?This is urgent.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Fri, 15 Feb 2013 21:41:00 GMT</pubDate>
    <dc:creator>disha</dc:creator>
    <dc:date>2013-02-15T21:41:00Z</dc:date>
    <item>
      <title>Can we set different charting.nullValueMode for different chart in same graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-set-different-charting-nullValueMode-for-different-chart/m-p/34563#M7477</link>
      <description>&lt;P&gt;sourcetype="agent" &lt;BR /&gt;
              | spath path="EID" output=EventID &lt;BR /&gt;
              | search EventID=3&lt;BR /&gt;
              | spath path="SID" output=SID&lt;BR /&gt;
              |search SID="aaa-bbb" &lt;BR /&gt;
              | spath path="MU" output=mu &lt;BR /&gt;
              | eval mu=(mu/1024)|eval mu=round(mu,2)&lt;BR /&gt;
                   | timechart first(mu) as "Memory Usage(MB)"|appendcols [search sourcetype="agent" &lt;BR /&gt;
              | spath path="EID" output=EventID &lt;BR /&gt;
              | search EventID=3&lt;BR /&gt;
              | spath path="SID" output=SID&lt;BR /&gt;
              |search SID="aaa-bbb" |spath path="DBG" output=Debug |eval n=25|timechart first(n) by Debug]&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;I want for first timechart null values "connect" and for second one I need nullvalues "gap" or I need column chart for second timechart.&lt;BR /&gt;
I am trying   &lt;OBJECT&gt;&lt;PARAM name="charting.chart" /&gt;line&lt;BR /&gt;
           &lt;PARAM name="charting.chart2" /&gt;column&lt;BR /&gt;
      &lt;PARAM name="charting.chart.nullValueMode" /&gt;connect&lt;BR /&gt;
OR&lt;BR /&gt;
&lt;PARAM name="charting.chart" /&gt;line&lt;BR /&gt;
&lt;PARAM name="charting.chart.nullValueMode" /&gt;connect&lt;BR /&gt;
&lt;PARAM name="charting.chart2.nullValueMode" /&gt;gap&lt;BR /&gt;
Nothing is working. Please help.&lt;/OBJECT&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Also I need to filter results where Debug!="{}" &lt;BR /&gt;
Any Suggestion Please?This is urgent.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 15 Feb 2013 21:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-set-different-charting-nullValueMode-for-different-chart/m-p/34563#M7477</guid>
      <dc:creator>disha</dc:creator>
      <dc:date>2013-02-15T21:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set different charting.nullValueMode for different chart in same graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-set-different-charting-nullValueMode-for-different-chart/m-p/34564#M7478</link>
      <description>&lt;P&gt;Concerning number one, set the chart to omit null values and compute your own connect for the other chart like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...  | streamstats count(f) as temp | streamstats count by temp | eventstats max(count) as max by temp | streamstats last(f) as last | reverse | streamstats last(f) as next | reverse | eval f = if(isnull(f),last+((next-last)/max)*(count-1),f) | fields - temp count max last next
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To keep things looking nice, call your first(mu) as f at first, and later rename it - else you'd have the human-readable field all over the query.&lt;/P&gt;

&lt;P&gt;Concerning number two, something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | where Debug!="{}"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Feb 2013 00:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-set-different-charting-nullValueMode-for-different-chart/m-p/34564#M7478</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-02-16T00:08:56Z</dc:date>
    </item>
  </channel>
</rss>

