<?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: Another 'Unable to find API' using Perl in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124973#M2140</link>
    <description>&lt;P&gt;You are right. Thanks for the info. Now to figure out another way to get the audit logs off the filers....&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2016 16:07:42 GMT</pubDate>
    <dc:creator>JohnBill</dc:creator>
    <dc:date>2016-11-01T16:07:42Z</dc:date>
    <item>
      <title>Another 'Unable to find API' using Perl</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124934#M2137</link>
      <description>&lt;PRE&gt;#!/usr/bin/perl

use strict;
use NaServer;
use NaElement;

my $s = NaServer-&amp;gt;new ("cluster1", 1, 32);
$s-&amp;gt;set_style('LOGIN');
$s-&amp;gt;set_admin_user("admin", "password");
$s-&amp;gt;set_transport_type('HTTP');
$s-&amp;gt;set_server_type('FILER');

my $in = NaElement-&amp;gt;new("audit-log-get-iter");
my $out = $s-&amp;gt;invoke_elem($in);
if ($out-&amp;gt;results_status() eq "failed") {
    print($out-&amp;gt;results_reason() ."\n");
    exit(1);
}&lt;/PRE&gt;&lt;P&gt;When I run this code I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to find API: audit-log-get-iter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This API is in the cluster&amp;nbsp;family according to the OntapClusterAPI doc so I am not setting a vserver and I'm logging into the cluster management LIF. Other Cluster family APIs work (like audit-get)&amp;nbsp;but audit-log-get-iter does not. Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:26:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124934#M2137</guid>
      <dc:creator>JohnBill</dc:creator>
      <dc:date>2025-06-04T18:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Another 'Unable to find API' using Perl</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124941#M2138</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a look at the API version in the NMSDK and it appears that the "audit-log-get-iter" is supported in ONTAP9.X (API version 1, 100). Which version of ONTAP are you trying to invoke the API against? Here is an example for ONTAP9.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/6350iFF75220C743DA801/image-size/original?v=v2&amp;amp;px=-1" alt="audit_log_get_iter.png" title="audit_log_get_iter.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 00:28:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124941#M2138</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2016-11-01T00:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Another 'Unable to find API' using Perl</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124973#M2140</link>
      <description>&lt;P&gt;You are right. Thanks for the info. Now to figure out another way to get the audit logs off the filers....&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 16:07:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Another-Unable-to-find-API-using-Perl/m-p/124973#M2140</guid>
      <dc:creator>JohnBill</dc:creator>
      <dc:date>2016-11-01T16:07:42Z</dc:date>
    </item>
  </channel>
</rss>

