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: |
|
---|
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
()¶salt.engines.logentries.
start
(endpoint='data.logentries.com', port=10000, token=None, tag='salt/engines/logentries')¶Listen to salt events and forward them to Logentries