How to receive logs from outside Azure PaaS
Posted: Thu Jul 04, 2019 1:07 pm
Hi All, its my first time posting here; also, would like to mention Im really happy with Nagios LS.
Well, my question and I hope I can be precise here....
Our Nagios LS is running as it should be, now we have a request to receive logs from an outside source (not in our LAN), this source is an Azure service (DB) which can send logs only through POSTS commands in JSON format, ex. https://ournagioslogserver/POSTS
There is no file this service can send, only raw data as JSON, also, in is NOT an instance (VM) from Azure, it is a service provided by Azure, which is able to send logs as JSON.
Question, how should I configure the INPUTS section within Nagios LS, in order to receive an outside log?
We are testing using 'Postman', using POST (or GET) with JSONPLACEHOLDER free service as an internal test resource. (ex.: http://jsonplaceholder.typicode.com/posts) bu would need to know how to send it to our https://ournagioslogserver/POSTS.
Hope this makes sense to you
Well, my question and I hope I can be precise here....
Our Nagios LS is running as it should be, now we have a request to receive logs from an outside source (not in our LAN), this source is an Azure service (DB) which can send logs only through POSTS commands in JSON format, ex. https://ournagioslogserver/POSTS
There is no file this service can send, only raw data as JSON, also, in is NOT an instance (VM) from Azure, it is a service provided by Azure, which is able to send logs as JSON.
Question, how should I configure the INPUTS section within Nagios LS, in order to receive an outside log?
We are testing using 'Postman', using POST (or GET) with JSONPLACEHOLDER free service as an internal test resource. (ex.: http://jsonplaceholder.typicode.com/posts) bu would need to know how to send it to our https://ournagioslogserver/POSTS.
Hope this makes sense to you