What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Export PRTG Logs to splunk

Votes:

0

Hi i have a huge amount of new log entries coming my way on my prtg and i can't physically read them all and find the most important ones so I need a way to parse through them and find the most important ones to act on and I am using prtg for this matter and it is awesome but I need a way to send prtg log entries to Splunk, if they are written to a file or i can get them via an http get or even if there is a capability to send them to another server? if anything is possible please help me it is very important to me. thanks in advance

export logs splunk

Created on Jul 21, 2019 1:40:15 PM



1 Reply

Accepted Answer

Votes:

1

Hi there,

You can use PRTG's API which allows you to export all Logs in JSON, XML or CSV:
https://www.paessler.com/manuals/prtg/application_programming_interface_api_definition

To get the last 500 entries of your logs, please use this URL (it returns the data in JSON):

/api/table.json?content=messages&columns=datetime,parent,type,name,status,message&sortby=date&count=500

If you want to use this API call unauthenticated (via a script) then you need to add credentials:
https://www.paessler.com/manuals/prtg/http_api#authentication

Best Regards

Created on Jul 22, 2019 10:30:42 AM by  Dariusz Gorka [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.