Hello,
I'm using the "Text Log" Test for searching for "error" in a file. How can i exclude follow reply: "27.04.2025 23:49:06: No error occured"
"in" doesn't work for "use normal state"
Use normal Status with Substring search
Re: Use normal Status with Substring search
1) HostMonitor version?
2) Test settings: filter setting? what exactly expression do you use?
3) As we see "IN" operator works just fine
4) I don't think you need "Use Normal status" option in this case. You may setup filter using the following option
- Bad record: look for simple expression 'error' and not 'No error occured'
5) Do you really want to ignore just 1 record added at 27.04.2025 23:49:06?
I assume you need to ignore all records with "No error occured" text regardless of the time?
6) Are you sure you need to ignore "No error occured" text?
May be "No error occurred"? RR instead of R
Regards
Alex
2) Test settings: filter setting? what exactly expression do you use?
3) As we see "IN" operator works just fine
4) I don't think you need "Use Normal status" option in this case. You may setup filter using the following option
- Bad record: look for simple expression 'error' and not 'No error occured'
5) Do you really want to ignore just 1 record added at 27.04.2025 23:49:06?
I assume you need to ignore all records with "No error occured" text regardless of the time?
6) Are you sure you need to ignore "No error occured" text?
May be "No error occurred"? RR instead of R
Regards
Alex
Re: Use normal Status with Substring search
Thanks for fast response
Here are the needed informations:
1. HostMonitor 14.96
2. atm i use follow 'Bad text" settings: Look for string:
2 when i use in Field "Use Normal status if", then i get the reply:
But i'm checking out the expression option, so i don't need this option
5. I want to ignore all records like and for example:
but not all other messages with errors.
I guess there could be some more messages to except because i don't know all possible result messages at this time.
Here are the needed informations:
1. HostMonitor 14.96
2. atm i use follow 'Bad text" settings: Look for string:
Code: Select all
error
Code: Select all
'no error occured' in %reply%
Code: Select all
Invalid expression: missed operand
5. I want to ignore all records like
Code: Select all
No error occured
Code: Select all
Warning: 'dbo.ErrorLog': Objects to compare have no key column.
I guess there could be some more messages to except because i don't know all possible result messages at this time.
Re: Use normal Status with Substring search
7 - You should use "%SuggestedReply%" variable in this case
8 - You forgot to use quotation marks, its a string not a number (its safe to use quotation marks for numbers as well)
9 - Make sure you spelled word "occurred" correctly
Regards
Alex
8 - You forgot to use quotation marks, its a string not a number (its safe to use quotation marks for numbers as well)
9 - Make sure you spelled word "occurred" correctly
Regards
Alex
Re: Use normal Status with Substring search
Please check item #4, this is correct way to setup such test
Regards
Alex
Regards
Alex
Re: Use normal Status with Substring search
Thanks for fast support !!
I will check out the next results this evening.
Best regards,
Mirko
I will check out the next results this evening.
Best regards,
Mirko
Re: Use normal Status with Substring search
You are welcome
Regards
Alex
Regards
Alex