How can I export the system Log file created by the system to a CSV or Text file ?
Article Comments
I'm referring to the Log Tab in the sensors page or the LOG tab for the overall PRTG.
Apr, 2012 - Permalink
Then maybe the PRTG API will help, you can access the 'recent messages' of an objects Log in PRTG using the PRTG API, please see "Setup"->"PRTG API"->"Live Data" and select "messages: list of most recent log entries" under "Table content" in the XML Query builder.
Apr, 2012 - Permalink
dannriag, thank you for the KB-Post. I'm afraid filtering by date needs to be done in a separate step with another tool. The PRTG API can't do this.
Jun, 2018 - Permalink
Not sure if this is new for a later version, but I'm filtering on deleted items (filter_status) between 2 date ranges (filter_dstart, filter_dend)
/api/table.xml?content=messages&start=0&filter_dstart=2018-11-15&filter_dend=2018-11-16&columns=objid,datetime,type,name,status,message&filter_status=506
This seems to be returning the right time/date range.
Not sure if this is what you were looking for, but might be useful for someone else in the future
Nov, 2018 - Permalink
Hello,
are you referring to the "Logs"-Page in the PRTG main menu or the "Logs (System)"-Folder in PRTGs data directory?
best regards
Apr, 2012 - Permalink