# all three attributes are required for every item # file names are considered unique: so only 1 regex may be configured for a file # do not use a dot in an alias # only named captures will be used # named capture need to match a numeric value (int or a float like 10.654321) # \s, \d, \b a.s.o need to be escaped for toml # for antikoerper, every regex should start like this: # (?P\\d{9,})\\s [[item]] file = "/var/log/antikoerper/temp.zone1" regex = "(?P\\d{9,})\\s(?P\\d+)" alias = "temp" [[item]] file = "/var/log/antikoerper/os.load" regex = "(?P\\d{9,})\\s(?P\\d+\\.\\d\\d)\\s(?P\\d+\\.\\d\\d)\\s(?P\\d+\\.\\d\\d)\\s" alias = "load" [[item]] alias = "memory" file = "/var/log/antikoerper/os.memory" regex = "(?P\\d{9,})\\s.*\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)" [[item]] alias = "battery" file = "/var/log/antikoerper/os.battery" regex = "(?P\\d{9,})\\s.*\\s(?P\\d+)%" [[item]] alias = "disk-root" file = "/var/log/antikoerper/os.partition-root" regex = "(?P\\d{9,})\\s.*\\d+\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)%" [[item]] alias = "disk-boot" file = "/var/log/antikoerper/os.partition-boot" regex = "(?P\\d{9,})\\s.*\\d+\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)%" [[item]] alias = "disk-var" file = "/var/log/antikoerper/os.partition-var" regex = "(?P\\d{9,})\\s.*\\d+\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)%" [[item]] alias = "disk-home" file = "/var/log/antikoerper/os.partition-home" regex = "(?P\\d{9,})\\s.*\\d+\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)%" [[item]] alias = "disk-win" file = "/var/log/antikoerper/os.partition-win" regex = "(?P\\d{9,})\\s.*\\d+\\s+(?P\\d+)\\s+(?P\\d+)\\s+(?P\\d+)%" [[item]] alias = "process-count" file = "/var/log/antikoerper/os.process_count" regex = "(?P\\d{9,})\\s(?P\\d+)"