<?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: Monitor all Ontap Logons in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446693#M42661</link>
    <description>&lt;P&gt;I am playing about with this and it could work - However defining the 'name pattern' for successful logons is proving elusive. Do you happen to know what this might be?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 13:04:19 GMT</pubDate>
    <dc:creator>Diarmuid</dc:creator>
    <dc:date>2023-08-07T13:04:19Z</dc:date>
    <item>
      <title>Monitor all Ontap Logons</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446649#M42653</link>
      <description>&lt;P&gt;We would like to record all logons, successful &amp;amp; failed,&amp;nbsp; to all Cluster instances over SSH &amp;amp; HTTP, on a daily basis.&amp;nbsp; Within Ontap this can be achieved using security logon show with syntax similar to this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;security audit log show -fields application, location, state, input, username -input v*|st* -timestamp &amp;gt;"Jul 30 12:00:00 2023"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to use Powershell to grab similar output from multiple controllers on a daily basis but the Ontap PS Module does not appear to have an appropriate applet.&amp;nbsp; When using this command with &lt;EM&gt;invoke-ncssh&lt;/EM&gt; we encounter issues whenever we assign the -timestamp option&amp;nbsp; where a "&lt;EM&gt;Error: The expression is missing a value&lt;/EM&gt;" is returned so we cannot limit the output to a time frame. If we run the command without a timestamp option and push the content into an array the data within cannot be interrogated correctly using GM options as the output is not familiar to Powershell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The end goal is to generate a report of all logon attempts daily - has anyone achieved this successfully with Powershell or other?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks, D&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:46:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446649#M42653</guid>
      <dc:creator>Diarmuid</dc:creator>
      <dc:date>2025-06-04T09:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor all Ontap Logons</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446681#M42657</link>
      <description>&lt;P&gt;Have you considered setting up log forwarding instead? It is probably the better option -&amp;nbsp;&lt;A href="https://docs.netapp.com/us-en/ontap/system-admin/forward-command-history-log-file-destination-task.html" target="_blank"&gt;https://docs.netapp.com/us-en/ontap/system-admin/forward-command-history-log-file-destination-task.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 01:46:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446681#M42657</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2023-08-07T01:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor all Ontap Logons</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446693#M42661</link>
      <description>&lt;P&gt;I am playing about with this and it could work - However defining the 'name pattern' for successful logons is proving elusive. Do you happen to know what this might be?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 13:04:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Monitor-all-Ontap-Logons/m-p/446693#M42661</guid>
      <dc:creator>Diarmuid</dc:creator>
      <dc:date>2023-08-07T13:04:19Z</dc:date>
    </item>
  </channel>
</rss>

