{"repo":"eht16/pylogbeat","free":true,"listed":false,"github":"https://github.com/eht16/pylogbeat","clone":"git clone https://github.com/eht16/pylogbeat.git","description":"Simple, incomplete implementation of the Beats protocol used by Elastic Beats and Logstash","language":"Python","stars":17,"topics":["logging","logstash","beats","python"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"PyLogBeat ========= PyLogBeat is a simple, incomplete implementation of the Beats protocol used by Elastic Beats and Logstash. For more information about Beats see https://www.elastic.co/products/beats and https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html. With this library it is possible to send log messages or any data to Logstash' beats input plugin or any other service which implements the Beats protocol. The main difference to other transport mechanisms like direct TCP or UDP transfer is that with the Beats protocol there is a higher reliability of the data transfer, especially since the server acknowledges the data it received so the client knows whether and what to resend. Installation ------------ The easiest method is to install directly from pypi using pip: pip install pylogbeat If you prefer, you can download PyLogBeat from https://github.com/eht16/pylogbeat and install it directly from source: python setup.py install Due to a bug ( ) in some Logstash versions, you will need Logstash = 5.6.12 or Logstash = 6.4.0. Get the Source -------------- The source code is available at https://github.com/eht16/pylogbeat/. Usage ----- Simple use Using a context manager Using a SSL connection For details regarding the SSL certificates and how to configure the Logstash input for SSL, see https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html. Message Format -------------- PyLogBeatClient.send() accepts a sequence (list, tuple, set) of ","default_branch":null,"files":null,"tree":[],"storefront":"/r/eht16","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/eht16/pylogbeat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}