This package has been deprecated

Author message:

this module has been deprecated, it moved to @sematext/logagent

@sematext/logagent-tcp-input

1.0.1 • Public • Published

logagent-tcp-input

Plugin to receive log data via TCP and send parsed JSON back to the client.

  1. Install logagent 2.x
npm i -g @sematext/logagent
  1. Install this plugin
npm i -g @sematext/logagent-tcp-input  
  1. configure logagent
input:
  tcp: 
    module: @sematext/logagent-tcp-input
    port: 45900
    bindAddress: 0.0.0.0
    sourceName: tcpTest
output:
  elasticsearch:
    url: http://localhost:9200
    index: logs
  1. Start logagent
logagent --config myconfig.yml
  1. Ship logs to the tcp port and receive parsed JSON in Elasticsearch
tail -F  ../access.log |  nc servername 45900

Readme

Keywords

Package Sidebar

Install

npm i @sematext/logagent-tcp-input

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • sematext