While doing a search in Agent Monitor section with a string like -ABC- with the intent of filtering out hostname with -ABC- included in their hostname, the operation returns anything but the desired results in the machine rows. Even quoting the string did not make any difference.
Searching with ‘-' as the first character is interpreted as a negative search. Therefore if an admin tries to search with, say ‘-ABC-’ string as in the example above, the result will include all non-matching rows, which is exactly the opposite of the intended search result.
Do not lead search string with hyphen ('-') char.