<?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: Column Chart - Sorting months chronologically and not alphabetically in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349392#M103437</link>
    <description>&lt;P&gt;Thanks Nikita&lt;/P&gt;

&lt;P&gt;I should have said I have 2 types of states....lets say "Good" and "Bad" and I get a value for each when using | chart count over date_month by Status -  like below, &lt;/P&gt;

&lt;P&gt;When I use ....| timechart values(status)  - these good and bad values are not there and so my chart has nothing to show&lt;/P&gt;

&lt;P&gt;date_month                   Good                           Bad&lt;BR /&gt;
Dec                                     20                               5&lt;BR /&gt;
Nov                                     25                               30&lt;BR /&gt;
Oct                                        9                                7                    &lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2017 12:01:05 GMT</pubDate>
    <dc:creator>DDewarSplunk</dc:creator>
    <dc:date>2017-12-19T12:01:05Z</dc:date>
    <item>
      <title>Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349389#M103434</link>
      <description>&lt;P&gt;Morning Splunk Gurus&lt;/P&gt;

&lt;P&gt;Can you tell me what is the simplest way of arranging months into order of date rather than alphabetical is?&lt;BR /&gt;
Here is a link to my chart&lt;/P&gt;

&lt;P&gt;&lt;A href="https://imgur.com/a/g8nor"&gt;https://imgur.com/a/g8nor&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Base Search.....&lt;BR /&gt;
| chart count over date_month by Status&lt;/P&gt;

&lt;P&gt;Many Thanks&lt;/P&gt;

&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 11:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349389#M103434</guid>
      <dc:creator>DDewarSplunk</dc:creator>
      <dc:date>2017-12-19T11:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349390#M103435</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Is date included in your events?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 11:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349390#M103435</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2017-12-19T11:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349391#M103436</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
You can try using timechart instead of chart command&lt;BR /&gt;
....| timechart values(status)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 11:48:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349391#M103436</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2017-12-19T11:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349392#M103437</link>
      <description>&lt;P&gt;Thanks Nikita&lt;/P&gt;

&lt;P&gt;I should have said I have 2 types of states....lets say "Good" and "Bad" and I get a value for each when using | chart count over date_month by Status -  like below, &lt;/P&gt;

&lt;P&gt;When I use ....| timechart values(status)  - these good and bad values are not there and so my chart has nothing to show&lt;/P&gt;

&lt;P&gt;date_month                   Good                           Bad&lt;BR /&gt;
Dec                                     20                               5&lt;BR /&gt;
Nov                                     25                               30&lt;BR /&gt;
Oct                                        9                                7                    &lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349392#M103437</guid>
      <dc:creator>DDewarSplunk</dc:creator>
      <dc:date>2017-12-19T12:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349393#M103438</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Is date_month is the field in your events?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:08:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349393#M103438</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2017-12-19T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349394#M103439</link>
      <description>&lt;P&gt;If you don't mind using date numbers instead of date names:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;*|eval dateM=strftime(_time,"%m")| chart count over dateM by Status |sort -dateM
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349394#M103439</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-19T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349395#M103440</link>
      <description>&lt;P&gt;Yeah it is &lt;/P&gt;

&lt;P&gt;ta&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349395#M103440</guid>
      <dc:creator>DDewarSplunk</dc:creator>
      <dc:date>2017-12-19T12:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349396#M103441</link>
      <description>&lt;P&gt;Yeah that could work I guess &lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349396#M103441</guid>
      <dc:creator>DDewarSplunk</dc:creator>
      <dc:date>2017-12-19T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349397#M103442</link>
      <description>&lt;P&gt;Also is date included in your logs?&lt;BR /&gt;
And if good and bad are fields in your logs, you will have to do &lt;BR /&gt;
..|timechart values(good) AS good values(bad) AS bad&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349397#M103442</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2017-12-19T12:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349398#M103443</link>
      <description>&lt;P&gt;So the field is "Status" and the 2 values are Good and Bad&lt;/P&gt;

&lt;P&gt;So for Decembers you might have 20 good and 10 bad.....for Nov 15 good and 65 bad etc&lt;/P&gt;

&lt;P&gt;I just want to show 3 months and each month should have a 2 bars, each bar showing a value.&lt;/P&gt;

&lt;P&gt;Yeah I have _time and date values in logs&lt;/P&gt;

&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349398#M103443</guid>
      <dc:creator>DDewarSplunk</dc:creator>
      <dc:date>2017-12-19T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349399#M103444</link>
      <description>&lt;P&gt;in which case, this should do it&lt;BR /&gt;
   &lt;CODE&gt;*| timechart count by status&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 12:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349399#M103444</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-19T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - Sorting months chronologically and not alphabetically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349400#M103445</link>
      <description>&lt;P&gt;Thanks Nick&lt;BR /&gt;
Thanks nikita&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 14:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-Sorting-months-chronologically-and-not/m-p/349400#M103445</guid>
      <dc:creator>DDewarSplunk</dc:creator>
      <dc:date>2017-12-19T14:20:52Z</dc:date>
    </item>
  </channel>
</rss>

