An engine that sends events to the Logentries logging service.
| maintainer: | Jimmy Tang (jimmy_tang@rapid7.com) |
|---|---|
| maturity: | New |
| depends: | ssl, certifi |
| platform: | all |
To enable this engine the master and/or minion will need the following python libraries
ssl certifi
If you are running a new enough version of python then the ssl library will be present already.
You will also need the following values configured in the minion or master config.
| configuration: |
Example configuration engines:
- logentries:
endpoint: data.logentries.com
port: 10000
token: 057af3e2-1c05-47c5-882a-5cd644655dbf
|
|---|
The 'token' can be obtained from the Logentries service.
To test this engine
salt '*' test.ping cmd.run uptime
salt.engines.logentries.PlainTextSocketAppender(verbose=True, LE_API='data.logentries.com', LE_PORT=80, LE_TLS_PORT=443)
close_connection()
open_connection()
put(data)
reopen_connection()
salt.engines.logentries.SocketAppender
salt.engines.logentries.TLSSocketAppender(verbose=True, LE_API='data.logentries.com', LE_PORT=80, LE_TLS_PORT=443)
open_connection()
Listen to salt events and forward them to Logentries
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/engines/all/salt.engines.logentries.html