Files
Claudio Boggian 728820a65c .
2025-02-27 11:06:16 +01:00

1.2 KiB

Log4Graylog

DotNet Graylog Release

Service for monitoring and sending log files to Graylog.

AppSettings

GraylogSettings

HostnameOrAddress

logs.pal.it [Default]

Port

12204 [Default]

MinimumLogEventLevel

  1. Verbose
  2. Debug
  3. Information [Default]
  4. Warning
  5. Error
  6. Fatal

Facility

ConsoleApp [Default]


GeneralSettings

LogType

  1. None
  2. Cyperplan

DirPath

Path to the folder where the file to be monitored is located

FileNamePattern

"*.*" Regex for file search


Already run example and backup

PALCYBERPAN01
{
  "GraylogSettings" : {
    "HostnameOrAddress" : "logs.pal.local",
    "Port" : 12204,
    "MinimumLogEventLevel": 2,
    "Facility" : "CyberPlan Logs"
  },
  "GeneralSettings" : {
    "LogType": 1,
    "DirPath" : "E:\\CyberPlanWeb_Data\\cybinstance\\PLANNING\\logs",
    "FileNamePattern": "debug.*.log*"
  }
}