Giter Site home page Giter Site logo

rafal-szypulka / using-log-file-agent-with-logstash-and-scala Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm-itoadev/using-log-file-agent-with-logstash-and-scala

0.0 2.0 0.0 172 KB

How to terminate LFAs in Logstash and create consolidated streams into SCALA

Shell 30.75% Perl 69.25%

using-log-file-agent-with-logstash-and-scala's Introduction

Streaming Logs using IBM C&SI Log File Agent (LFA) to Logstash and Smart Cloud Analytics Log Analysis (SCALA)

What's Included?

  1. A sample logstash configuration (lfa-logstash.conf)
  2. A logstash grok pattern file for default LFA log messages (LFALOGSTASH)
  3. LFA unattended install script
  4. Logstash and LFA SSL configuration procedure and automation scripts

Deploying the Content Pack

  1. Review the sample logstash configuration lfa-logstash.conf and determine how you will use the inputs, filters and outputs. You can use this example or just copy the needed parts into your main logstash configuration file. Pay close attention to the NOTES within the lfa-logstash.conf and LFALOGSTASH files.

  2. Update the TCP input as needed, especially the port number you will use. The default EIF Receiver port that LFAs normally point to for use with SCALA is TCP 5529. Use a different port if you plan on running logstash on the same server.

  3. Review the filters section and determine if any changes are needed based upon how you use logstash, which version you use, etc.

  4. Review the output section and update based on your current logstash integration with SCALA. This example configuration will only work with the upcoming release of the SCALA-Logstash Integration. If you do not have this, contact Doug McClure for assistance.

  5. Place the logstash GROK pattern file LFALOGSTASH into the appropriate location. If you are using logstash 1.4.2, you may place this into the /patterns directory and you'll be all set. If you are using logstash 1.5 beta, you can place it into the same /patterns directory, but you will need to use the patterns_dir setting to this location in each filter using the GROK patterns (eg multiline, grok).

  6. Create a SCALA datasource which uses the host and path values to match what you're setting in your logstash configuration.

  7. Update your LFA configuration (.conf) files to point to your logstash server and TCP input port. Restart LFAs as needed.

  8. Start up logstash and verify connections from LFAs are established. Watch for activity in logstash stdout or within SCALA search results.

Need Help?

This is a community contributed content pack and no explicit support, guarantee or warranties are provided by IBM nor the contributor. Feel free to engage the community on the ITOAdev forum if you need help!

using-log-file-agent-with-logstash-and-scala's People

Contributors

rafal-szypulka avatar dougmcclure avatar

Watchers

James Cloos 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.