View raw structured JSON logs
Haven't checked my service in a while and saw that there is a new observability related update for exploring logs which is awesome! Now, the problem is that since I was emitting structured JSON logs, it doesn't show me the stuff that I want to anymore unless I look at the attributes in the log explorer for each log.
When I previously saw something like
Now I see
It would be nice to be able to have a raw log view. If not, I think I'll have to change my logging.
Solution:Jump to solution
clicking the plus icon to the left of the log line is how you would view the log attributes
9 Replies
Project ID:
d503f027-5417-4cc6-88cb-aee455282920
d503f027-5417-4cc6-88cb-aee455282920
Solution
clicking the plus icon to the left of the log line is how you would view the log attributes
greg has plans to also display some of the most common logged attributes in columns so you dont have to go into each log
Appreciate the response. Yeah I see that now. It'd be nice to have an option to just see the raw structured log, but seems like I'll just have to live with this for now
the api doesnt even return a raw log line when it detects a log line with a "message" or "msg" attribute
you could switch to text based structured logs for now?
Ahh that'd do it. No worries. The new UX for logs is great so I won't make a big stink about it
no no, all feedback is valuable
I could, yeah. It's a pet project so it's by no means critical, which is why this update flew under my radar for so long