I need to filter logs on stackdriver.
Can I write filter with upper-case letters?
For example, when I have logs like
ERROR xxx
error xxx
and I'd like to pick up just
ERROR xxx
So how can I write filter on this case?
I need to filter logs on stackdriver.
Can I write filter with upper-case letters?
For example, when I have logs like
ERROR xxx
error xxx
and I'd like to pick up just
ERROR xxx
So how can I write filter on this case?
Looking for logs based on letter case for the string you are looking for is not possible using Stackdriver Logging since string comparison is not case sensitive, as stated in the documentation. If you want to make some distinction between those 2 logs, you will need to specify it in another way. Reading the provided documentation might give you other alternative solutions for what you wish to achieve.