<?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 Configuration change logging options in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/configuration-change-logging-options/m-p/42035#M966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd like to implement some detailed config change logging from the PA device, preferably using the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, it would contain some/most/all of the fields seen in Monitoring-&amp;gt;Logs-&amp;gt;Configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While we currently have syslog setup which records most of what we need, the above "Before Change" and "After Change" diff comparison would be advantageous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our suspicion is that the granularity of the logging seen in the above-mentioned location is an internal thing and not exportable&amp;nbsp; (other than actually exporting via the CSV file mentioned on the page, but to do this in an automated fashion would require screen-scraping, etc..).&amp;nbsp; I have looked at the REST API reference, but cannot find a path that enables us to do what we're after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 14:05:54 GMT</pubDate>
    <dc:creator>suppa</dc:creator>
    <dc:date>2013-02-20T14:05:54Z</dc:date>
    <item>
      <title>Configuration change logging options</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/configuration-change-logging-options/m-p/42035#M966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd like to implement some detailed config change logging from the PA device, preferably using the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, it would contain some/most/all of the fields seen in Monitoring-&amp;gt;Logs-&amp;gt;Configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While we currently have syslog setup which records most of what we need, the above "Before Change" and "After Change" diff comparison would be advantageous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our suspicion is that the granularity of the logging seen in the above-mentioned location is an internal thing and not exportable&amp;nbsp; (other than actually exporting via the CSV file mentioned on the page, but to do this in an automated fashion would require screen-scraping, etc..).&amp;nbsp; I have looked at the REST API reference, but cannot find a path that enables us to do what we're after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 14:05:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/configuration-change-logging-options/m-p/42035#M966</guid>
      <dc:creator>suppa</dc:creator>
      <dc:date>2013-02-20T14:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configuration change logging options</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/configuration-change-logging-options/m-p/42036#M967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what I got.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Query]&lt;/P&gt;&lt;P&gt;## 100 logs (nglos) in this case. Replace "APIKEY".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hostname/api/?type=log&amp;amp;log-type=config&amp;amp;nlogs=100&amp;amp;key=APIKEY"&gt;https://hostname/api/?type=log&amp;amp;log-type=config&amp;amp;nlogs=100&amp;amp;key=APIKEY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;response status="success" code="19"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;result&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;line&amp;gt;query job enqueued with jobid 596&amp;lt;/line&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;job&amp;gt;596&amp;lt;/job&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/result&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Retrieve logs]&lt;/P&gt;&lt;P&gt;## job-id 596 is from the output above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hostname/api?/type=log&amp;amp;action=get&amp;amp;job-id=596&amp;amp;key=APIKEY"&gt;https://hostname/api?/type=log&amp;amp;action=get&amp;amp;job-id=596&amp;amp;key=APIKEY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&amp;lt;before-change-preview&amp;gt;&lt;/P&gt;&lt;P&gt;radmin { permissions { role-based { superuser yes; } } }&lt;/P&gt;&lt;P&gt;&amp;lt;/before-change-preview&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;after-change-preview&amp;gt;&lt;/P&gt;&lt;P&gt;radmin { permissions { role-based { custom { profile testrole; }&lt;/P&gt;&lt;P&gt;&amp;lt;/after-change-preview&amp;gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Yasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 07:51:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/configuration-change-logging-options/m-p/42036#M967</guid>
      <dc:creator>ymiyashita</dc:creator>
      <dc:date>2013-04-04T07:51:46Z</dc:date>
    </item>
  </channel>
</rss>

