<?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 plot count of distinct values over time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212518#M62253</link>
    <description>&lt;P&gt;Use chart (or timechart) instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart span=1d count by requestId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 Feb 2016 15:51:52 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-02-19T15:51:52Z</dc:date>
    <item>
      <title>How to plot count of distinct values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212517#M62252</link>
      <description>&lt;P&gt;How do I count the occurrences of each distinct requestId and plot it over time? First time the requestId was found will be fine for a datetime.&lt;/P&gt;

&lt;P&gt;With this search, I can plot count of each distinct requestId vs requestId, but I need it over time, not requestId.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by requestId
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;e.g. search result event&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-02-19 16:49:14,335 INFO  [requestId=c4c6f44b-d28f-4cae-b679-2b1589584a06] [pool-48946-thread-1] 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Feb 2016 06:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212517#M62252</guid>
      <dc:creator>monojetski</dc:creator>
      <dc:date>2016-02-19T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot count of distinct values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212518#M62253</link>
      <description>&lt;P&gt;Use chart (or timechart) instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart span=1d count by requestId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Feb 2016 15:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212518#M62253</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-02-19T15:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot count of distinct values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212519#M62254</link>
      <description>&lt;P&gt;Thanks, that was it, then I added | sort - Time .. To sort it by time otherwise it was sorted by the requestId.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 11:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-count-of-distinct-values-over-time/m-p/212519#M62254</guid>
      <dc:creator>monojetski</dc:creator>
      <dc:date>2016-02-20T11:07:11Z</dc:date>
    </item>
  </channel>
</rss>

