GithubHelp home page GithubHelp logo

litemechanist / graylog-plugin-teams Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hidapple/graylog-plugin-teams

0.0 0.0 0.0 2.21 MB

Graylog notification plugin for sending messages to the Microsoft Teams

License: GNU General Public License v3.0

Java 73.54% JavaScript 26.22% CSS 0.24%

graylog-plugin-teams's Introduction

Teams Plugin for Graylog

Build Status

A Graylog event notification plugin for sending Microsoft Teams MessageCard post.

Required Graylog version: 3.1.3 and later
* In case your Graylog version is 3.1.0 - 3.1.2, please use graylog-plugin-teams version 2.0.0.
* In case your Graylog version is lower than 3.1.0, you can still use graylog-plugin-teams version 1.x.x.

Installation

Download the plugin and place the .jar file in your Graylog plugin directory. The plugin directory is the plugins/ folder relative from your graylog-server directory by default and can be configured in your graylog.conf file.

Restart graylog-server and you are done.

Usage

1. Publish Teams incoming webhook

First of all, you need to publish your Teams incoming webhook. See Microsoft docs to know detail and how to publish your Teams incoming webhook.

2. Create Graylog notification

Create Graylog notification and choose Microsoft Teams Notification as Notification type.

3. Configure Microsoft Teams Notification

Input your Teams incoming webhook published at #1 and fill out other configurations. Here is a screenshot of configuration example.

Teams notification configuraiton

4. Create Graylog Event Definitions

Create Graylog Event definition and set Microsoft Teams Notification you created at #3 as its Notification.

5. Receive notification

You will receive notification message like below.

Teams notification message

Contribution

  1. Fork the repository (https://github.com/hidapple/graylog-plugin-teams/fork)
  2. Create your feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Make sure your code can be packaged by mvn without any errors
  6. Create a new Pull Request

Getting development started

This project is using Maven 3 and requires Java 8 or higher.

  • Clone this repository.
  • Run mvn package to build a JAR file.
  • Optional: Run mvn jdeb:jdeb and mvn rpm:rpm to create a DEB and RPM package respectively.
  • Copy generated JAR file in target directory to your Graylog plugin directory.
  • Restart the Graylog.

Plugin Release

We are using the maven release plugin:

$ mvn release:prepare
[...]
$ mvn release:perform

This sets the version numbers, creates a tag and pushes to GitHub. Travis CI will build the release artifacts and upload to GitHub automatically.

License

GNU General Public License 3.0

Author

Shohei Hida

graylog-plugin-teams's People

Contributors

hidapple avatar dependabot-preview[bot] avatar dependabot[bot] 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.