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.
Note
By default, this engine take everything from the Salt bus and exports into Logstash. For a better selection of the events that you want to publish, you can use the tags
and funs
options.
configuration: |
Example configuration engines:
- http_logstash:
url: http://blabla.com/salt-stuff
tags:
- salt/job/*/new
- salt/job/*/ret/*
funs:
- probes.results
- bgp.config
|
---|
Listen to salt events and forward them to logstash.
None
fun
field from the event data. This option helps to select the events generated by one or more functions. If an event does not have the fun
field in the data section, it will be published. For a better selection, consider using the tags
option. By default, this option accepts any event to be submitted to Logstash.None
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/engines/all/salt.engines.http_logstash.html