Giter VIP home page Giter VIP logo

graylog-sophos-utm-syslog-extractors's Introduction

Graylog extractors for Sophos UTM 9 standard syslog fields

The Sophos UTM remote syslog capabilities use a non-standard message format. Importing them into Graylog requires the use of a "Raw/plain text" input (either TCP or UDP will be fine) together with a extractors parsing the lines into the standard syslog fields.

The extractors in this repository will do the following:

  1. Extract the fields facility, level, source, application_name and process_id (only if present in the line; e.g. it won't be with kernel messages) and
  2. modify the message field not to contain the fields extracted in step 1.

As the change in step 2 is destructive, the extractor named Syslog field "message" must be the last extractor in the list.

Installation

  1. In Graylog, create an input of type Raw/Plaintext (TCP) or Raw/Plaintext (UDP).
  2. After creating the input, click on the corresponding Manage extractors button.
  3. In the upper right click on Actions and select Import extractors.
  4. Copy & paste the extractors from the extractors.json file in this repository.
  5. Optionally use the Sort extractors button after importing them. Like stated above, make sure the Syslog field "message" extractor is the last one run.

Other extractors

User habibmbacfou provides extractors for various other fields in the message parts. Their extractors can be used with my extractors at the same time.

Contact

I appreciate bug reports or merge requests. You can also contact me at [email protected]

graylog-sophos-utm-syslog-extractors's People

Contributors

mbunkus avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

farfeduc

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.