<?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 to get a report on latency between End point ( log source) and Heavy Forwarder? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335198#M99594</link>
    <description>&lt;P&gt;Hi Adonio,&lt;/P&gt;

&lt;P&gt;Thank you for responding to the question.&lt;BR /&gt;
This indeed is a good theory. However, I too am not sure if it works. &lt;BR /&gt;
I'll check it. Thanks again.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2017 18:16:18 GMT</pubDate>
    <dc:creator>bharadwaja30</dc:creator>
    <dc:date>2017-06-05T18:16:18Z</dc:date>
    <item>
      <title>How to get a report on latency between End point ( log source) and Heavy Forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335194#M99590</link>
      <description>&lt;P&gt;In our environment we have syslog sources that forward data to HFs via load balancer. I would like to get the report for latency between the source and HF.&lt;/P&gt;

&lt;P&gt;So in a picture format, it will be like..&lt;/P&gt;

&lt;P&gt;Endpoint (event generated) Time T1, Heavy Forwarder (the same event reached HF) Time T2, Indexer (when that same event was indexed) Time T3.&lt;/P&gt;

&lt;P&gt;So what we need is &lt;BR /&gt;
T2 – T1 = time taken to reach HF&lt;BR /&gt;
T3 – T2 = time taken to get the event indexed &lt;BR /&gt;
T3 – T1 = total time taken for the event to be usable.&lt;/P&gt;

&lt;P&gt;When we get the above information for each endpoint (only sample) we will be able to get to the bottom of the problem.&lt;/P&gt;

&lt;P&gt;Then we have to go and dig deeper to find out if where the problem is:&lt;BR /&gt;
1. HF is retransmitting or&lt;BR /&gt;
2. indexer queues are full or&lt;BR /&gt;
3. we are running out CPU or &lt;BR /&gt;
4. we are wasting time on reading and writing from the disks on the HF&lt;/P&gt;

&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 12:24:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335194#M99590</guid>
      <dc:creator>bharadwaja30</dc:creator>
      <dc:date>2017-06-03T12:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a report on latency between End point ( log source) and Heavy Forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335195#M99591</link>
      <description>&lt;P&gt;Maybe the following can help. It shows the difference between the capture time - &lt;CODE&gt;_time&lt;/CODE&gt; and the index time - &lt;CODE&gt;_indextime&lt;/CODE&gt; -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search
| eval diff= _indextime - _time 
| eval capturetime=strftime(_time,"%Y-%m-%d %H:%M:%S") 
| eval indextime=strftime(_indextime,"%Y-%m-%d %H:%M:%S") 
| table capturetime indextime  diff
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Jun 2017 22:50:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335195#M99591</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-06-03T22:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a report on latency between End point ( log source) and Heavy Forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335196#M99592</link>
      <description>&lt;P&gt;first, @ddrillic comment is very valid for "T3-T2" you are looking for&lt;BR /&gt;
wild idea here as i never tried it and dont know how it will work. &lt;BR /&gt;
I dont think he HF attached a time stamp for the time it picked the event form end point, therefore, it is i cant see how you can get your "T2-T1" requirement.&lt;BR /&gt;
with that being said, maybe you can "cheat" splunk and use in props.conf on HF &lt;CODE&gt;DATETIME_CONFIG = CURRENT&lt;/CODE&gt;&lt;BR /&gt;
while keeping the event timestamp you will now have T1 = event generated timestamp T2 = current time on HF&lt;BR /&gt;
T3 = indexed time&lt;BR /&gt;
disclaimer: this is just theory, i never tried it. if it works, please let me know&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 15:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335196#M99592</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-05T15:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a report on latency between End point ( log source) and Heavy Forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335197#M99593</link>
      <description>&lt;P&gt;Hi ddrillic,&lt;/P&gt;

&lt;P&gt;Thank you for responding. &lt;BR /&gt;
Yes. As adonio is saying in his reply, the SPL suggested by you will not give me the time at which it reached HF.&lt;BR /&gt;
Your SPL is true, if we go with an assumption that there is little or no latency between endpoint and HF.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 18:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335197#M99593</guid>
      <dc:creator>bharadwaja30</dc:creator>
      <dc:date>2017-06-05T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a report on latency between End point ( log source) and Heavy Forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335198#M99594</link>
      <description>&lt;P&gt;Hi Adonio,&lt;/P&gt;

&lt;P&gt;Thank you for responding to the question.&lt;BR /&gt;
This indeed is a good theory. However, I too am not sure if it works. &lt;BR /&gt;
I'll check it. Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 18:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335198#M99594</guid>
      <dc:creator>bharadwaja30</dc:creator>
      <dc:date>2017-06-05T18:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a report on latency between End point ( log source) and Heavy Forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335199#M99595</link>
      <description>&lt;P&gt;hello @bharadwaja30&lt;BR /&gt;
did you get a chance to try the theory?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-report-on-latency-between-End-point-log-source-and/m-p/335199#M99595</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-06T15:48:52Z</dc:date>
    </item>
  </channel>
</rss>

