<?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 Logs are not getting ingested in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678415#M113368</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Logs are not indexing into splunk.&lt;/P&gt;&lt;P&gt;My configurations are below&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputs.conf:&lt;/P&gt;&lt;P&gt;[monitor:///usr/logs/Client*.log*]&lt;BR /&gt;index = admin&lt;BR /&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;BR /&gt;disabled = false&lt;BR /&gt;recursive = false&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;[source::(...(usr/logs/Client*.log*))]&lt;BR /&gt;sourcetype = auth_log&lt;/P&gt;&lt;P&gt;My logs files pattern:&lt;/P&gt;&lt;P&gt;Client_11.186.145.54:1_q1234567.log&lt;BR /&gt;Client_11.186.145.54:1_q1234567.log.~~&lt;BR /&gt;Client_12.187.146.53:2_s1234567.log&lt;BR /&gt;Client_12.187.146.53:2_s1234567.log.~~&lt;BR /&gt;Client_1.1.1.1:2_p1244567.log&lt;BR /&gt;Client_1.1.1.1:2_p1244567.log.~~&lt;/P&gt;&lt;P&gt;In some of log files it starts with below line:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;===== JLSLog: Maximum log file size is 5000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then log events&lt;/P&gt;&lt;P&gt;So for this one i tried with below config one by one but nothing worked out&lt;BR /&gt;adding crcSalt=&amp;lt;SOURCE&amp;gt; in monitor stanze,&lt;/P&gt;&lt;P&gt;tried with adding SEDCMD in props.conf&lt;/P&gt;&lt;P&gt;SEDCMD-removeheadersfooters=s/\=\=\=\=\=\sJLSLog:\s((Maximum\slog\sfile\ssize\sis\s\d+)|Initial\slog\slevel\sis\sLow)//g&lt;/P&gt;&lt;P&gt;and tried with regex in transforms.conf&lt;/P&gt;&lt;P&gt;transforms.conf&lt;BR /&gt;[ignore_lines_starting_with_equals]&lt;BR /&gt;REGEX = ^===(.*)&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;[auth_log]&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)===&lt;BR /&gt;TRANSFORMS-null = ignore_lines_starting_with_equals&lt;/P&gt;&lt;P&gt;When i checked in splunkd logs there is no error captured and in list inputstatus it is showing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; percent = 100.00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type = finished reading / open file&lt;/P&gt;&lt;P&gt;please help me out of this issue if anyone faced before and fixed it.&lt;BR /&gt;but the weird scenario is sometimes only&amp;nbsp; the first line of log file is indexed&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;===== JLSLog: Maximum log file size is 5000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;host/server details:&lt;/P&gt;&lt;P&gt;os: Solaris 10&lt;BR /&gt;splunk universal forwarder version 7.3.9&lt;/P&gt;&lt;P&gt;splunk enterprise version: 9.1.1&lt;/P&gt;&lt;P&gt;Here restriction is the host os cant be upgraded as of now so i need to strict on 7.3.9 splunk forwarder version.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 05:11:09 GMT</pubDate>
    <dc:creator>gowthammahes</dc:creator>
    <dc:date>2024-02-23T05:11:09Z</dc:date>
    <item>
      <title>Logs are not getting ingested</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678415#M113368</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Logs are not indexing into splunk.&lt;/P&gt;&lt;P&gt;My configurations are below&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputs.conf:&lt;/P&gt;&lt;P&gt;[monitor:///usr/logs/Client*.log*]&lt;BR /&gt;index = admin&lt;BR /&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;BR /&gt;disabled = false&lt;BR /&gt;recursive = false&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;[source::(...(usr/logs/Client*.log*))]&lt;BR /&gt;sourcetype = auth_log&lt;/P&gt;&lt;P&gt;My logs files pattern:&lt;/P&gt;&lt;P&gt;Client_11.186.145.54:1_q1234567.log&lt;BR /&gt;Client_11.186.145.54:1_q1234567.log.~~&lt;BR /&gt;Client_12.187.146.53:2_s1234567.log&lt;BR /&gt;Client_12.187.146.53:2_s1234567.log.~~&lt;BR /&gt;Client_1.1.1.1:2_p1244567.log&lt;BR /&gt;Client_1.1.1.1:2_p1244567.log.~~&lt;/P&gt;&lt;P&gt;In some of log files it starts with below line:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;===== JLSLog: Maximum log file size is 5000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then log events&lt;/P&gt;&lt;P&gt;So for this one i tried with below config one by one but nothing worked out&lt;BR /&gt;adding crcSalt=&amp;lt;SOURCE&amp;gt; in monitor stanze,&lt;/P&gt;&lt;P&gt;tried with adding SEDCMD in props.conf&lt;/P&gt;&lt;P&gt;SEDCMD-removeheadersfooters=s/\=\=\=\=\=\sJLSLog:\s((Maximum\slog\sfile\ssize\sis\s\d+)|Initial\slog\slevel\sis\sLow)//g&lt;/P&gt;&lt;P&gt;and tried with regex in transforms.conf&lt;/P&gt;&lt;P&gt;transforms.conf&lt;BR /&gt;[ignore_lines_starting_with_equals]&lt;BR /&gt;REGEX = ^===(.*)&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;[auth_log]&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)===&lt;BR /&gt;TRANSFORMS-null = ignore_lines_starting_with_equals&lt;/P&gt;&lt;P&gt;When i checked in splunkd logs there is no error captured and in list inputstatus it is showing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; percent = 100.00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type = finished reading / open file&lt;/P&gt;&lt;P&gt;please help me out of this issue if anyone faced before and fixed it.&lt;BR /&gt;but the weird scenario is sometimes only&amp;nbsp; the first line of log file is indexed&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;===== JLSLog: Maximum log file size is 5000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;host/server details:&lt;/P&gt;&lt;P&gt;os: Solaris 10&lt;BR /&gt;splunk universal forwarder version 7.3.9&lt;/P&gt;&lt;P&gt;splunk enterprise version: 9.1.1&lt;/P&gt;&lt;P&gt;Here restriction is the host os cant be upgraded as of now so i need to strict on 7.3.9 splunk forwarder version.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 05:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678415#M113368</guid>
      <dc:creator>gowthammahes</dc:creator>
      <dc:date>2024-02-23T05:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not getting ingested</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678546#M113389</link>
      <description>&lt;P&gt;A guess!&lt;/P&gt;&lt;P&gt;I see nowhere where you specify the date or time of the contents of the files, so it's being "automatically figured out" and that process often goes wrong.&lt;/P&gt;&lt;P&gt;Try searching index=admin over *all time* for any fairly unique string that is in one of the files.&amp;nbsp; I'll bet you'll find them 6 days in the future, or somehow ingested as if they were from 2015.&lt;/P&gt;&lt;P&gt;If that's not the problem then it might be helpful to have a snippet of the first bits of one of those files.&lt;/P&gt;&lt;P&gt;Happy Splunking!&lt;/P&gt;&lt;P&gt;-Rich&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 21:52:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678546#M113389</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-02-23T21:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not getting ingested</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678562#M113393</link>
      <description>&lt;P&gt;Apart from what &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205010"&gt;@Richfez&lt;/a&gt; said, crcSalt is rarely useful. It's often better to raise the size of the chunk of data used to calculate file's crc (the crcLength option if memory serves me right).&lt;/P&gt;&lt;P&gt;And just to be on the safe side - where are you putting those transforms? They should not be on the UF but on the first "heavy" component - HF or indexer - in event's path.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 08:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-getting-ingested/m-p/678562#M113393</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-02-24T08:03:57Z</dc:date>
    </item>
  </channel>
</rss>

