telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

Windows Event Log input plugin

Open psimsa opened this issue 6 years ago • 3 comments

Feature Request

It would be beneficial to be able to gather windows event logs in a similar fashion as collecting syslog

Proposal:

I am currently developing an input plugin with this functionality for my own personal use and would like to contribute. In the simplest form, I simply provide a []string with the event log names I wish to subscribe to. It implements the ServiceInput interface for an ongoing collection.

Use case:

Monitoring and alerting of Windows computers

psimsa avatar Aug 15 '20 11:08 psimsa

Initial working version can be found at https://github.com/ofcoursedude/telegraf/tree/winevtlog (specifically under https://github.com/ofcoursedude/telegraf/tree/winevtlog/plugins/inputs/winevtlog). Check the readme of the plugin to see the builds, too :-)

psimsa avatar Aug 15 '20 14:08 psimsa

@ofcoursedude check pr #8000

simnv avatar Aug 19 '20 06:08 simnv

Thanks for your interest on building this plugin. We already have a larger Windows Event Log input plugin issue at #4525.

We would love your feedback on PR #8000 if there are any additional enhancements you'd like to see.

sjwang90 avatar Aug 21 '20 02:08 sjwang90