Skip to content

acuminous/defcon-event-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEFCON Event Log Plugin

Prerequisits

  1. DEFCON
  2. redis

Installation

  1. cd $DEFCON_INSTALL_DIR
  2. npm install defcon-event-log
  3. Enable and configure 'defcon-event-log' in your DEFCON configuration file, e.g.
{
    "plugins": {
        "installed": [
            "defcon-event-log"
        ],
        "defcon-event-log": {
            "redis": {
                "host": "localhost",
                "port": 6379,
                "db": 0,
                "options": {
                    "auth_pass": "secret",                
                    "enable_offline_queue": false
                }
            },
            "pageSize": 14,
            "pages": 10
        }        
    }
}
  1. Restart defcon (you can do this via kill -s USRSIG2 <pid> if you want zero downtime)