<?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: timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576459#M200891</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;- I am using below query for time chart instead of stats command but it is not working.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=incident_index&amp;nbsp; source="/mi_data/dc_in_events.json" | spath path=Incident__Number output=INC | stats values(*) as * by INC | timechart count&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2021 21:15:42 GMT</pubDate>
    <dc:creator>mm12</dc:creator>
    <dc:date>2021-11-26T21:15:42Z</dc:date>
    <item>
      <title>timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576448#M200886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am just taking the total count of incident using stats command form the json and the query is working fine. But when I using timechart command it is not giving me the visualization. Please anyone help me on this.&lt;/P&gt;&lt;P&gt;index=incident_index&amp;nbsp; source="/mi_data/dc_in_events.json" | spath path=Incident__Number output=INC | stats values(*) as * by INC | stats count(Incident__Number)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 17:22:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576448#M200886</guid>
      <dc:creator>mm12</dc:creator>
      <dc:date>2021-11-26T17:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576450#M200887</link>
      <description>&lt;P&gt;How are you trying to add timechart to this search?&lt;/P&gt;&lt;P&gt;You're already doing stats and getting a single number so there is nothing to make timechart from.&lt;/P&gt;&lt;P&gt;BTW, you calculate stats values(*) but then only use one of those fields. Instead of doing all this, just doing&lt;/P&gt;&lt;PRE&gt;| stats dc(Incident_Number)&lt;/PRE&gt;&lt;P&gt;Instead of both stats would be enough.&lt;/P&gt;&lt;P&gt;About the timechart - it's not clear what you want to do. Can you explain it?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 18:52:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576450#M200887</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-26T18:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576459#M200891</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;- I am using below query for time chart instead of stats command but it is not working.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=incident_index&amp;nbsp; source="/mi_data/dc_in_events.json" | spath path=Incident__Number output=INC | stats values(*) as * by INC | timechart count&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 21:15:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576459#M200891</guid>
      <dc:creator>mm12</dc:creator>
      <dc:date>2021-11-26T21:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576461#M200892</link>
      <description>&lt;P&gt;Well, if you do your stats, you lose the _time field because you're aggregating data over values of INC. You might have a multivalued field containing all values of _time in one row but that's just one row, so there's no basis for timechart.&lt;/P&gt;&lt;P&gt;What do you want to chart? Tell us with your own words, not with SPL.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 22:11:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart/m-p/576461#M200892</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-26T22:11:05Z</dc:date>
    </item>
  </channel>
</rss>

