Xpath for the server profile syslog

Reply
Highlighted
L1 Bithead

Xpath for the server profile syslog

I'm building a script to keep a device up to date with the rules we are using at our production site.  I've found most of the xpath locations I need with the API explorer except one is elluding me. 

 

In the web ui configuration it is: Device->Server Profiles->syslog

 

What's the xpath?

 

I thought maybe it would be /config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/server-profile but that is missing syslog

 

 

L4 Transporter

Re: Xpath for the server profile syslog

log server profiles are in shared, not devices, the XPath is /config/shared/log-settings/syslog

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 Live Community as a whole!

The Live Community thanks you for your participation!