<?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: query for searching passive hosts in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/query-for-searching-passive-hosts/m-p/207606#M40922</link>
    <description>&lt;P&gt;That query is not valid.  I believe the correct version would be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | sort -recentTime | convert ctime(recentTime) as Latest_Time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which retrieves a list of host names from the default indexes, sorts them from most-recently used to least-recently used, then converts the recentTime field from epoch format into text and renames it to Latest_Time.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2016 20:28:06 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2016-12-28T20:28:06Z</dc:date>
    <item>
      <title>query for searching passive hosts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/query-for-searching-passive-hosts/m-p/207605#M40921</link>
      <description>&lt;P&gt;Can someone please explain me what does the following query will do step by step ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  type=hosts | sort -recentTime | convert ctime(recentTime) as Latest_Time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 20:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/query-for-searching-passive-hosts/m-p/207605#M40921</guid>
      <dc:creator>kteng2024</dc:creator>
      <dc:date>2016-12-28T20:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: query for searching passive hosts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/query-for-searching-passive-hosts/m-p/207606#M40922</link>
      <description>&lt;P&gt;That query is not valid.  I believe the correct version would be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | sort -recentTime | convert ctime(recentTime) as Latest_Time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which retrieves a list of host names from the default indexes, sorts them from most-recently used to least-recently used, then converts the recentTime field from epoch format into text and renames it to Latest_Time.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 20:28:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/query-for-searching-passive-hosts/m-p/207606#M40922</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-12-28T20:28:06Z</dc:date>
    </item>
  </channel>
</rss>

