IIS logs Prometheus exporter

3,054 views
Skip to first unread message

matjabl...@gmail.com

unread,
Feb 28, 2018, 4:35:08 AM2/28/18
to Prometheus Developers

Hi,

 

Recently, my company and I have been working on a new type of Prometheus exporter,

which can parse logs from Windows IIS and provide metrics for Prometheus.

Main motivation for it was collecting metrics from websites hosted on IIS

(amount of processed HTTP requests, response times, request sizes etc.)

It is all written in golang and you can run it as a Windows Service.

Here you can find source code: https://github.com/GrupaPracuj/iislog-prometheus-exporter/

We would like to add it to the list of available exporters.

Any feedback or suggestions will be appreciated.

 

Mateusz

Brian Brazil

unread,
Feb 28, 2018, 4:39:52 AM2/28/18
to matjabl...@gmail.com, Prometheus Developers
On 28 February 2018 at 09:35, <matjabl...@gmail.com> wrote:

Hi,

 

Recently, my company and I have been working on a new type of Prometheus exporter,

which can parse logs from Windows IIS and provide metrics for Prometheus.

Main motivation for it was collecting metrics from websites hosted on IIS

(amount of processed HTTP requests, response times, request sizes etc.)

It is all written in golang and you can run it as a Windows Service.

Here you can find source code: https://github.com/GrupaPracuj/iislog-prometheus-exporter/

We would like to add it to the list of available exporters.


It sounds like that would already be covered by https://github.com/fstab/grok_exporter
 

Any feedback or suggestions will be appreciated.

 

Mateusz

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/6fcfb4b1-0035-4e61-8af0-fb8347cb91b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

matjabl...@gmail.com

unread,
Feb 28, 2018, 9:21:28 AM2/28/18
to Prometheus Developers
Thanks for the quick reply.

I can see 2 major advantages of our approach.
The first one is monitoring all log files in a given directory (as far I can see grok_exporter watches only single file). This is extremely helpful, considering log rotation. IIS usually creates 1 new log file per day
and I think it makes grok_exporter impossible to use in that case.
The second is ability to watch many directories (one for each website). Therefore, you don't need more than one exporter instance to monitor many websites.
It has also full support of rfc 6570 uri patterns (which makes labeling configuration easy), consul integration and easy installation as a Windows Service.


W dniu środa, 28 lutego 2018 10:39:52 UTC+1 użytkownik Brian Brazil napisał:
On 28 February 2018 at 09:35, <matjabl...@gmail.com> wrote:

Hi,

 

Recently, my company and I have been working on a new type of Prometheus exporter,

which can parse logs from Windows IIS and provide metrics for Prometheus.

Main motivation for it was collecting metrics from websites hosted on IIS

(amount of processed HTTP requests, response times, request sizes etc.)

It is all written in golang and you can run it as a Windows Service.

Here you can find source code: https://github.com/GrupaPracuj/iislog-prometheus-exporter/

We would like to add it to the list of available exporters.


It sounds like that would already be covered by https://github.com/fstab/grok_exporter
 

Any feedback or suggestions will be appreciated.

 

Mateusz

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus...@googlegroups.com.



--

petel...@googlemail.com

unread,
Jun 13, 2018, 5:08:39 PM6/13/18
to Prometheus Developers
Hell there.

Doesn’t seem to suppprt fields with ( ) in the name. Something you are aware of?

Cheers

Pete
Reply all
Reply to author
Forward
0 new messages