<?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: Why is there large data latency coming from syslog? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394768#M70463</link>
    <description>&lt;P&gt;Can you please show an example event?&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 22:46:21 GMT</pubDate>
    <dc:creator>xpac</dc:creator>
    <dc:date>2018-05-10T22:46:21Z</dc:date>
    <item>
      <title>Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394762#M70457</link>
      <description>&lt;P&gt;Hello, we have a proxy network appliance running Websense, sending its logs via syslog to Splunk, &lt;/P&gt;

&lt;P&gt;We have a data latency alert configured to alert if latency is large, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search $search_args$ _index_earliest=-1d@d _index_latest=@d 
 | eval lag_sec = (_indextime-_time)
 | eval lag_hrs = lag_sec/(60*60)
 | eval delay_hrs  = if( lag_hrs &amp;gt; 0.5,   lag_hrs, "")
 | eval future_sec = if( lag_sec &amp;lt; -1, -1*lag_sec, "")
 | eval containsGap = if(delay_hrs!="" OR future_sec!="", "true", "false")
 | stats max(delay_hrs),
         max(future_sec),
         count(eval(containsGap="true")) as countGaps,
         count(_raw) as countEvents,
         by splunk_server index host sourcetype source
 | eval pecentGaps = countGaps / countEvents*100
 | where pecentGaps&amp;gt;5 
 | sort host, sourcetype, source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We started to get large latency (2 hour (7200 seconds) gap between received events timestamp and when theyre indexed) in last few days, and I am trying to determine whats causing this, &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4946i7CE6DF260C9B7231/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;We dont have a forwarder on this network device, and we arent seeing any additional network bottlenecks or traffic. Where can I look to troubleshoot data  integrity latency?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 19:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394762#M70457</guid>
      <dc:creator>perfecto25</dc:creator>
      <dc:date>2018-05-09T19:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394763#M70458</link>
      <description>&lt;P&gt;The following can help - &lt;A href="https://www.hurricanelabs.com/blog/data-latency-4-things-it-can-tell-you-about-your-splunk-data"&gt;Data Latency: 4 things it can tell you about your Splunk data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 20:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394763#M70458</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-05-09T20:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394764#M70459</link>
      <description>&lt;P&gt;Latency is always 7199 seconds? This sounds more like an issue with a wrong timezone than actual latency... &lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 21:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394764#M70459</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-09T21:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394765#M70460</link>
      <description>&lt;P&gt;This is almost always due to incorrect interpretation of TimeZones (usually because there are no TZ values in the timestamps and there is no &lt;CODE&gt;TZ=&lt;/CODE&gt; in any &lt;CODE&gt;props.conf&lt;/CODE&gt; so each indexer uses the &lt;CODE&gt;TZ&lt;/CODE&gt; value of its host OS (which shouldn't be, but might be, different on each indexer).&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 04:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394765#M70460</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-10T04:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394766#M70461</link>
      <description>&lt;P&gt;no, latency varies but all are above -7000s&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 16:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394766#M70461</guid>
      <dc:creator>perfecto25</dc:creator>
      <dc:date>2018-05-10T16:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394767#M70462</link>
      <description>&lt;P&gt;I checked the indexer, it has the host configured with the right TZ&lt;/P&gt;

&lt;P&gt;[root@cgysplunk01 /opt/splunk]# cat ./etc/system/local/props.conf&lt;BR /&gt;
[host::cgyxxpwcg02.xxxx]&lt;BR /&gt;
TZ = America/Edmonton&lt;/P&gt;

&lt;P&gt;The indexer itself is EST TZ&lt;/P&gt;

&lt;P&gt;[root@cgysplunk01 /opt/splunk]# cat /etc/sysconfig/clock &lt;BR /&gt;
ZONE="America/New_York"&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 18:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394767#M70462</guid>
      <dc:creator>perfecto25</dc:creator>
      <dc:date>2018-05-10T18:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there large data latency coming from syslog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394768#M70463</link>
      <description>&lt;P&gt;Can you please show an example event?&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 22:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-there-large-data-latency-coming-from-syslog/m-p/394768#M70463</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-10T22:46:21Z</dc:date>
    </item>
  </channel>
</rss>

