mirror of
https://github.com/Icinga/icingabeat.git
synced 2025-07-27 15:54:01 +02:00
Update type field for eventstream
This commit is contained in:
parent
ec99aea56d
commit
32db5bd0e9
@ -101,7 +101,7 @@ func (es *Eventstream) Run() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
event["@timestamp"] = common.Time(time.Now())
|
event["@timestamp"] = common.Time(time.Now())
|
||||||
event["type"] = "icingabeat"
|
event["type"] = "icingabeat.event"
|
||||||
es.icingabeat.client.PublishEvent(event)
|
es.icingabeat.client.PublishEvent(event)
|
||||||
logp.Info("Event sent")
|
logp.Info("Event sent")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user