<?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 Need help ingesting /var/log/mail.log.1 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678800#M113436</link>
    <description>&lt;P&gt;I have a number of log-rotated files for mail.log in the /var/log folder on a unix system. The /var/log/mail.log file gets ingested just fine, so I know permissions aren't an issue. However, I'd like to also ingest the older data that was log-rotated, but for the purpose of ingesting, those files were untarred again, so I have mail.log.1 to mail.log.4&lt;/P&gt;&lt;P&gt;I have tried numerous stanzas and regexes in the whitelist, but none lead to the older data getting ingested.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one I currently have in place is:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[monitor:///var/log/]&lt;BR /&gt;index = postfix&lt;BR /&gt;sourcetype = postfix_syslog&lt;BR /&gt;whitelist = (mail\.log$|mail\.log\.\d+)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2024 10:37:11 GMT</pubDate>
    <dc:creator>rene_splunk</dc:creator>
    <dc:date>2024-02-27T10:37:11Z</dc:date>
    <item>
      <title>Need help ingesting /var/log/mail.log.1</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678800#M113436</link>
      <description>&lt;P&gt;I have a number of log-rotated files for mail.log in the /var/log folder on a unix system. The /var/log/mail.log file gets ingested just fine, so I know permissions aren't an issue. However, I'd like to also ingest the older data that was log-rotated, but for the purpose of ingesting, those files were untarred again, so I have mail.log.1 to mail.log.4&lt;/P&gt;&lt;P&gt;I have tried numerous stanzas and regexes in the whitelist, but none lead to the older data getting ingested.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one I currently have in place is:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[monitor:///var/log/]&lt;BR /&gt;index = postfix&lt;BR /&gt;sourcetype = postfix_syslog&lt;BR /&gt;whitelist = (mail\.log$|mail\.log\.\d+)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678800#M113436</guid>
      <dc:creator>rene_splunk</dc:creator>
      <dc:date>2024-02-27T10:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help ingesting /var/log/mail.log.1</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678807#M113439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263823"&gt;@rene_splunk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///var/log/mail.log*]
index = postfix
sourcetype = postfix_syslog&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 11:08:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678807#M113439</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-27T11:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help ingesting /var/log/mail.log.1</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678810#M113440</link>
      <description>&lt;P&gt;Thanks Giuseppe,&lt;/P&gt;&lt;P&gt;I don't see any historical data in my index as yet, this is what's in the splunkd.log file&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="splunk_inputs.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29502i031E150481B29386/image-size/medium?v=v2&amp;amp;px=400" role="button" title="splunk_inputs.png" alt="splunk_inputs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 11:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-ingesting-var-log-mail-log-1/m-p/678810#M113440</guid>
      <dc:creator>rene_splunk</dc:creator>
      <dc:date>2024-02-27T11:24:49Z</dc:date>
    </item>
  </channel>
</rss>

