<?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: Last Time Heavy  Forwarder received logs from it's Source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Last-Time-Heavy-Forwarder-received-logs-from-it-s-Source/m-p/535424#M89801</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/191945"&gt;@itsmevic&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can convert it using below at the end of your query;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| convert ctime(Hour)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you an upvote is appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 05:51:43 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-01-12T05:51:43Z</dc:date>
    <item>
      <title>Last Time Heavy  Forwarder received logs from it's Source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Last-Time-Heavy-Forwarder-received-logs-from-it-s-Source/m-p/535415#M89798</link>
      <description>&lt;P&gt;I've pieced together some SPL that shows me the last time the forwarder has sent its log data, but need to convert the&amp;nbsp; | eval Hour =relative_time(_time,"@h") to normal date-time format, i.e.&amp;nbsp; HH:MM:SS.&amp;nbsp; Any help is greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd group=tcpin_connections component=Metrics
| eval sourceHost=coalesce(hostname, sourceHost)
| rename connectionType as connectType
| eval connectType=case(fwdType=="uf","univ fwder", fwdType=="lwf", "lightwt fwder",fwdType=="full", "heavy fwder", connectType=="cooked" or connectType=="cookedSSL","Splunk fwder", connectType=="raw" or connectType=="rawSSL","legacy fwder")
| fillnull version value="pre 4.2"
| rename version as Ver  arch as MachType
| fields _time,connectType sourceIp sourceHost destPort kb tcp_eps tcp_Kprocessed tcp_KBps splunk_server Ver MachType
| eval Indexer= splunk_server
| eval Hour=relative_time(_time,"@h")
| stats avg(tcp_KBps) as avg_TCP_KBps avg(tcp_eps) as avg_TCP_eps sum(kb) as total_KB by Hour connectType sourceIp sourceHost MachType destPort Indexer Ver&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 02:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Last-Time-Heavy-Forwarder-received-logs-from-it-s-Source/m-p/535415#M89798</guid>
      <dc:creator>itsmevic</dc:creator>
      <dc:date>2021-01-12T02:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Last Time Heavy  Forwarder received logs from it's Source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Last-Time-Heavy-Forwarder-received-logs-from-it-s-Source/m-p/535424#M89801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/191945"&gt;@itsmevic&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can convert it using below at the end of your query;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| convert ctime(Hour)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you an upvote is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 05:51:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Last-Time-Heavy-Forwarder-received-logs-from-it-s-Source/m-p/535424#M89801</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-01-12T05:51:43Z</dc:date>
    </item>
  </channel>
</rss>

