<?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 can I compare what host am i missing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310666#M58377</link>
    <description>&lt;P&gt;Do you get results when you run this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count WHERE index=main sourcetype=servers by host | eval isReporting=1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Feb 2018 20:45:20 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-02-23T20:45:20Z</dc:date>
    <item>
      <title>How can I compare what host am i missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310663#M58374</link>
      <description>&lt;P&gt;I have an input lookup called servers.csv (header is called host)&lt;BR /&gt;
that lookup has all the servers that should be reporting into my sourcetype called: index=main sourcetype=servers &lt;BR /&gt;
i see the host using: index=main sourcetype=servers host=server1 &lt;BR /&gt;
I need to have a report of what hosts from that CSV are not reporting into my sourcetype.&lt;/P&gt;

&lt;P&gt;thank you very much for helping me.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310663#M58374</guid>
      <dc:creator>mmcarty</dc:creator>
      <dc:date>2018-02-23T19:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare what host am i missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310664#M58375</link>
      <description>&lt;P&gt;Try this. This will give list of hosts from your lookup which do not have any event in &lt;CODE&gt;index=main sourcetype=servers&lt;/CODE&gt; for your selected time range of the query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count WHERE index=main sourcetype=servers by host | eval isReporting=1 
| append [| inputlookup servers.csv | table host | eval isReporting=0]
| stats max(isReporting) as isReporting by host | where isReporting=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310664#M58375</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-23T20:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare what host am i missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310665#M58376</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;
First of all thank you very much for your reply.&lt;BR /&gt;
i got 0 results :(, i copied and pasted but got no results.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:34:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310665#M58376</guid>
      <dc:creator>mmcarty</dc:creator>
      <dc:date>2018-02-23T20:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare what host am i missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310666#M58377</link>
      <description>&lt;P&gt;Do you get results when you run this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count WHERE index=main sourcetype=servers by host | eval isReporting=1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:45:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310666#M58377</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-23T20:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare what host am i missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310667#M58378</link>
      <description>&lt;P&gt;Yes! first and second line give me results, when i do thrid line i got 0 no events.&lt;BR /&gt;
thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 21:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310667#M58378</guid>
      <dc:creator>mmcarty</dc:creator>
      <dc:date>2018-02-23T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare what host am i missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310668#M58379</link>
      <description>&lt;P&gt;Try running everything except the &lt;CODE&gt;| where...&lt;/CODE&gt; part. It should return results. Then see in the results if you see any row with field isReporting as 0. If they're all 1 means all the servers are reporting. Also, what time range you're using for your search?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 21:07:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-what-host-am-i-missing/m-p/310668#M58379</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-23T21:07:41Z</dc:date>
    </item>
  </channel>
</rss>

