salt.engines.logentries

An engine that sends events to the Logentries logging service.

maintainer

Jimmy Tang (jimmy_tang@rapid7.com)

maturity

New

depends

ssl, certifi

platform

all

New in version 2016.3.0.

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
class 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

alias of salt.engines.logentries.TLSSocketAppender

class salt.engines.logentries.TLSSocketAppender(verbose=True, LE_API='data.logentries.com', LE_PORT=80, LE_TLS_PORT=443)
open_connection()

salt.engines.logentries.event_bus_context(opts)

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

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/engines/all/salt.engines.logentries.html