Unable to search logs. Has something changed with how log search works recently?
eyadabdalla
HOBBYOP

2 years ago

I am searching for logs that I know exist, but the search always comes up to nothing.

0 Replies

brody
EMPLOYEE

2 years ago

what's your specific search text?


eyadabdalla
HOBBYOP

2 years ago

project id: 6b106510-a373-44f1-9ffe-d7b7199cf99a


eyadabdalla
HOBBYOP

2 years ago

I'll search for a specific uuid for example b95e25e3-d2ab-4549-9630-fccda73d9b5b for testing I've searched for something infront of me in the logs, but the search turns up nothing.


brody
EMPLOYEE

2 years ago

the logs would be completely empty after the search?


brody
EMPLOYEE

2 years ago

how is that uuid logged? in a plaintext message? or a part of a JSON log attribute?


eyadabdalla
HOBBYOP

2 years ago

it looks like this in the logs userId: '5ca6784f-1f4a-4518-b747-ebs35a1ec8c8',


eyadabdalla
HOBBYOP

2 years ago

I used to be able to search for just the uuid
5ca6784f-1f4a-4518-b747-ebs35a1ec8c8 and the logs showed up, but not right now


brody
EMPLOYEE

2 years ago

are you using json structured logging?


eyadabdalla
HOBBYOP

2 years ago

Some of the logs are structured json


brody
EMPLOYEE

2 years ago

is the log that you want to search for using structured logging?


eyadabdalla
HOBBYOP

2 years ago

no it's not, and searching for it worked well in the past.


brody
EMPLOYEE

2 years ago

filtering does work

1243563520067375000


brody
EMPLOYEE

2 years ago

how long ago was your desired log printed? hobby users only get a log retention of 7 days last i checked


eyadabdalla
HOBBYOP

2 years ago

We're on the proplan, I'm having a hard time screenshotting to demonstrate without showing sensitive data 😅


eyadabdalla
HOBBYOP

2 years ago

Just to test I am searching for logs that were just created.


brody
EMPLOYEE

2 years ago

no worries, let me know when you can get that screenshot!


Loading...