<?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 Increasing retention of messages file and auditlog in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20802#M1805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read in the sysadmin guide that the messages and auditlog are rotated weekly and maintained for 6 weeks.&amp;nbsp; Is there any way to change it from 6 to something higher?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For messages we could configure syslog to send them to a loghost and keep longer retention there, but for auditlog I can’t think of a solution that doesn’t involve some scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; Maybe something on the OnCommand server that collects and maintains files for a longer period?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:20:13 GMT</pubDate>
    <dc:creator>madden</dc:creator>
    <dc:date>2025-06-05T06:20:13Z</dc:date>
    <item>
      <title>Increasing retention of messages file and auditlog</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20802#M1805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read in the sysadmin guide that the messages and auditlog are rotated weekly and maintained for 6 weeks.&amp;nbsp; Is there any way to change it from 6 to something higher?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For messages we could configure syslog to send them to a loghost and keep longer retention there, but for auditlog I can’t think of a solution that doesn’t involve some scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; Maybe something on the OnCommand server that collects and maintains files for a longer period?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:20:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20802#M1805</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2025-06-05T06:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing retention of messages file and auditlog</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20807#M1807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think auditlog is rotated by size...&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1011104" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=1011104&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Scripting may be the only solution for long term retention to avoid filling root up.&lt;/P&gt;&lt;P&gt;OnCommand gathering security logs sounds good, though I think it creates most of the entries in there as it monitors....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 04:06:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20807#M1807</guid>
      <dc:creator>mglanville2</dc:creator>
      <dc:date>2012-08-29T04:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing retention of messages file and auditlog</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20812#M1809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My understanding is Data ONTAP keeps the last 6 auditlogs.&amp;nbsp; The auditlog is rotated weekly OR when the &lt;SPAN style="color: #454545; font-family: monospace; font-size: 12px; background-color: #ffffff;"&gt;auditlog.max_file_size&lt;/SPAN&gt; is reached.&amp;nbsp; So adjusting the &lt;SPAN style="color: #454545; font-family: monospace; font-size: 12px; background-color: #ffffff;"&gt;auditlog.max_file_size&lt;/SPAN&gt; won't help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I'll investigate fetching the log weekly over the API or CIFS, or maybe use PowerShell.&amp;nbsp; With PowerShell it looks like I could either get the formatted logs periodically using Get-NaSystemLog, or the raw log using Read-NaFile.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 08:45:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Increasing-retention-of-messages-file-and-auditlog/m-p/20812#M1809</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2012-08-29T08:45:08Z</dc:date>
    </item>
  </channel>
</rss>

