<?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: Quickest way to ensure data is coming in for a sourcetype across dozens of servers... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280244#M53632</link>
    <description>&lt;P&gt;Good stuff!  Thanks! &lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2016 14:00:19 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2016-04-19T14:00:19Z</dc:date>
    <item>
      <title>Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280238#M53626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an app that creates lots of files (roll over at 50mb, about every 2-3 min during business hours), and has lots of servers (50+).  I've had complaints that data and/or files are missing on occasion, so I'm looking for a quick/efficient way to ensure these servers and sourcetype are continuously sending data into Splunk and if they aren't I can identify the server having an issue. &lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 01:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280238#M53626</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-04-11T01:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280239#M53627</link>
      <description>&lt;P&gt;Hi a212830,&lt;/P&gt;

&lt;P&gt;if you are on Splunk 6.2.x and newer, you can use the Distributed Management Console &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/DMC/WhatcanDMCdo"&gt;http://docs.splunk.com/Documentation/Splunk/latest/DMC/WhatcanDMCdo&lt;/A&gt; which has pre-defined searches to cover that.&lt;/P&gt;

&lt;P&gt;Another command is &lt;CODE&gt;metadata&lt;/CODE&gt; &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/SearchReference/Metadata"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/SearchReference/Metadata&lt;/A&gt; which will give you a quick overview, use it like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | metadata type=sourcetypes index=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 03:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280239#M53627</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-04-11T03:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280240#M53628</link>
      <description>&lt;P&gt;Additionally, make sure your forwarders also monitor rolled .1, .2, etc. files in case there is a short congestion. Don't monitor rolled .gz files though.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 21:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280240#M53628</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-11T21:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280241#M53629</link>
      <description>&lt;P&gt;metadata could be useful, but how does one track it across sources and hosts - doesn't seem to be possible. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:33:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280241#M53629</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-04-15T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280242#M53630</link>
      <description>&lt;P&gt;&lt;CODE&gt;metasearch&lt;/CODE&gt; is another useful command for this sort of thing if you don't have a DMC running&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metasearch sourcetype=&amp;lt;your_sourcetype&amp;gt;  | timechart useother=f values(source) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This search should show you which sources are  indexed per host (adjust your span=  for timechart to suit). If you don't have many different filenames I would probably swap the aggregator:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metasearch sourcetype=&amp;lt;your_sourcetype&amp;gt;  | timechart useother=f values(host) by source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also just do a distinct count and set an alert based on how many hosts there should be. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metasearch sourcetype=&amp;lt;your_sourcetype&amp;gt;  | timechart useother=f dc(host) by source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Checkout &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Metasearch"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Metasearch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 16:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280242#M53630</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-04-15T16:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280243#M53631</link>
      <description>&lt;P&gt;In any imaginable scenario except "I don't know of tstats", use &lt;CODE&gt;|tstats&lt;/CODE&gt; instead of &lt;CODE&gt;|metadata&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by host sourcetype source

| tstats count where index=* host=suspicious sourcetype=weird by _time source | timechart sum(count) by source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Run the latter over a suspicious time range and see if a stacked bar chart has gaps.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 23:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280243#M53631</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-15T23:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280244#M53632</link>
      <description>&lt;P&gt;Good stuff!  Thanks! &lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280244#M53632</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-04-19T14:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280245#M53633</link>
      <description>&lt;P&gt;MIND BLOWN&lt;/P&gt;

&lt;P&gt;tstas 4 ever&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 14:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280245#M53633</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-04-20T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280246#M53634</link>
      <description>&lt;P&gt;Correct, I can't think of a way to show unique tuples with metadata. You can only show a list of one or the other (or hosts) and append them.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280246#M53634</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-06-13T20:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to ensure data is coming in for a sourcetype across dozens of servers...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280247#M53635</link>
      <description>&lt;P&gt;As @martin_mueller suggested use &lt;CODE&gt;| tstats count where index=* by host sourcetype source&lt;/CODE&gt; instead&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quickest-way-to-ensure-data-is-coming-in-for-a-sourcetype-across/m-p/280247#M53635</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-13T20:23:37Z</dc:date>
    </item>
  </channel>
</rss>

