Sign inSign up

mscatdk/rpi-logagent

By mscatdk

Updated over 8 years ago

Sematext logagent build for Raspberry PI and potentially other ARM devices.

Image
0

261

mscatdk/rpi-logagent repository overview

rpi-logagent

Sematext logagent (https://sematext.com/logagent/) build for Raspberry PI and potentially other ARM devices.

How to use

The docker container can be exectured an configured using the following command:

docker run -d --name logagent \
-v /var/log:/mylogs
-e LOG_URL=https://elasticsearch:9200 \
-e LOG_INDEX=elasticsearch_index \
-e LOG_GLOB="/mylogs/**/.log" \
mscatdk/rpi-logagent

Where

  • LOG_URL: The Elasticsearch Endpoint URL with default value http://elasticsearch:9200
  • LOG_INDEX: The Elasticsearch index name with default value logs
  • LOG_GLOB: Semicolon-separated list of file globs to be processed

Build Process

git clone [email protected]:mscatdk/rpi-logagent.git
cd rpi-logagent

docker build . -t mscatdk/rpi-logagent:latest

Test

The docker image has been tested on the following devices:

  • Raspberry Pi 1 Model B
  • Raspberry PI 3 Model B

Tag summary

Content type

Image

Digest

Size

72.1 MB

Last updated

over 8 years ago

docker pull mscatdk/rpi-logagent