tiagoaviz
2 discussion posts
Hello,
I'd like to know if complex searches can match against two given strings on the same line.
There are two necessary use cases:
1- We check if a tape library's drives are online. There are several lines. It appears as:
LTO5DRV1 YES/NO
If possible i'd like to match a sucess only if it finds YES on that same line.
2- Check if a given server transferred more than X amount of GBs. On the backup report, we receive how many GBs of backup each server transferred. It appears as:
SERVER1 30GB
If possible, I'd like to match success only if that server transferred more than 30GB.
Jul 24, 2019 (modified Jul 24, 2019)
•
#1
tiagoaviz
2 discussion posts
Hi Keith, thanks for the reply.
For the second case, would it be possible to search inline for the backup size and demand that it must have two characters before the period?
Because mostly when my backups fail, it'll show like:
Server1 0.0GB
There isn't, no. You could do something like this though:
Body Text Complex Match SERVER1 +GB
Body Text Doesn't Contain SERVER1 0.0GB
That would make sure that the backup size is in the email, and that it's not 0.0GB.
If you're still stuck, could you attach one of the success emails, and one of the fail emails so that I can have a look at it?
2019-07-25_10-21-10.png