<?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: If I use more than 6 times append command in query the Chart command  shows incorrect result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/527020#M148760</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; Still I face the same issue.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 08:30:33 GMT</pubDate>
    <dc:creator>nivethainspire_</dc:creator>
    <dc:date>2020-10-29T08:30:33Z</dc:date>
    <item>
      <title>If I use more than 6 times append command in query the Chart command  shows incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/526865#M148717</link>
      <description>&lt;P&gt;I ran the below query,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=s sourcetype=S_1
| search Gene="dow" OR Gene="x" OR Gene="ari" OR Gene="lia" OR Gene="SX" OR Gene=z
| append [search index=s sourcetype="S_2"|fillnull |eval Gene="rage"] 
| append [search index=s sourcetype=S_3 |fillnull|eval Gene="ork"]
| append [search index=s sourcetype=S_4|fillnull|eval Gene="tat"]
| append [search index=s sourcetype=S_5 | fillnull |eval Gene="bas"]
| append [search index=s sourcetype=S_6 | fillnull |eval Gene="bas1"]
| append [search index=s sourcetype=S_7|fillnull value=""|eval Gene="App"|fields *]
|rename Gene as General 
| stats count by General,"Report"
|eventstats sum(*) as sum_* by General 
|foreach * [eval "Status %"=round((count/sum_count)*100,2)]|rename count as Count
|fields - sum_count
|chart values("Status %") over "Report" by General
|sort "Report" desc&lt;/LI-CODE&gt;&lt;P&gt;I expect the below Result,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nivethainspire__0-1603891465655.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11535iB45F7D8C61863F5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="nivethainspire__0-1603891465655.png" alt="nivethainspire__0-1603891465655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I get the below result, where "bas1" and "App" shows together as "OTHER"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nivethainspire__1-1603892149780.png" style="width: 776px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11536i8C8EB9316CD6BDDB/image-dimensions/776x84?v=v2" width="776" height="84" role="button" title="nivethainspire__1-1603892149780.png" alt="nivethainspire__1-1603892149780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And it happens after I use the chart command.&lt;/P&gt;&lt;P&gt;Anyone can help me out.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 14:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/526865#M148717</guid>
      <dc:creator>nivethainspire_</dc:creator>
      <dc:date>2020-10-28T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: If I use more than 6 times append command in query the Chart command  shows incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/526869#M148718</link>
      <description>Hi&lt;BR /&gt;this is due to chart's limit which is 10 by default. You could change it by adding chart limit=XX (or limit=0 to unlimited it).&lt;BR /&gt;Anyhow you probably should tune your search to use eg. stat and not append? There are good presentation in conf how to do it.&lt;BR /&gt;&lt;A href="https://conf.splunk.com/files/2020/slides/TRU1761C.pdf" target="_blank"&gt;https://conf.splunk.com/files/2020/slides/TRU1761C.pdf&lt;/A&gt;&lt;BR /&gt;r. Ismo</description>
      <pubDate>Wed, 28 Oct 2020 14:10:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/526869#M148718</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-10-28T14:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: If I use more than 6 times append command in query the Chart command  shows incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/526871#M148719</link>
      <description>&lt;P&gt;It's not the number of appends, it's the number of fields.&amp;nbsp; By default, the &lt;FONT face="courier new,courier"&gt;chart&lt;/FONT&gt; command displays 10 fields and puts the rest into "other".&amp;nbsp; To change that, use &lt;FONT face="courier new,courier"&gt;"| chart useother=f ..."&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 14:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/526871#M148719</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-28T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: If I use more than 6 times append command in query the Chart command  shows incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/527020#M148760</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; Still I face the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:30:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/527020#M148760</guid>
      <dc:creator>nivethainspire_</dc:creator>
      <dc:date>2020-10-29T08:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: If I use more than 6 times append command in query the Chart command  shows incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/527021#M148761</link>
      <description>useother=f just drop that OTHER column away. If you want to see it, then you should add limit=0 (to see all) or limit=20 (to see 20 values).</description>
      <pubDate>Thu, 29 Oct 2020 08:42:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-use-more-than-6-times-append-command-in-query-the-Chart/m-p/527021#M148761</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-10-29T08:42:26Z</dc:date>
    </item>
  </channel>
</rss>

