TINE Docs
GitHub
  • Highlights
  • TINE
    • Install
  • GETTING STARTED
    • Quick start
    • Concept
      • Multiple Inlets and Outlets
      • Merge Records
      • Pipeline as Http Handler
    • Log config
  • Embedding TINE in Go
    • Use Recipe
    • Use API
  • Plugins
    • Inlets
    • Flows
    • Outlets
    • Extras
  • RECIPES
    • QRCode Generator
    • OLLAMA
    • OLLAMA Telegram Bot
    • Web Page Snapshot
    • Syslog Receiver
    • SQLite
    • RRD
Powered by GitBook
On this page
Edit on GitHub
  1. RECIPES

Syslog Receiver

Receive rsyslog messages

syslog.toml

[[inlets.syslog]]
    ## Listen address
    ## e.g. tcp://:5514, udp://:5514, unix:///var/run/syslog.sock
    address = "udp://:5516"

[[outlets.file]]
    path = "-"
    format = "json"

Output

{
    "appname":"login",
    "facility_code":0,
    "hostname":"local.local",
    "message":"USER_PROCESS: 17309 ttys004",
    "procid":"17309",
    "remote_host":"127.0.0.1",
    "severity_code":5,
    "timestamp":1724490558
}
{
    "appname":"sudo",
    "facility_code":1,
    "hostname":"local.local",
    "message":"getgrouplist_2 called triggering group enumeration",
    "procid":"17314",
    "remote_host":"127.0.0.1",
    "severity_code":5,
    "timestamp":1724490558
}
PreviousWeb Page SnapshotNextSQLite

Last updated 9 months ago