<?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 write a search to report hosts, counts of sources and sourcetypes with beginning and end dates? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197061#M56910</link>
    <description>&lt;P&gt;It appears this will do what I am looking for.  I will work on the formatting -- Thank you for the answer.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Aug 2014 21:26:44 GMT</pubDate>
    <dc:creator>Ronvgraham</dc:creator>
    <dc:date>2014-08-27T21:26:44Z</dc:date>
    <item>
      <title>How to write a search to report hosts, counts of sources and sourcetypes with beginning and end dates?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197059#M56908</link>
      <description>&lt;P&gt;I would like to be able to create/run a report that would show me the hosts, sourcetypes for each host, and the sources for each sourcetype.  For the sourcetypes and sources, I would like to have beginning date, and end date for each along with a count.  Similar to what I find on the data summary page on the main search page but in a more hierarchical structure.  It would look something like this:&lt;/P&gt;

&lt;P&gt;Host(s)-&amp;gt;Sourcetypes-&amp;gt;Sources with Begin Date, End Date and Count for Sourcetypes and Sources&lt;/P&gt;

&lt;P&gt;Does a report like this exist in any of the splunk apps or is there a way to create this easily?  As we expanded to have multiple indexers, this would be very valuable in documenting what is on each of the indexers for the team and key employees through the institution.  It would also be helpful for identifying information that does not need to be indexed or is missing on each of the servers.  &lt;/P&gt;

&lt;P&gt;Thank you for any help you can provide&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 16:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197059#M56908</guid>
      <dc:creator>Ronvgraham</dc:creator>
      <dc:date>2014-08-27T16:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to report hosts, counts of sources and sourcetypes with beginning and end dates?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197060#M56909</link>
      <description>&lt;P&gt;Well not strictly exactly the output format you're after, but you can have lots of fun with &lt;CODE&gt;tstats&lt;/CODE&gt;. This would be one idea:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats earliest(_time) as begin_date,latest(_time) as end_date, count by host,sourcetype,source | convert ctime(begin_date) ctime(end_date)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:40:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197060#M56909</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-08-27T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to report hosts, counts of sources and sourcetypes with beginning and end dates?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197061#M56910</link>
      <description>&lt;P&gt;It appears this will do what I am looking for.  I will work on the formatting -- Thank you for the answer.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 21:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-report-hosts-counts-of-sources-and/m-p/197061#M56910</guid>
      <dc:creator>Ronvgraham</dc:creator>
      <dc:date>2014-08-27T21:26:44Z</dc:date>
    </item>
  </channel>
</rss>

