Hello, I am a user using zabbix in Korea.
logrt.count["/example/.*/([0-9]{1,5}_)?[a-zA-Z]{1,30}\.log$","INFO",,1000,skip]
logrt.count["/example/[a-zA-Z]{1,10}/([0-9]{1,5}_)?[a-zA-Z]{1,30}\.log$","INFO",,1000,skip]
If the directory name on the path is expressed as a regular expression as shown in the example key above, it is not applied and Not found directory error is displayed.
Can't regular expressions be used in directory names in Zabbix key? Please let me know if there is a good way.
Thank you.
logrt.count["/example/.*/([0-9]{1,5}_)?[a-zA-Z]{1,30}\.log$","INFO",,1000,skip]
logrt.count["/example/[a-zA-Z]{1,10}/([0-9]{1,5}_)?[a-zA-Z]{1,30}\.log$","INFO",,1000,skip]
If the directory name on the path is expressed as a regular expression as shown in the example key above, it is not applied and Not found directory error is displayed.
Can't regular expressions be used in directory names in Zabbix key? Please let me know if there is a good way.
Thank you.
Comment