<?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: Search Help: Last time Windows Systems checked in by sourcetype in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Last-time-Windows-Systems-checked-in-by-sourcetype/m-p/100928#M26062</link>
    <description>&lt;P&gt;The &lt;CODE&gt;metadata&lt;/CODE&gt; command can give you information on the last seen events for hosts, sources and sourcetypes, but not a combination of them. So you can certainly get last check-in by sourcetype (by specifying &lt;CODE&gt;type=sourcetypes&lt;/CODE&gt;) but you cannot also get it split by host. In that case you'll have to resort to "classic" searches and use something like &lt;CODE&gt;dedup host,sourcetype&lt;/CODE&gt; to get the latest events for each host/sourcetype pair.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2012 14:56:47 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-07-17T14:56:47Z</dc:date>
    <item>
      <title>Search Help: Last time Windows Systems checked in by sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Last-time-Windows-Systems-checked-in-by-sourcetype/m-p/100927#M26061</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I currently have a search that runs to show me the last time all my hosts checked in with Splunk.&lt;/P&gt;

&lt;P&gt;However, I recently discovered that a system was not sending all the logs I wanted over for a reason (still) unknown.  I'd like to modify this search to list the check-in by sourcetype but cannot seem to figure how to do it.&lt;/P&gt;

&lt;P&gt;search: | metadata type=hosts | convert timeformat="%Y-%h-%d %l:%M:%S %p" ctime(lastTime) as last_update | table host,last_update | sort last_update&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Last-time-Windows-Systems-checked-in-by-sourcetype/m-p/100927#M26061</guid>
      <dc:creator>kholleran</dc:creator>
      <dc:date>2020-09-28T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help: Last time Windows Systems checked in by sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Last-time-Windows-Systems-checked-in-by-sourcetype/m-p/100928#M26062</link>
      <description>&lt;P&gt;The &lt;CODE&gt;metadata&lt;/CODE&gt; command can give you information on the last seen events for hosts, sources and sourcetypes, but not a combination of them. So you can certainly get last check-in by sourcetype (by specifying &lt;CODE&gt;type=sourcetypes&lt;/CODE&gt;) but you cannot also get it split by host. In that case you'll have to resort to "classic" searches and use something like &lt;CODE&gt;dedup host,sourcetype&lt;/CODE&gt; to get the latest events for each host/sourcetype pair.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 14:56:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Last-time-Windows-Systems-checked-in-by-sourcetype/m-p/100928#M26062</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-07-17T14:56:47Z</dc:date>
    </item>
  </channel>
</rss>

