Socket
Book a DemoInstallSign in
Socket

logagent-input-kafka

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logagent-input-kafka

Logagent plugin to read messages from Apache Kafka

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Logagent Plugin: Apache Kafka

Input plugin for @sematext/logagent. The plugin acts as message consumer for Apache Kafka.

Installation

Install @sematext/logagent and logagent-input-kafka npm package:

npm i -g @sematext/logagent 
npm i -g logagent-input-kafka

Configuration

# Global options
options:
  includeOriginalLine: false

input:
  kafka: 
    module: logagent-input-kafka
    host: localhost
    port: 9093
    groupId: ExampleTestGroup
    topic: test
    autoCommit: true
    sessionTimeout: 15000
    sslEnable: false
    #For init sslOptions please refer to to https://nodejs.org/api/tls.html
    sslOptions: 
      - rejectUnauthorized: false
    
output:
  stdout: yaml # use 'pretty' for pretty json and 'ldjson' for line delimited json (default)
  elasticsearch: 
    module: elasticsearch
    url: http://localhost:9200
    index: test

Start logagent

logagent --config logagent-kafka-input.yaml

Contributions

Original author: Filippo Balicchia logagent-js PR#75 PR#77 PR#81

Keywords

Logging

FAQs

Package last updated on 05 Oct 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.