New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

flexciton-logstash-output-opsgenie

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexciton-logstash-output-opsgenie

  • 2.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Flexciton Logstash Output OpsGenie Plugin

This is a plugin for Logstash.

It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.

This version is forked from: https://github.com/opsgenie/logstash-output-opsgenie All kudos goes to the original authors.

flexciton-logstash-output-opsgenie improvements:

  • Add error handling on network errors. Previously the pipeline in Logstash would simply crash and cause Logstash to go down or stop processing logs completely. Now it will retry certain errors or log a warning and silence the exception.
  • Fix all tests. Tests were broken since 2017 changes to adjust to new Opsgenie API. Now they pass.

Install and Run Flexciton Logstash Output OpsGenie in Logstash

Flexciton Logstash Output OpsGenie plugin is available in RubyGems.org

  • Logstash 5.4+
bin/logstash-plugin install flexciton-logstash-output-opsgenie
  • Other Versions
bin/plugin install flexciton-logstash-output-opsgenie
  mutate{
    add_field => {
        "opsgenieAction" => "create"
        "alias" => "neo123"
        "description" => "Every alert needs a description"
        "actions" => ["Restart", "AnExampleAction"]
	"tags" => ["OverwriteQuietHours","Critical"]
	"[details][prop1]"=> "val1"
        "[details][prop2]" => "val2"
        "entity" => "An example entity"
        "priority" => "P4"
	"source" => "custom source"
	"user" => "custom user"
	"note" => "alert is created"
        }
    }
    ruby {
 	 code => "event.set('teams', [{'name' => 'Integration'}, {'name' => 'Platform'}])"
    }
}
  • Add the following configuration to your configuration file and populate apiKey field with your Logstash Integration API Key

NOTE: despite the integration document in Atlassian shows that api key should be wrapped in quotes ("apiKey") - this is not the case. Use apiKey as shown below please.

output {
	opsgenie {
		apiKey => "logstash_integration_api_key"
	}
}
  • Run Logstash.

For more information about OpsGenie Logstash Integration, please refer to integration guide.

FAQs

Package last updated on 16 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc