<?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 would I chart count of field values over time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181819#M52387</link>
    <description>&lt;P&gt;Hi @a212830&lt;/P&gt;

&lt;P&gt;Are you looking for something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=euc_vcdata sourcetype=VCSZoneInfo | timechart span=5m count(SubzoneName) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Oct 2014 17:57:46 GMT</pubDate>
    <dc:creator>ppablo</dc:creator>
    <dc:date>2014-10-23T17:57:46Z</dc:date>
    <item>
      <title>How would I chart count of field values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181818#M52386</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a very ugly data feed, and the customer thinks that they are getting duplicate events, because the event count goes up every so often.  I think the issue is that the feed is different every so often, and I want to prove it by charting a specific fields value and count over time (with a 5 minute time span).   I have this:  &lt;/P&gt;

&lt;P&gt;index=euc_vcdata sourcetype=VCSZoneInfo | table _time, SubzoneName  which gives me time and the field, but now I want a count of the number of events to go with it.  &lt;/P&gt;

&lt;P&gt;Is there a way to do this?  &lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 15:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181818#M52386</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-10-23T15:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How would I chart count of field values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181819#M52387</link>
      <description>&lt;P&gt;Hi @a212830&lt;/P&gt;

&lt;P&gt;Are you looking for something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=euc_vcdata sourcetype=VCSZoneInfo | timechart span=5m count(SubzoneName) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Oct 2014 17:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181819#M52387</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2014-10-23T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How would I chart count of field values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181820#M52388</link>
      <description>&lt;P&gt;What @ppablo_splunk stated would plot the count of SubZoneName over 5 minute increments regardless of the value of SubZoneName. I think @a212830 is looking for duplicates of the values in SubZoneName during a 5 minute window. Perhaps a transaction command coupled with linecount&amp;gt;1 search would work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=euc_vcdata sourcetype=VCSZoneInfo | transaction maxspan=5m SubZoneName | search linecount&amp;gt;1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Oct 2014 18:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181820#M52388</guid>
      <dc:creator>jeremiahc4</dc:creator>
      <dc:date>2014-10-23T18:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: How would I chart count of field values over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181821#M52389</link>
      <description>&lt;P&gt;Try this ( useful when no of distinct values for field SubzoneName is not high (1-50)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=euc_vcdata sourcetype=VCSZoneInfo | timechart span=5m count by SubzoneName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should give a table with span=5m and count for each value of SubzoneName for those buckets.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 18:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-would-I-chart-count-of-field-values-over-time/m-p/181821#M52389</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-23T18:41:13Z</dc:date>
    </item>
  </channel>
</rss>

