Ad Widget

Collapse

Logs monitoring with variabile filename

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stepassia
    Junior Member
    • Feb 2018
    • 27

    #1

    Logs monitoring with variabile filename

    Hi, I'm trying to set a log item to monitor a rotated log file like 20240606-000101-ids-com-loc.log
    Every day this file will be rotated /so, next one will be 20240607-000101-ids-com-loc.log). How to set the logrt item?
    Thanks a lot!
    Stefano
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    logrt["path_to_file^\d{8}-000101-ids-com-loc\.log$"]

    Comment

    Working...