Object xpath in PanOS config logs

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Object xpath in PanOS config logs

L4 Transporter

In the PanOS GUI under Config logs there is column "Full Path", which shows the full xpath of the edited objects. However the "Full Path" is not part of the actual syslog Config message and I also can't find a customer "Full Path" field in the Custom Log format fields. 




Do you know how can we add it to the syslog messages? 


Cyber Elite
Cyber Elite


The default syslog message should include the path to what was modified, but if you have customized this you would need to add the $path variable. 

L4 Transporter

@BPry The config log message has the path in format "device-group dg_name address", but not the actual xpath. You get the same from the "$path" variable. 

The full xpath is showing in the GUI and I was wondering if anyone know of way of also having it in the config syslog. 

Using the full xpath would make a big difference when automating log search queries. 


Ya, I read that question way too quickly. The only syslog fields that will display the actual xpath is $before_change_detail and $after_change_detail. 

L0 Member

Use the full xpath would make a big difference when automating log search queries myPennMedicine Login

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!