<?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: Event mismatch in data. event count is higher in splunk than actual log count in server log file. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643222#M109602</link>
    <description>&lt;P&gt;That's not much for a prop.conf stanza.&amp;nbsp; It's hard to be certain without seeing sample data, but you may need additional settings.&amp;nbsp; Consider adding the "Magic Six" attributes.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX
TIME_FORMAT
MAX_TIMESTAMP_LOOKAHEAD
SHOULD_LINEMERGE
LINE_BREAKER
TRUNCATE&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 12 May 2023 13:59:43 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-05-12T13:59:43Z</dc:date>
    <item>
      <title>How to troubleshoot event mismatch in data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643212#M109597</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;Recently, I have configured splunk in my project to monitoring the application logs. I could find there is some log count mismatch between log file in server and event count in splunk logs. it is not happening in all time only some times like 2 or 3 times in a month then remaining days the event count is matching with log file count in server.&amp;nbsp; Could you please share suggestion to troubleshoot the issue.&lt;/P&gt;
&lt;P&gt;Splunk enterprise licensed version: 9.0.3&lt;/P&gt;
&lt;P&gt;server kernel: Linux red hat&lt;/P&gt;
&lt;P&gt;Universal forwarder version: 9.0.3&lt;/P&gt;
&lt;P&gt;server kernel: Linux red hat&lt;/P&gt;
&lt;P&gt;Example: Log file size is 500MB and total log count in log file is&amp;nbsp; 1520713 and total event count in splunk after indexing is 1520794 which is higher than the server log file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;logs count in application log file =&amp;nbsp;1520713&amp;nbsp;&lt;/P&gt;
&lt;P&gt;event count in splunk search =&amp;nbsp;1520794&amp;nbsp; which is higher than actual log file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have verified the splunkd logs and there is no error.&lt;/P&gt;
&lt;P&gt;verified limits conf and props ocnf as well and there is no specific config related to it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;index conf:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[monitor:///app/log/audit.log]&lt;BR /&gt;index = xxxx&lt;BR /&gt;disabled = false&lt;BR /&gt;ignoreOlderThan = 7d&lt;BR /&gt;recursive = false&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;limits.conf:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[thruput]&lt;BR /&gt;maxKBps = 512&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 12:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643212#M109597</guid>
      <dc:creator>gowthammahes</dc:creator>
      <dc:date>2023-05-15T12:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Event mismatch in data. event count is higher in splunk than actual log count in server log file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643214#M109598</link>
      <description>&lt;P&gt;This can happen if Splunk treats a single log entry as a multiple events because the line breaking settings in props.conf are incorrect.&amp;nbsp; I understand you verified the props.conf, but it's possible that 2 or 3 times a month a log entry is created which does not match the props.conf settings.&lt;/P&gt;&lt;P&gt;If you are using indexer acknowledgement then duplication of events is very possible.&amp;nbsp; It will happen when a UF re-sends events after an ack was lost or arrived late.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 13:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643214#M109598</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-12T13:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Event mismatch in data. event count is higher in splunk than actual log count in server log file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643217#M109601</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for the quick response. We dont have indexer acknowledgement and in props.conf we have only below configuration.&lt;/P&gt;&lt;P&gt;[source::/app/log/audit.log]&lt;BR /&gt;sourcetype = audit_log&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 13:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643217#M109601</guid>
      <dc:creator>gowthammahes</dc:creator>
      <dc:date>2023-05-12T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Event mismatch in data. event count is higher in splunk than actual log count in server log file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643222#M109602</link>
      <description>&lt;P&gt;That's not much for a prop.conf stanza.&amp;nbsp; It's hard to be certain without seeing sample data, but you may need additional settings.&amp;nbsp; Consider adding the "Magic Six" attributes.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX
TIME_FORMAT
MAX_TIMESTAMP_LOOKAHEAD
SHOULD_LINEMERGE
LINE_BREAKER
TRUNCATE&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 12 May 2023 13:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-event-mismatch-in-data/m-p/643222#M109602</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-12T13:59:43Z</dc:date>
    </item>
  </channel>
</rss>

