<?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: Help with timechart display in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75396#M19056</link>
    <description>&lt;P&gt;thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2013 06:25:43 GMT</pubDate>
    <dc:creator>ChhayaV</dc:creator>
    <dc:date>2013-10-01T06:25:43Z</dc:date>
    <item>
      <title>Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75390#M19050</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;this is my search &lt;/P&gt;

&lt;P&gt;index=tm_idx host="server" | rex field=msg "(?i)TM1\sserver\sload\stime\s(secs)\s=\s(?P&lt;TIMETAKENTOSTART&gt;\w+)" |where timetakentostart!="" |sort _time | stats list(timetakentostart) by date_month&lt;/TIMETAKENTOSTART&gt;&lt;/P&gt;

&lt;P&gt;which is giving me following output&lt;/P&gt;

&lt;P&gt;date_month  list(timetakentostart)&lt;/P&gt;

&lt;P&gt;april   23 23 15 15 73 73 25 25&lt;/P&gt;

&lt;P&gt;february    24 13&lt;/P&gt;

&lt;P&gt;january 9 12 12&lt;/P&gt;

&lt;P&gt;july    34 52353 24&lt;/P&gt;

&lt;P&gt;june    23&lt;/P&gt;

&lt;P&gt;march   18 10 13&lt;/P&gt;

&lt;P&gt;may 25 15 16 16 74&lt;/P&gt;

&lt;P&gt;september   21 17&lt;/P&gt;

&lt;P&gt;But i want is as &lt;BR /&gt;
date_month list(timetakentostart)&lt;/P&gt;

&lt;P&gt;april 23:1 23:2 15:1 15:2 73:1 73:2 25:1 25:2&lt;/P&gt;

&lt;P&gt;february 24:1 13:1&lt;/P&gt;

&lt;P&gt;january 9:1 12:1 12:2&lt;/P&gt;

&lt;P&gt;How can i do it? &lt;BR /&gt;
any suggestion will a great help&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75390#M19050</guid>
      <dc:creator>ChhayaV</dc:creator>
      <dc:date>2020-09-28T14:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75391#M19051</link>
      <description>&lt;P&gt;Sounds like you need  ... | stats count by date_month,timetakentostart&lt;/P&gt;

&lt;P&gt;Though in general it a terrible practice to use date_month. Better to use timechart span=1mon count by timetakentostart&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2013 14:14:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75391#M19051</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-09-27T14:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75392#M19052</link>
      <description>&lt;P&gt;hi thanks for the reply &lt;BR /&gt;
actually i want to label entries like for first occurence 16:1 for second occurence in the same month as 16:2 so that i can show them as different stack in a stacked chart..otherwise splunk group same values&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2013 14:31:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75392#M19052</guid>
      <dc:creator>ChhayaV</dc:creator>
      <dc:date>2013-09-28T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75393#M19053</link>
      <description>&lt;P&gt;So, I'm not sure if what you're trying to do is actually a good idea.  But here's an idea of how to accomplish it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tm_idx host="server" 
| rex field=msg "(?i)TM1sserversloadstimes(secs)s=s(?P&amp;lt;timetakentostart&amp;gt;w+)" |where timetakentostart!="" 
| bucket _time span=1m 
| streamstats count by timetakentostart _time
| eval newfield=timetakentostart + ":" + count
| stats list(newfield) by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will get you the kind of listing you want.  &lt;/P&gt;

&lt;P&gt;Now, I think the real question is:  What is the purpose of this data?  What is the question it intends to answer?  Because what you're trying to build seems extremely convoluted, and it's not apparent why it needs to be.  &lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2013 00:37:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75393#M19053</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2013-09-30T00:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75394#M19054</link>
      <description>&lt;P&gt;this is one business requirement&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2013 08:39:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75394#M19054</guid>
      <dc:creator>ChhayaV</dc:creator>
      <dc:date>2013-09-30T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75395#M19055</link>
      <description>&lt;P&gt;Ahh, totally get that.  Glad I could help and good luck!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2013 17:00:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75395#M19055</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2013-09-30T17:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart display</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75396#M19056</link>
      <description>&lt;P&gt;thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-display/m-p/75396#M19056</guid>
      <dc:creator>ChhayaV</dc:creator>
      <dc:date>2013-10-01T06:25:43Z</dc:date>
    </item>
  </channel>
</rss>

