Hi Everyone
I'm after some help. I've got a vanilla instance of salt master (2016.3.4-1el7) and a minion running on a dev box (Centos 7).
I'm trying to get it to send the event logs to an Elastic Stack logstash server but i'm not having much luck.
in the salt-master config file i have the following
engines:
- logstash:
host: <IP address here>
port: 5959
The only additional package i've installed is python-logstash (0.4.6) via PIP
if i telnet to the IP and port (logstash) it does connect and shows a connection. but salt doesn't seem to do anything itself.
The saltstack docs mention adding that engines section and them being dependant on logstash. but i'm not sure what action I need to take for the dependancy. or if i need to install any external package or modules.
I have seen the following issue on git
https://github.com/saltstack/salt/issues/34551and before i tried the adjustment to the logstash.py file it was throwing a critical for the engine salt.loader.lazyloader
"[CRITICAL] Engine <salt.loader.LazyLoader object at 0xfbe790> could not be started! Error: 'str' object does not support item assignment"
with the adjustment the critical goes away.
I'll accept I may just be getting confused or missing something obvious in the docs. but has anyone actually got this working?
If so could they let me know how, what config, what needed installing etc?
Thanks