chore: add service input stub to Windows event log, not windows (#12837)
This commit is contained in:
parent
1b36d73a7d
commit
f104c1a708
|
|
@ -20,8 +20,10 @@ func (w *WinEventLog) Init() error {
|
||||||
w.Log.Warn("current platform is not supported")
|
w.Log.Warn("current platform is not supported")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (w *WinEventLog) SampleConfig() string { return sampleConfig }
|
func (*WinEventLog) SampleConfig() string { return sampleConfig }
|
||||||
func (w *WinEventLog) Gather(_ telegraf.Accumulator) error { return nil }
|
func (*WinEventLog) Gather(_ telegraf.Accumulator) error { return nil }
|
||||||
|
func (*WinEventLog) Start(_ telegraf.Accumulator) error { return nil }
|
||||||
|
func (*WinEventLog) Stop() {}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
inputs.Add("win_eventlog", func() telegraf.Input {
|
inputs.Add("win_eventlog", func() telegraf.Input {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue