<?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 add labels to chart values or order timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106217#M27606</link>
    <description>&lt;P&gt;Using timechart it's not possible as the values sorted will  be distorting the time in the chart. Better use the stats function and do the calculation after the eval. Then apply the sort function. Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2013 08:46:45 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2013-07-25T08:46:45Z</dc:date>
    <item>
      <title>how to add labels to chart values or order timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106215#M27604</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;
My query looks like &lt;BR /&gt;
...| timechart count by type&lt;BR /&gt;
And I have values tupe_a, type_b and so on. When I call them like &lt;BR /&gt;
eval name=case(type=type_a, "Error", type=type_b, "OK")...&lt;BR /&gt;
and use "count by name" the rows in my staced timechart are ordered by name. But I need it to order by summary count. When I use "count by type" , they are ordered by summary count. How to specify the order or rename the types on the final chart?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106215#M27604</guid>
      <dc:creator>0range</dc:creator>
      <dc:date>2020-09-28T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to add labels to chart values or order timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106216#M27605</link>
      <description>&lt;P&gt;If you just add a total row&lt;/P&gt;

&lt;P&gt;…|addcoltotals labelfield=name label=ALL&lt;/P&gt;

&lt;P&gt;name      count&lt;BR /&gt;
Error      10&lt;BR /&gt;
OK        100&lt;BR /&gt;
ALL       110&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 08:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106216#M27605</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2013-07-25T08:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to add labels to chart values or order timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106217#M27606</link>
      <description>&lt;P&gt;Using timechart it's not possible as the values sorted will  be distorting the time in the chart. Better use the stats function and do the calculation after the eval. Then apply the sort function. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 08:46:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-add-labels-to-chart-values-or-order-timechart/m-p/106217#M27606</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-07-25T08:46:45Z</dc:date>
    </item>
  </channel>
</rss>

