Not able to introduce "?" in log-link

Reply
Highlighted
L4 Transporter

Not able to introduce "?" in log-link

Hi,

 

Im trying to configure a log-link web with the character "?" in the middle but the PA is deleting this character "?"

Do you know if there is any way to put the question mark character "?" in the URL

 

for example this:

set deviceconfig system log-link VirusTotal.Dst url https://www.virustotal.com/en?/ip-address/{dst}/information

Highlighted
L7 Applicator

Re: Not able to introduce "?" in log-link

try replacing the ? with %3F 

 

https://www.w3schools.com/tags/ref_urlencode.asp

Highlighted
L4 Transporter

Re: Not able to introduce "?" in log-link

test {
url 'https://test.local/ip-addresses/"%3F"{src}';

 

its not taking the %3F as ?.

L7 Applicator

Re: Not able to introduce "?" in log-link

try without the quotation marks, ie:  https://test.local/ip-addresses/%3F{src}

 

Highlighted
L4 Transporter

Re: Not able to introduce "?" in log-link

Same.

Doing the "show deviceconfig system log-link" we can not see the ?

Highlighted
L7 Applicator

Re: Not able to introduce "?" in log-link

You will not see the "?" in the PAN-OS CLI or GUI... you will only see %3F.  However, when you click on the log-link, your web-browser will translate the %3F to ? 

Highlighted
L4 Transporter

Re: Not able to introduce "?" in log-link

This is the browser web when i clik in the log-link. Its not being translated  

 

Highlighted
L4 Transporter

Re: Not able to introduce "?" in log-link

its solved, introducing contrl+v and then ? , its working fine

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!