Downloading pcaps with panxapi

Reply
Not applicable

Downloading pcaps with panxapi

I'm trying to download application-pcap files using panxapi (not just file listings), but am not able to get it to work right.

My end goal is to specify a folder and have it download every .pcap in that folder.

Running panxapi like this just gives me a list of files in the given directory:

./bin/panxapi.py --export application-pcap --recursive --src /20140702/ --dst ./pcap/ -DDD

If I specify a file instead of an entire directory, I get an error message:

./bin/panxapi.py --export application-pcap --recursive --src /20140702/<filename>.pcap --dst ./pcap/test.pcap -D

export: "no handler for content-type: set(['text/plain'])"

Has anyone gotten pcap downloads to work with panxapi, and if so, what syntax did you use?

L7 Applicator

Re: Downloading pcaps with panxapi

Hi,

There is an issue right now with this feature and seems is not fixed in 6.0.4. We will track if the fix will come in next release.

Sorry about that

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!