<?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: Scheduled export of csv system log for Global Protect logins in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244534#M69774</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/100854"&gt;@dpeterson4&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Do it through the API. Since you can't query the system logs in a custom job you can't really schedule it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;firewall&lt;SPAN&gt;/api/?type=log&amp;amp;log-type=system&amp;amp;query=(eventid eq globalprotectportal-auth-succ)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Obviously replace the query with your own.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://firewall/api/?type=log&amp;amp;action=get&amp;amp;job-id=id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pull the job-id from the first command by reading &amp;lt;job&amp;gt;&lt;EM&gt;value&lt;/EM&gt;&amp;lt;/job&amp;gt; and feed that value into the second command.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 20:53:45 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2018-12-27T20:53:45Z</dc:date>
    <item>
      <title>Scheduled export of csv system log for Global Protect logins</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244524#M69772</link>
      <description>&lt;P&gt;Have been looking around trying to find this and can't find it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a filter for system logs to filter all the successfull Global Protect logins for the last calendar week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been manually exporting this to a csv but wanted to schedule the process to email the csv out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:55:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244524#M69772</guid>
      <dc:creator>dpeterson4</dc:creator>
      <dc:date>2018-12-27T19:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled export of csv system log for Global Protect logins</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244534#M69774</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/100854"&gt;@dpeterson4&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Do it through the API. Since you can't query the system logs in a custom job you can't really schedule it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;firewall&lt;SPAN&gt;/api/?type=log&amp;amp;log-type=system&amp;amp;query=(eventid eq globalprotectportal-auth-succ)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Obviously replace the query with your own.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://firewall/api/?type=log&amp;amp;action=get&amp;amp;job-id=id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pull the job-id from the first command by reading &amp;lt;job&amp;gt;&lt;EM&gt;value&lt;/EM&gt;&amp;lt;/job&amp;gt; and feed that value into the second command.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 20:53:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244534#M69774</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2018-12-27T20:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled export of csv system log for Global Protect logins</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244536#M69776</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/43480"&gt;@BPry&lt;/a&gt;&amp;nbsp;Thanks for the info!&amp;nbsp; Got that to work but it's only returning 20 log entries and there are over 600.&amp;nbsp; Any idea on how to get it to show all of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Dustin&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:05:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244536#M69776</guid>
      <dc:creator>dpeterson4</dc:creator>
      <dc:date>2018-12-27T21:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled export of csv system log for Global Protect logins</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244537#M69777</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/100854"&gt;@dpeterson4&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You need to modify the nlogs value, which defaults to 20 if not included in the request.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;SPAN&gt;firewall&lt;/SPAN&gt;&lt;SPAN&gt;/api/?type=log&amp;amp;log-type=system&amp;amp;query=(eventid eq globalprotectportal-auth-succ)&amp;amp;nlogs=5000&amp;amp;key=&lt;EM&gt;key&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:42:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244537#M69777</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2018-12-27T21:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled export of csv system log for Global Protect logins</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244538#M69778</link>
      <description>&lt;P&gt;Awesome!! You rock, that did it, thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:52:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/scheduled-export-of-csv-system-log-for-global-protect-logins/m-p/244538#M69778</guid>
      <dc:creator>dpeterson4</dc:creator>
      <dc:date>2018-12-27T21:52:48Z</dc:date>
    </item>
  </channel>
</rss>

