Ad Widget

Collapse

Logs reaing need help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaida1978
    Junior Member
    • Mar 2020
    • 7

    #1

    Logs reaing need help

    Hello,

    I am creating a monitoring, however I am having a problem with a file inside the directory.

    In the image you can see that. I have two files, one .log and the other .snapshot.log. free 3D modeling software

    I just want to read only .log files and skip files .snapshot.log

    Click image for larger version  Name:	k1.png Views:	25 Size:	28.1 KB ID:	411856
    Last edited by jaida1978; 31-10-2020, 14:17.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Use regex
    Code:
    ^sipserver_p-all-[\d|_|\.]+\.log$

    Comment

    Working...