How to exclude the User agent - (dash) by filter

Avatar
  • updated
  • Answered
Hi.
Are there any way to exclude the User Agent using - (dash)?
It might be a Script Access but setting the filter below

Exclude - User Agent : -

doesn't work at all.
Avatar
Michael
Do you see dash as user agent in log files? In most logs dash means that there is no value for a field so the user agent in this case is empty.

It's not possible to specify an empty value in filters, so you need to create an include "User agent" filter instead of the exclude one and enter ?* as filter criteria. This mask will match all non-empty values so empty values will be excluded.
Avatar
doctor
Thank you for the reply!
Entering ?* for User Agent Filter works!
Looks Good!