<?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: Distinct Events Days in Index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169016#M48250</link>
    <description>&lt;P&gt;Yeah, that is MUCH faster than my previous attempt. Thanks sir.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2014 00:30:08 GMT</pubDate>
    <dc:creator>fredclown</dc:creator>
    <dc:date>2014-02-28T00:30:08Z</dc:date>
    <item>
      <title>Distinct Events Days in Index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169013#M48247</link>
      <description>&lt;P&gt;I'm trying to write an efficient search to find out the distinct days of events that I have in an index. Basically, I want to be able to see if I am missing data for any days. I could pipe the date in mm/dd/yyyy format to a table and then use dedup, but that is SLOW and my hunch is there is a better and faster way to do it.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 19:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169013#M48247</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2014-02-27T19:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Events Days in Index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169014#M48248</link>
      <description>&lt;P&gt;You could create a summary index, and then back fill it with data in the background.  It would take a while to backfill, but it does that in the background.  Once it is done, it would be very fast to search, and re-search.  Here is the link to the summary index page.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Knowledge/Usesummaryindexing"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/Knowledge/Usesummaryindexing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 19:41:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169014#M48248</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2014-02-27T19:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Events Days in Index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169015#M48249</link>
      <description>&lt;P&gt;Try this one. decent performance.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=yourindex| stats first(_time) as _time by date_mday | convert timeformat="%Y/%m/%d" mktime(_time) as Date
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:31:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169015#M48249</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-27T21:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Events Days in Index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169016#M48250</link>
      <description>&lt;P&gt;Yeah, that is MUCH faster than my previous attempt. Thanks sir.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 00:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Distinct-Events-Days-in-Index/m-p/169016#M48250</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2014-02-28T00:30:08Z</dc:date>
    </item>
  </channel>
</rss>

