# vi: ft=conf
[PARSER]
Name free
Format regex
Regex ^Mem:\s+(?<mem_total>\d+)\s+(?<mem_used>\d+)\s+(?<mem_free>\d+)\s+(?<mem_shared>\d+)\s+(?<mem_buff_cache>\d+)\s+(?<mem_available>\d+) Swap:\s+(?<swap_total>\d+)\s+(?<swap_used>\d+)\s+(?<swap_free>\d+)
Types mem_total:integer mem_used:integer mem_free:integer mem_shared:integer mem_buff_cache:integer mem_available:integer swap_total:integer swap_used:integer
Name diskfree
Regex ^\S+\s+\d+\s+(?<disk_used>\d+)\s+(?<disk_available>\d+)\s+(?<disk_percentage>\d+)%\s+(?<disk_mount>\S+)
Types disk_used:integer disk_available:integer disk_percentage:integer disk_mount:string
Name combinedlog
Regex ^(?<host>\S+)\ (?<ident>\S+)\ (?<authuser>\S+)\ \[(?<date>[^\]]+)\]\ \"(?<request>\S+\ .+ HTTP\/\d\.\d)\"\ (?<status>\S+)\ (?<size>\S+)\ \"(?<referer>[^\"]*)\" \"(?<useragent>[^\"]*)\"
Types host:string ident:string authuser:string request:string status:integer size:integer referer:string useragent:string
Time_Key date
Time_Format %d/%b/%Y:%H:%M:%S %z
Name traefiklog
Regex ^(?<host>\S+) (?<ident>\S+) (?<authuser>\S+) \[(?<date>[^\]]+)\] "(?<request>\S+ .+ HTTP\/\d\.\d)" (?<status>\S+) (?<size>\S+) "(?<referer>[^"]*)" "(?<useragent>[^"]*)" (?<requests>\d+) "(?<router>\S+)" "(?<serverurl>\S+)" (?<duration>\d+)ms
Types host:string ident:string authuser:string request:string status:integer size:integer referer:string useragent:string requests:integer router:string serverurl:string duration:integer