<?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 How to trouble shoot  Security Logs with Low Event Count  logs are not parsing at realtime? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-trouble-shoot-Security-Logs-with-Low-Event-Count-logs-are/m-p/444014#M77309</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;We have been notified by the security team as they are seeing low security events counts and the logs are not parsing at realtime, based on the alert set to trigger in the splunk. &lt;/P&gt;

&lt;P&gt;Query details&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup LOW-EVENT-COUNT-SECURITY.csv
| join type=outer sourcetype [metadata type=sourcetypes]
| eval recent=strftime(recentTime,"%m/%d/%y %H:%M:%S")
| eval last=strftime(lastTime,"%m/%d/%y %H:%M:%S")
| eval nowTime=now()
| eval now=strftime(nowTime,"%m/%d/%y %H:%M:%S")
| eval diff=(nowTime-recentTime)
| table data sourcetype recentTime recent lastTime last now nowTime diff 

data          sourcetype    recentTime  recent                lastTime              last                     now          nowTime         diff
F5 BIG-IP   f5:bigip:syslog 1531492099  07/13/18 10:28:19   1531506498  07/13/18 14:28:18   07/13/18 10:28:22   1531492102  3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When checked for error logs in splunkd.log found below error details from the search heads&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-13-2018 11:01:30.655 -0400 ERROR DistributedBundleReplicationManager - HTTP response code 400 (HTTP/1.1 400 Bad Request). Error applying delta=/opt/splunk/var/run/searchpeers/C090FDA2-105E-4875-A110-3F13FF986151-1531493889-1531494056.delta, searchHead=C090FDA2-105E-4875-A110-3F13FF986151, prevTime=1531493889, prevChksum=4389239684162954908, curTime=1531494056, curChksum=16674274590358345014: Error copying /opt/splunk/v
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error logs in splunkd.log from Indexer instances&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-13-2018 10:32:35.344 -0400 ERROR DistBundleRestHandler - Problem untarring file: /opt/splunk/var/run/searchpeers/C090FDA2-105E-4875-A110-3F13FF986151-1531492185.bundle
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Error logs in splunkd.log from Heavy forwarder instances&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;a) 07-13-2018 07:01:03.262 -0400 ERROR DistributedBundleReplicationManager - Reading reply to upload: rv=-2, Receive from=https://splunk03:8089 timed out; exceeded 60sec, as per=distsearch.conf/[replicationSettings]/sendRcvTimeout


b) 07-13-2018 07:01:39.014 -0400 ERROR DistributedBundleReplicationManager - got non-200 response from peer. uri=https://splunk02:8089, reply="HTTP/1.1 204 No Content" response_code=204

c) Unable to upload bundle to peer named splunk02 with uri=https://splunk02:8089.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Questions:&lt;/P&gt;

&lt;P&gt;1) We had recently upgraded the search head/indexer instance  to 7.0.4 from 6.6.1 and but we have not upgraded the HF instances where all the data are parsing before getting indexed. whether this might be causing the issue ?&lt;/P&gt;

&lt;P&gt;2) How/where to start the investigation and trouble this issue to find out the root cause for the low event count.&lt;/P&gt;

&lt;P&gt;Kindly guide me to fix this issue.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jul 2018 15:47:01 GMT</pubDate>
    <dc:creator>Hemnaath</dc:creator>
    <dc:date>2018-07-13T15:47:01Z</dc:date>
    <item>
      <title>How to trouble shoot  Security Logs with Low Event Count  logs are not parsing at realtime?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-trouble-shoot-Security-Logs-with-Low-Event-Count-logs-are/m-p/444014#M77309</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;We have been notified by the security team as they are seeing low security events counts and the logs are not parsing at realtime, based on the alert set to trigger in the splunk. &lt;/P&gt;

&lt;P&gt;Query details&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup LOW-EVENT-COUNT-SECURITY.csv
| join type=outer sourcetype [metadata type=sourcetypes]
| eval recent=strftime(recentTime,"%m/%d/%y %H:%M:%S")
| eval last=strftime(lastTime,"%m/%d/%y %H:%M:%S")
| eval nowTime=now()
| eval now=strftime(nowTime,"%m/%d/%y %H:%M:%S")
| eval diff=(nowTime-recentTime)
| table data sourcetype recentTime recent lastTime last now nowTime diff 

data          sourcetype    recentTime  recent                lastTime              last                     now          nowTime         diff
F5 BIG-IP   f5:bigip:syslog 1531492099  07/13/18 10:28:19   1531506498  07/13/18 14:28:18   07/13/18 10:28:22   1531492102  3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When checked for error logs in splunkd.log found below error details from the search heads&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-13-2018 11:01:30.655 -0400 ERROR DistributedBundleReplicationManager - HTTP response code 400 (HTTP/1.1 400 Bad Request). Error applying delta=/opt/splunk/var/run/searchpeers/C090FDA2-105E-4875-A110-3F13FF986151-1531493889-1531494056.delta, searchHead=C090FDA2-105E-4875-A110-3F13FF986151, prevTime=1531493889, prevChksum=4389239684162954908, curTime=1531494056, curChksum=16674274590358345014: Error copying /opt/splunk/v
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error logs in splunkd.log from Indexer instances&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-13-2018 10:32:35.344 -0400 ERROR DistBundleRestHandler - Problem untarring file: /opt/splunk/var/run/searchpeers/C090FDA2-105E-4875-A110-3F13FF986151-1531492185.bundle
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Error logs in splunkd.log from Heavy forwarder instances&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;a) 07-13-2018 07:01:03.262 -0400 ERROR DistributedBundleReplicationManager - Reading reply to upload: rv=-2, Receive from=https://splunk03:8089 timed out; exceeded 60sec, as per=distsearch.conf/[replicationSettings]/sendRcvTimeout


b) 07-13-2018 07:01:39.014 -0400 ERROR DistributedBundleReplicationManager - got non-200 response from peer. uri=https://splunk02:8089, reply="HTTP/1.1 204 No Content" response_code=204

c) Unable to upload bundle to peer named splunk02 with uri=https://splunk02:8089.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Questions:&lt;/P&gt;

&lt;P&gt;1) We had recently upgraded the search head/indexer instance  to 7.0.4 from 6.6.1 and but we have not upgraded the HF instances where all the data are parsing before getting indexed. whether this might be causing the issue ?&lt;/P&gt;

&lt;P&gt;2) How/where to start the investigation and trouble this issue to find out the root cause for the low event count.&lt;/P&gt;

&lt;P&gt;Kindly guide me to fix this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 15:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-trouble-shoot-Security-Logs-with-Low-Event-Count-logs-are/m-p/444014#M77309</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2018-07-13T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to trouble shoot  Security Logs with Low Event Count  logs are not parsing at realtime?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-trouble-shoot-Security-Logs-with-Low-Event-Count-logs-are/m-p/444015#M77310</link>
      <description>&lt;P&gt;Sounds like you have a lookup(s) that may be way to big to replicate see if this applies.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/139192/error-distributedbundlereplicationmanager-got-non-200-response-from-peer.html"&gt;https://answers.splunk.com/answers/139192/error-distributedbundlereplicationmanager-got-non-200-response-from-peer.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 18:35:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-trouble-shoot-Security-Logs-with-Low-Event-Count-logs-are/m-p/444015#M77310</guid>
      <dc:creator>CarsonZa</dc:creator>
      <dc:date>2018-07-13T18:35:20Z</dc:date>
    </item>
  </channel>
</rss>

