One of my customer is trying to search within the traffic log, using XML API, specific host (IP address).
He use this kind of request:
https://IP-Panorama/api//api/?key=<Clef Valide>&type=log&log-type=traffic&query=(receive_time geq '2012/06/22 08:00:00')
In this case there is no specific IP, but it gives us the same when we're looking for a specific address.
The CSV returned subnets IP for src and dst. Never a specific /32 host.
<srcloc code="10.0.0.0-10.255.255.255" cc="10.0.0.0-10.255.255.255">10.0.0.0-10.255.255.255</srcloc>
<dstloc code="United States" cc="US">United States</dstloc>
Do you have any idea? Are you guys already experience such issue?
I've just tested this with Postman against my Panorama, I got real IP addresses not subnets when looking at the XML response:
I'm running 10.1.3-h1... It might be worth your customer raising a support ticket to see if there is a known problem with the version they are running, especially if it is an old version.
Hope this helps.
Thanks for your quick answer. I've just talked with my customer. He told me the issue is random. With the same request, he got good answer and sometimes not. By the way, he runs a Panorama in 9.1.8. I'm confused, before opening a case, I want an issue easy to replicate. I'll keep you in touch. Thanks again.
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!