<?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 Need help in trending chart with one single line in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294767#M88962</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;When i select a value from filter which has both true and false values , i am getting trending lines for both .But when i select a value which has  false values and there is 0 True values , i am not getting any lines for both .&lt;/P&gt;

&lt;P&gt;My requirement :&lt;BR /&gt;
When i select a value which has only true values , there should be single trending line showing true values .&lt;/P&gt;

&lt;P&gt;Please help me out in this.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 06:42:54 GMT</pubDate>
    <dc:creator>umsundar2015</dc:creator>
    <dc:date>2018-01-11T06:42:54Z</dc:date>
    <item>
      <title>Need help in trending chart with one single line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294767#M88962</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;When i select a value from filter which has both true and false values , i am getting trending lines for both .But when i select a value which has  false values and there is 0 True values , i am not getting any lines for both .&lt;/P&gt;

&lt;P&gt;My requirement :&lt;BR /&gt;
When i select a value which has only true values , there should be single trending line showing true values .&lt;/P&gt;

&lt;P&gt;Please help me out in this.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 06:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294767#M88962</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2018-01-11T06:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in trending chart with one single line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294768#M88963</link>
      <description>&lt;P&gt;i think you need to check your query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`Server_Reconciliation_Trending` |search $mode_id$ |timechart count by reporting_status
|rename Reporting as r|rename "Not Reporting" as nr|eval T=nr+r|eval nrpct=round((nr/T)*100,3)|eval rpct=round((r/T)*100,3)|rename nrpct as "Not Reporting" rpct as "Reporting"| fields _time "Not Reporting" Reporting
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;|rename Reporting as r|rename "Not Reporting" as nr&lt;/CODE&gt; but before that you have written &lt;CODE&gt;timechart count by reporting_status&lt;/CODE&gt; then what you are renaming ? rename works on field i think you are trying to rename field values i.e. values of &lt;CODE&gt;reporting_status&lt;/CODE&gt; then you must use &lt;CODE&gt;| replace Reporting WITH r ,    "Not Reporting" WITH nr IN reporting_status&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;I think you should check your query first!&lt;BR /&gt;
let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:45:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294768#M88963</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-11T07:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in trending chart with one single line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294769#M88964</link>
      <description>&lt;P&gt;hi Mayur,&lt;/P&gt;

&lt;P&gt;Thanks for ur help. I am getting only yesterdays value for Not reporting trending ,when both( reporting and not reporting) the values.&lt;/P&gt;

&lt;P&gt;I am renaming the indexes to reporting and not reporting respectively.&lt;/P&gt;

&lt;P&gt;Please assist me &lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294769#M88964</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2018-01-11T09:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in trending chart with one single line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294770#M88965</link>
      <description>&lt;P&gt;it would be great if you give us sample input and output you want to achieve. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294770#M88965</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-11T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in trending chart with one single line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294771#M88966</link>
      <description>&lt;P&gt;Input : 2 indexes&lt;BR /&gt;
Output : &lt;BR /&gt;
_time      Reporting     Not reporting &lt;BR /&gt;
08/12         1492                22&lt;BR /&gt;
09/12          1490               24&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
09/01           1485               29&lt;/P&gt;

&lt;P&gt;These are o/p.. Is that enough for you &lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294771#M88966</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2018-01-11T09:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in trending chart with one single line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294772#M88967</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=index1 OR index=index2 | timechart span=1d count by reporting_status&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Run this for last 7 days or month. You can change &lt;CODE&gt;span=1d&lt;/CODE&gt; currently i have set it to &lt;CODE&gt;1 day&lt;/CODE&gt;&lt;BR /&gt;
assuming that &lt;CODE&gt;reporting_status&lt;/CODE&gt; is a filed that contains &lt;CODE&gt;Reporting&lt;/CODE&gt; and  &lt;CODE&gt;Not reporting&lt;/CODE&gt; value.&lt;/P&gt;

&lt;P&gt;let me know if this works!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-trending-chart-with-one-single-line/m-p/294772#M88967</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-11T09:49:37Z</dc:date>
    </item>
  </channel>
</rss>

