SCP Export Query from Panorama

cancel
Showing results for 
Search instead for 
Did you mean: 

SCP Export Query from Panorama

L2 Linker

I'm having a bit of trouble with the format for exporting traffic logs from Panorama for a particular user. I've setup the CLI command as below but the resulting csv file is empty.

 

scp export log traffic query "user.src equals <username>" ...

scp export log traffic query "username equals <username>" ...

 

I've also tried "equal" instead of "equals" but not having much luck. Does anyone know what the correct format should be to query the username?

 

Thanks,

Ash

 

1 ACCEPTED SOLUTION

Accepted Solutions

Cyber Elite
Cyber Elite

You can format the query exactly how you would if you ran it on the GUI, so your query would actually be 

scp export log traffic query equal " ( user.src eq 'domain\user' ) " ...

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

You can format the query exactly how you would if you ran it on the GUI, so your query would actually be 

scp export log traffic query equal " ( user.src eq 'domain\user' ) " ...

Thanks BPry, that great to know and has worked.

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!