Skip to content

jonbrouse/docker-nxlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example Dockerfile and configuration to run NXLog in a container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published