Need private packages and team management tools?Check out npm Teams »

defcon-logstash-udp

0.2.1 • Public • Published

DEFCON Logstash UDP Plugin

Prerequisits

  1. DEFCON
  2. logstash

Installation

  1. cd $DEFCON_INSTALL_DIR
  2. npm install defcon-logstash-udp
  3. Enable and configure 'defcon-logstash-udp' in your DEFCON configuration file, e.g.
{
    "plugins": {
        "installed": [
            "defcon-logstash-udp"
        ],
        "defcon-logstash-udp": {
            "host": "localhost",
            "port": 9999
        }
    }
}
  1. Restart defcon (you can do this via kill -s USRSIG2 <pid> if you want zero downtime)

Configuration

The plugin configuration options are only host, port and protocol (which can be either 'udp4' or 'udp6'). A basic logstash configuration is as follows:-

input { 
    udp { 
        port => 9999
        codec => json
    }
}
output { 
    stdout { 
        codec => json
    }
}

Keywords

none

Install

npm i defcon-logstash-udp

DownloadsWeekly Downloads

1

Version

0.2.1

License

ISC

Last publish

Collaborators

  • avatar