Code Monkey home page Code Monkey logo

errlogbeat's Introduction

Errlogbeat

Errlogbeat collects entries from the error log of the AIX operating system and ships them to Elasticsearch or Logstash.

Example Image

Getting Started with Errlogbeat

Requirements

Build Requirements

  • An AIX operating system instance. I'm using version 7.1. Support for Go should be even better on version 7.2 but I haven't try it yet.
  • A recent version of gcc-go and its dependencies. I'm using the packages kindly provided by BullFreeware.
  • Various open source packages, at least GNU make. Some tasks also require find-utils and Python. I'm using the packages kindly provided by Michael Perzl.

Runtime Requirements

  • libgo should be the same as in the build environment.
  • libgcc, not necessarily at the same level or from the same source like libgo.

Build

Ensure that this folder is at the following location: ${GOPATH}/src/github.com/WuerthIT/errlogbeat

To build the binary for Errlogbeat run the command below. This will generate a binary in the same directory with the name errlogbeat.

gmake

Run

To run Errlogbeat with debugging output enabled, run:

./errlogbeat -c errlogbeat.yml -e -d "*"

Update

Each beat has a template for the mapping in elasticsearch and a documentation for the fields which is automatically generated based on fields.yml by running the following command.

gmake update

Cleanup

To clean up the build directory and generated artifacts, run:

gmake clean

Vendoring

Errlogbeat currently includes version 6.2.4 of beats in the vendor subfolder with some minor modifications on libraries inside their vendor directory. Later versions make use of Go modules that are not available on the AIX operation system currently.

Packaging

The original packaging process makes use of containers and will obviously not work here. So currently the binary file has to be distributed manually. Maybe an RPM spec file will be provided later.

Disclaimer

AIX is a registered trademark of the International Business Machines Corporation.

Elasticsearch and Logstash are trademarks of Elasticsearch BV.

Errlogbeat is not endorsed by any of these companies.

errlogbeat's People

Contributors

inxonic avatar

Watchers

 avatar  avatar

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.