Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logstash-input-dis

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logstash-input-dis

  • 1.1.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Logstash Input DIS

This is a plugin for Logstash.

Requirements

To get started using this plugin, you will need three things:

  1. JDK 1.8 +
  2. JRuby with the Bundler gem installed, 9.0.0.0 ~ 9.2.0.0
  3. Maven
  4. Logstash

Installation

0. 修改 RubyGems 镜像地址

gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/

1. 安装 JRuby

2. 安装 Bundler gem

gem install bundler

3. 安装依赖

bundle install
rake install_jars
gem build logstash-input-dis.gemspec

4. 编辑 Logstash 的Gemfile,并添加本地插件路径

gem "logstash-input-dis", :path => "/your/local/logstash-input-dis"

5. 安装插件到 Logstash

bin/logstash-plugin install --no-verify

Usage

input
{
   dis {
        streams => ["YOU_DIS_STREAM_NAME"]
        endpoint => "https://dis.cn-north-1.myhuaweicloud.com"
        ak => "YOU_ACCESS_KEY_ID"
        sk => "YOU_SECRET_KEY_ID"
        region => "cn-north-1"
        project_id => "YOU_PROJECT_ID"
        group_id => "YOU_GROUP_ID"
        decorate_events => true
        auto_offset_reset => "earliest"
    }
}

Configuration

Parameters

NameDescriptionDefault
streams指定在DIS服务上创建的通道名称。-
ak用户的Access Key,可从华为云控制台“我的凭证”页获取。-
sk用户的Secret Key,可从华为云控制台“我的凭证”页获取。-
region将数据上传到指定Region的DIS服务。cn-north-1
project_id用户所属区域的项目ID,可从华为云控制台“我的凭证”页获取。-
endpointDIS对应Region的数据接口地址。https://dis.cn-north-1.myhuaweicloud.com
group_idDIS App名称,用于标识一个消费组,值可以为任意字符串。-

License

Apache License 2.0

FAQs

Package last updated on 17 Feb 2020

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