<?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 Reference guide to configuration xpath and entry? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/reference-guide-to-configuration-xpath-and-entry/m-p/488331#M104804</link>
    <description>&lt;P&gt;Is there any PA published document for the node paths and entries in the configuration file? And how do you tell if something is a path or an entry in the config? It seems extremely painful to try and figure out an xpath to pull the data you want. Searching the forums and KB has some hints, but no over arching config format information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance... i want to pull the routing table config for comparison between firewalls (because you can't sort or export the routing table in the GUI). So you have to dig thru the entire config (because there is no tab/path complete) and eventually figure out you want the "/devices/localhost.localdomain/network/virtual-router/default/routing-table" xpath.... But that doesn't work, because apparently some of those are entries, not paths, but there is no way to know that in the config file itself. So you finally come up with a command through trial and error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;show config running xpath&amp;nbsp;"devices/entry[@name='localhost.localdomain']/network/virtual-router/entry[@name='default']/routing-table"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surely there is an easier way?&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 20:09:30 GMT</pubDate>
    <dc:creator>Adrian_Jensen</dc:creator>
    <dc:date>2022-05-18T20:09:30Z</dc:date>
    <item>
      <title>Reference guide to configuration xpath and entry?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/reference-guide-to-configuration-xpath-and-entry/m-p/488331#M104804</link>
      <description>&lt;P&gt;Is there any PA published document for the node paths and entries in the configuration file? And how do you tell if something is a path or an entry in the config? It seems extremely painful to try and figure out an xpath to pull the data you want. Searching the forums and KB has some hints, but no over arching config format information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance... i want to pull the routing table config for comparison between firewalls (because you can't sort or export the routing table in the GUI). So you have to dig thru the entire config (because there is no tab/path complete) and eventually figure out you want the "/devices/localhost.localdomain/network/virtual-router/default/routing-table" xpath.... But that doesn't work, because apparently some of those are entries, not paths, but there is no way to know that in the config file itself. So you finally come up with a command through trial and error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;show config running xpath&amp;nbsp;"devices/entry[@name='localhost.localdomain']/network/virtual-router/entry[@name='default']/routing-table"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surely there is an easier way?&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 20:09:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/reference-guide-to-configuration-xpath-and-entry/m-p/488331#M104804</guid>
      <dc:creator>Adrian_Jensen</dc:creator>
      <dc:date>2022-05-18T20:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reference guide to configuration xpath and entry?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/reference-guide-to-configuration-xpath-and-entry/m-p/488361#M104805</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/184804"&gt;@Adrian_Jensen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I can't say I've ever seen this documented anywhere, its been more of something that you just kind of pick up on as you work with the platform more.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download the configuration file itself and have an IDE like VisualStudio Code that will actually parse the XML for you and list everything out. That or just having a good look at the structure of the configuration file itself would probably be faster than trial and error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 21:05:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/reference-guide-to-configuration-xpath-and-entry/m-p/488361#M104805</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2022-05-18T21:05:07Z</dc:date>
    </item>
  </channel>
</rss>

