# Log4Graylog ![DotNet](https://img.shields.io/badge/Code-.NET%209.0-purple?style=flat-square&logo=dotnet) ![Graylog](https://img.shields.io/badge/Device-Graylog-red?style=flat-square&logo=graylog) ![Release](https://img.shields.io/badge/Release-v1.0.2-green?style=flat-square) Service for monitoring and sending log files to Graylog. ## AppSettings
GraylogSettings
>HostnameOrAddress logs.pal.it [Default] >Port 12204 [Default] >MinimumLogEventLevel 0. Verbose 1. Debug 2. Information [Default] 3. Warning 4. Error 5. Fatal >Facility ConsoleApp [Default] ---
GeneralSettings
>LogType 0. None 1. 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*" } } ```