Giter Site home page Giter Site logo

docker-rsyslog's People

Contributors

manios avatar

Watchers

 avatar  avatar  avatar

docker-rsyslog's Issues

Provide documentation in README file

We have to add documentation in README file about:

  1. How to run the container.
  2. List of supported modules.
  3. How to override rsyslog configuration.
  4. Invoke lognormalizer.
  5. Invoke mmdblookup.
  6. Add aknowledgements to other repositories.

Fix Travis CI build

Currently the Travis CI build creates the container but it fails to run it. However for a strange reason the whole process succeeds.

Add mmdblookup to image

Add support for MaxMind Geo Lookup mmdblookup module.

In order to achieve this we need to add mmdblookup.so library using a multi stage build. We can use the following command in an inner Dockerfile in order to compiile mmdblookup:

git clone https://github.com/rsyslog/rsyslog-docker \
&& cd rsyslog-docker \
&& git checkout -b working 651cbc2b5839398c96e3048c26966335dbe3c5b5 \
&& cd .. \
&& filePath="rsyslog-docker/dev_env/ubuntu/base/16.04/" \
&& cp rsyslog-docker/dev_env/common/setup-projects.sh "${filePath}" \
&& sed -i 's/--enable-mmgrok//g' "${filePath}"Dockerfile \
&& sed -i 's/RUN \.\/setup-system.sh/RUN .\/setup-system.sh \&\& .\/setup-projects.sh/g' "${filePath}"Dockerfile \
&& sed -i 's/^\(ADD setup-system.sh.*\)$/\1\nADD setup-projects.sh setup-projects.sh/g' "${filePath}"Dockerfile \
&& echo "make install" | tee -a "${filePath}"setup-projects.sh \
&& cd "${filePath}" \
&& docker build -t mylocal/rsyslog .

Then we have to copy /usr/local/lib/rsyslog/mmdblookup.so to our creating image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.