- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Download PTOPLOG via WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:32 PM
Hi,
Im trying to export the PTOPLOG via WAPI but i'm getting an error. I can download the AUDITLOG file the same way and this works. Im on NIOS 9.0.3.
I try this curl command (from the manual in link below)
curl -k1 -u admin:infoblox -H "Content-Type: application/json" -X POST https://10.12.21.107/wapi/v2.9.7/fileop?_function\=get_log_files -d '{"include_rotated":false,"log_type":"PTOPLOG","node_type":"ACTIVE"}'
I get
"Error": "AdmConProtoError: Invalid value for log_type (\"PTOPLOG\") valid values are: SYSLOG, AUDITLOG, MSMGMTLOG, DELTALOG, OUTBOUND",
When I try the AUDITLOG it works fine, I get the download link and can download the log.
PTOP info
From the manual how to download it via WAPI
https://docs.infoblox.com/space/nios90/280760719/Collecting+Database+Performance+Data
Should be a valid argument:
https://ipam.illinois.edu/wapidoc/objects/fileop.html?highlight=ptoplog
Am I doing something wrong or is it a bug. Or is there an alternative way to see this logging or the CPU useage per process.