<?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: Usefull CLI commands to work with logs in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66427#M39199</link>
    <description>&lt;P&gt;Hi SLawek&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;less on the firewall works a lot like less in linux&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you open a log file&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;shift+g will take you to the end of the file (regular 'g' will take you to start of file)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;/&amp;lt;keyword&amp;gt; to search , while in search use 'n' to go&amp;nbsp;to the next or 'N' (shift+n) to go to the previous&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;only use arrow keys to scroll up or down&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2015 13:47:31 GMT</pubDate>
    <dc:creator>reaper</dc:creator>
    <dc:date>2015-10-12T13:47:31Z</dc:date>
    <item>
      <title>Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66424#M39198</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spend a lot of time playing with logs, ie.&lt;/P&gt;&lt;PRE&gt; less mp-log ikemgr.log&lt;/PRE&gt;&lt;P&gt;How to:&lt;/P&gt;&lt;P&gt;- go to end of this file?&lt;/P&gt;&lt;P&gt;- search forward/backward keyword&lt;/P&gt;&lt;P&gt;- scrool up/down&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and you problably know many other userfull keywords. Please share with us who are not well trained &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; - yet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SLawek&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 12:59:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66424#M39198</guid>
      <dc:creator>_slv_</dc:creator>
      <dc:date>2015-10-12T12:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66427#M39199</link>
      <description>&lt;P&gt;Hi SLawek&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;less on the firewall works a lot like less in linux&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you open a log file&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;shift+g will take you to the end of the file (regular 'g' will take you to start of file)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;/&amp;lt;keyword&amp;gt; to search , while in search use 'n' to go&amp;nbsp;to the next or 'N' (shift+n) to go to the previous&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;only use arrow keys to scroll up or down&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 13:47:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66427#M39199</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2015-10-12T13:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66428#M39200</link>
      <description>&lt;P&gt;you should have fun with command 'tail' too&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 13:51:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66428#M39200</guid>
      <dc:creator>cpainchaud</dc:creator>
      <dc:date>2015-10-12T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66432#M39201</link>
      <description>&lt;P&gt;'follow' is another good one if you want to see it realtime...&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 15:47:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66432#M39201</guid>
      <dc:creator>OtakarKlier</dc:creator>
      <dc:date>2015-10-12T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66434#M39202</link>
      <description>&lt;P&gt;Could You give full comnand example for "follow"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from my finding another usefull command is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tail lines 200 mp-log ikemgr.log - shows last 200 lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SLawek&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 17:02:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66434#M39202</guid>
      <dc:creator>_slv_</dc:creator>
      <dc:date>2015-10-12T17:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66435#M39203</link>
      <description>&lt;P&gt;Here is the command reference for 'tail':&lt;/P&gt;&lt;DIV&gt;tail&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;follow {no | yes} |&lt;/DIV&gt;&lt;DIV&gt;lines &amp;lt;value&amp;gt; |&lt;/DIV&gt;&lt;DIV&gt;agent-log &amp;lt;value&amp;gt; |&lt;/DIV&gt;&lt;DIV&gt;dp-log &amp;lt;file&amp;gt; |&lt;/DIV&gt;&lt;DIV&gt;mp-log &amp;lt;file&amp;gt; |&lt;/DIV&gt;&lt;DIV&gt;webserver-log &amp;lt;file&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can find all the the CLI commands in the documentation section of the CLI Reference guides. Here is the link for the 6.1 version, &lt;A href="https://www.paloaltonetworks.com/content/dam/paloaltonetworks-com/en_US/assets/pdf/technical-documentation/pan-os-61/PAN-OS-6.1-CLI-ref.pdf" target="_blank"&gt;https://www.paloaltonetworks.com/content/dam/paloaltonetworks-com/en_US/assets/pdf/technical-documentation/pan-os-61/PAN-OS-6.1-CLI-ref.pdf&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Oct 2015 17:11:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/66435#M39203</guid>
      <dc:creator>OtakarKlier</dc:creator>
      <dc:date>2015-10-12T17:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Usefull CLI commands to work with logs</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/67088#M39425</link>
      <description>&lt;P&gt;And like Linux you can use 'h' to show a help screen with more commands on.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 13:16:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/usefull-cli-commands-to-work-with-logs/m-p/67088#M39425</guid>
      <dc:creator>MikeMeredith</dc:creator>
      <dc:date>2015-10-22T13:16:35Z</dc:date>
    </item>
  </channel>
</rss>

