<?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: Can you help me with a query to find a universal forwarder device that hasn't checked in to Splunk over X days? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455484#M78782</link>
    <description>&lt;P&gt;How did you check that the devices were sending data to the indexer? If a UF is only sending internal logs, that will not show in the metadata results for &lt;CODE&gt;index=*&lt;/CODE&gt;,  I believe you need to explicitly search for &lt;CODE&gt;index=_*&lt;/CODE&gt; as well to get those results.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2018 16:59:36 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-10-30T16:59:36Z</dc:date>
    <item>
      <title>Can you help me with a query to find a universal forwarder device that hasn't checked in to Splunk over X days?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455483#M78781</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm currently trying to see which devices haven't checked in to Splunk in over +30days. The query i've been using shows only 3 devices. But, when I verify that it has phoned home and sent data to the Indexer, it has — so, I'm not sure why i'm not getting accurate results.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd group=tcpin_connections version=* os=* arch=* build=* hostname=* source=*metrics.log
| stats latest(version) as version,latest(arch) as arch,latest(os) as os,latest(build) as build by hostname
| join hostname [ | metadata type=hosts index=*
| eval last_seen_hours=(now()-lastTime)/60/60
| search last_seen_hours &amp;gt; 360
| table host, last_seen_hours
| rex field=host "(?[^\.]+)" | fields - host ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Oct 2018 16:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455483#M78781</guid>
      <dc:creator>evolutionxtinct</dc:creator>
      <dc:date>2018-10-30T16:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with a query to find a universal forwarder device that hasn't checked in to Splunk over X days?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455484#M78782</link>
      <description>&lt;P&gt;How did you check that the devices were sending data to the indexer? If a UF is only sending internal logs, that will not show in the metadata results for &lt;CODE&gt;index=*&lt;/CODE&gt;,  I believe you need to explicitly search for &lt;CODE&gt;index=_*&lt;/CODE&gt; as well to get those results.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 16:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455484#M78782</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-10-30T16:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with a query to find a universal forwarder device that hasn't checked in to Splunk over X days?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455485#M78783</link>
      <description>&lt;P&gt;Do you have the Monitoring Console set up? Its built in to the MC.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 21:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-a-query-to-find-a-universal-forwarder/m-p/455485#M78783</guid>
      <dc:creator>cboillot</dc:creator>
      <dc:date>2018-10-30T21:37:06Z</dc:date>
    </item>
  </channel>
</rss>

