syslogsrv4dev

command module
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 18 Imported by: 0

README

syslogsrv4dev

Simple log server works with syslog, Additional Udp listener can be added. The server doesn't require installation. The data is stored in SQLLite database

Run application

  1. run the appropriate executable file (based on OS) ./syslogsrv4dev Notes: by default the wep app is available at 5050, the syslog service is available at 7570 and udp listener at 9090

Build

  1. change directory: cd ./app
  2. build react application npm run build
  3. build go application go build
  4. add web application into executable file rice append --exec ${name}x32

Udp listener

The regext can be defined in conf.json. Example: "(?s)^(?P<date>.*?)\\|(?P<levelId>.*?)\\|(?P<facilityid>.*?)\\|(?P<message>.*?)\\|(?P<host>.*?)\\|(?P<app>.*?)$" The following groups in regexp will be used for log entry:

  • date as Date
  • levelId as severity
  • facilityid as Facility
  • message as Message
  • host as host
  • application as AppName

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL