<?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: Put the time a the top of a timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341875#M101286</link>
    <description>&lt;P&gt;Hi Alaza,&lt;BR /&gt;
only few additional information to better understand your needs:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;What's "Type_Group" a field or a string to search?&lt;/LI&gt;
&lt;LI&gt;why do you say that timechart isn't running? don't you receive events or do they aren't correctly organized?&lt;/LI&gt;
&lt;LI&gt;did you used span?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;From your picture I see that you haven't weekends, you can filter results  putting &lt;CODE&gt;date_wday!=sunday OR date_waday!=saturday&lt;/CODE&gt; in your main search.&lt;BR /&gt;
In other words, try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="Ico_number" date_wday!=sunday OR date_waday!=saturday
| timechart span=1d count by Type_Group
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 16:00:19 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2018-03-08T16:00:19Z</dc:date>
    <item>
      <title>Put the time a the top of a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341873#M101284</link>
      <description>&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/230653-splu.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Hello,&lt;BR /&gt;
How can I have a table like the picture with the time a the top, the type on the right side and a count by date on the row ?&lt;BR /&gt;
With timechart It doesn't work :&lt;/P&gt;

&lt;P&gt;index="Ico_number" Type_Group&lt;BR /&gt;
| timechart count by Type_Group&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:23:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341873#M101284</guid>
      <dc:creator>Alaza</dc:creator>
      <dc:date>2020-09-29T18:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Put the time a the top of a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341874#M101285</link>
      <description>&lt;P&gt;Try this and adjust to your case&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal 
| bucket _time span=1h 
| chart count by source, _time 
| addtotals
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;IMG src="http://tinypic.com/r/4j4g1/9" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:59:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341874#M101285</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-08T15:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Put the time a the top of a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341875#M101286</link>
      <description>&lt;P&gt;Hi Alaza,&lt;BR /&gt;
only few additional information to better understand your needs:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;What's "Type_Group" a field or a string to search?&lt;/LI&gt;
&lt;LI&gt;why do you say that timechart isn't running? don't you receive events or do they aren't correctly organized?&lt;/LI&gt;
&lt;LI&gt;did you used span?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;From your picture I see that you haven't weekends, you can filter results  putting &lt;CODE&gt;date_wday!=sunday OR date_waday!=saturday&lt;/CODE&gt; in your main search.&lt;BR /&gt;
In other words, try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="Ico_number" date_wday!=sunday OR date_waday!=saturday
| timechart span=1d count by Type_Group
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 16:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341875#M101286</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-03-08T16:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Put the time a the top of a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341876#M101287</link>
      <description>&lt;P&gt;Type_Group is a field and I can't display the value like the picture, weekend or not.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 16:09:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341876#M101287</guid>
      <dc:creator>Alaza</dc:creator>
      <dc:date>2018-03-08T16:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Put the time a the top of a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341877#M101288</link>
      <description>&lt;P&gt;Ok this probably is the reason because your search doesn't run, if you put a field in a search you have to assign a value, something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="Ico_number" Type_Group=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;otherwise Splunk interpretes "Type_Group" as a string to search.&lt;BR /&gt;
So try something like this&lt;BR /&gt;
    index="Ico_number" Type_Group=*&lt;BR /&gt;
    | timechart span=1d count by Type_Group&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:23:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341877#M101288</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Put the time a the top of a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341878#M101289</link>
      <description>&lt;P&gt;Thanks for your help, it works now.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 08:42:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Put-the-time-a-the-top-of-a-timechart/m-p/341878#M101289</guid>
      <dc:creator>Alaza</dc:creator>
      <dc:date>2018-03-09T08:42:07Z</dc:date>
    </item>
  </channel>
</rss>

