Public | Automated Build

Last pushed: 2 years ago
Short Description
Base Image for an NXLOG Client Container
Full Description

docker-nxlog

How to use this image

Create nxlog.conf

Since no two users of NXLOG are likely to configure it exactly a like, this image does not come with any default configuration.

Please refer to the the CE Reference Manual on the subject of configuring NXLOG for your needs.

Build and Run the Image

Create a Dockerfile:

FROM jonbrouse/nxlog
COPY nxlog.conf /etc/nxlog/

Build and run:

docker build -t nxlog-client .
docker run -d --name my-running-nxlog-client nxlog-client

Notes

The Client Binaries

The client binaries are stored in nxlog-client.tar.gz which is contained in this repo. When I have used this build I normally host it in a private S3 bucket and curl it down during a RUN action.

Issues

If you are using this with a process manager like supervisor, ensure you start the agent after the other processes. NXLOG needs to see a valid log file to launch.

Docker Pull Command
Owner
jonbrouse
Source Repository

Comments (0)