<?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 OpenVMS Audit logs in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163900#M105630</link>
    <description>&lt;P&gt;how does everyone open a new Security audit journal ?&amp;nbsp; do you have a batch job do it?&amp;nbsp; I'd like to close out on a weekly basis. also has anyone had any luck moving the old audit journals to a splunk server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 19:31:29 GMT</pubDate>
    <dc:creator>jpd252</dc:creator>
    <dc:date>2022-04-06T19:31:29Z</dc:date>
    <item>
      <title>OpenVMS Audit logs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163900#M105630</link>
      <description>&lt;P&gt;how does everyone open a new Security audit journal ?&amp;nbsp; do you have a batch job do it?&amp;nbsp; I'd like to close out on a weekly basis. also has anyone had any luck moving the old audit journals to a splunk server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 19:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163900#M105630</guid>
      <dc:creator>jpd252</dc:creator>
      <dc:date>2022-04-06T19:31:29Z</dc:date>
    </item>
    <item>
      <title>Query: OpenVMS Audit logs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163903#M105632</link>
      <description>&lt;P style="margin: 0;"&gt;&lt;STRONG&gt;System recommended content:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;1. &lt;A href="https://community.hpe.com/hpeb/plugins/custom/hp/hpebresponsive/article_click_sprinklr_bot?clickData=eyJxdWVyeVBpcGVsaW5lIjoiU3ByaW5rbHItQXV0b21hdGlvbiIsImRvY3VtZW50VXJpSGFzaCI6IjJ5cG5Zc3ozbXFzRW5NVmsiLCJzb3VyY2VOYW1lIjoiY2RwLWttLWRvY3VtZW50LXByby1oNC12MiIsImRvY3VtZW50VGl0bGUiOiJIUEUgU1NNQyAzLjgueCBVc2VyIEd1aWRlIHwgIEZpbGUgYWNjZXNzIGF1ZGl0IGxvZ3MiLCJhcnRpY2xlQ2xpY2tVcmwiOiJodHRwczovL3N1cHBvcnQuaHBlLmNvbS9ocGVzYy9wdWJsaWMvZG9jRGlzcGxheT9kb2NJZD1zZDAwMDAxMjAxZW5fdXMmcGFnZT1maWxlX3BlcnNvbmFfZmlsZV9hY2Nlc19hdWRpdF9sb2dzX2Fib3V0Lmh0bWwiLCJzZWFyY2hRdWVyeVVpZCI6IjA3NjNmZDkyLTZlNDAtNDZhMy05NDJlLWUzNmViYzhhNjIyNSJ9" target="_blank" rel="noopener"&gt;HPE SSMC 3.8.x User Guide |  File access audit logs&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Thank you for being a HPE valuable community member.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 20:32:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163903#M105632</guid>
      <dc:creator>support_s</dc:creator>
      <dc:date>2022-04-06T20:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Audit logs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163904#M105633</link>
      <description>&lt;P&gt;&amp;gt; how does everyone open a new Security audit journal ? [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I can't speak for everyone.&amp;nbsp; I have a DCL script which I try to&lt;BR /&gt;remember to use annually.&lt;/P&gt;&lt;P&gt;&amp;gt; [...] do you have a batch job do it? [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I do it manually, in case my (not-well-tested) procedure does&lt;BR /&gt;something unexpected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Use/examine at your own risk:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$!                                              2014-01-02  SMS.
$!
$! Annual security audit file management.
$!
$!    Note:
$!    If you omit the file-spec parameter, the Audit Analysis utility
$!    (ANALYZE /AUDIT) searches for the default audit log file
$!    SECURITY.AUDIT$JOURNAL. 
$!
$!    The default audit log file is created in the SYS$COMMON:[SYSMGR]
$!    directory. To use the file, specify SYS$MANAGER on the ANALYZE
$!    /AUDIT command line. If you do not specify a directory, the
$!    utility searches for the file in the current directory.
$!
$ year = f$cvtime( f$time(), , "year")          ! This year.
$ pyear = year- 1                               ! Previous year.
$!
$! Disable auditing.
$!
$ SET AUDIT /SERVER = EXIT
$!
$! Save previous year's audit journal data in SECURITY_pyear.AUDIT$JOURNAL.
$!
$ ANALYZE /AUDIT /BINARY /SINCE = 1-JAN-'pyear' /BEFORE = 1-JAN-'year' -
   /OUTPUT = SYS$COMMON:[SYSMGR]SECURITY_'pyear'.AUDIT$JOURNAL -
   SYS$MANAGER:SECURITY.AUDIT$JOURNAL
$!
$! Extract current year's SECURITY.AUDIT$JOURNAL data into new
$! SECURITY.AUDIT$JOURNAL.
$!
$ ANALYZE /AUDIT /BINARY /SINCE = 1-JAN-'year' -
   /OUTPUT = SYS$COMMON:[SYSMGR]SECURITY.AUDIT$JOURNAL_new -
   SYS$MANAGER:SECURITY.AUDIT$JOURNAL
$!
$ RENAME SYS$COMMON:[SYSMGR]SECURITY.AUDIT$JOURNAL_new -
  SYS$COMMON:[SYSMGR]SECURITY.AUDIT$JOURNAL;
$!
$! Restart audit server.
$!
$ @ SYS$SYSTEM:STARTUP.COM AUDIT_SERVER
$!
$ write sys$output "   Delete SYS$MANAGER:SECURITY.AUDIT$JOURNAL;-1 ?"
$ write sys$output "   Compress SYS$MANAGER:SECURITY_''pyear'.AUDIT$JOURNAL ?"
$!&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 Apr 2022 21:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-audit-logs/m-p/7163904#M105633</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2022-04-06T21:40:00Z</dc:date>
    </item>
  </channel>
</rss>

