An engine that reads messages from the salt event bus and pushes them onto a logstash endpoint via HTTP requests.
Changed in version 2018.3.0.
By default, this engine take everything from the Salt bus and exports into
For a better selection of the events that you want to publish, you can use
engines: - http_logstash: url: http://blabla.com/salt-stuff tags: - salt/job/*/new - salt/job/*/ret/* funs: - probes.results - bgp.config
start(url, funs=None, tags=None)¶
Listen to salt events and forward them to logstash.
funfield from the event data. This option helps to select the events generated by one or more functions. If an event does not have the
funfield in the data section, it will be published. For a better selection, consider using the
tagsoption. By default, this option accepts any event to be submitted to Logstash.