Trace Id from manual logs into Seq #2124
|
Hello I am trying to send logs to sec that are being sent in from manual logging from pino is javascript. We are struggling to get trace id to be present in these logs. We have tried to to pass the trace id as a property but no matter what we try (@traceid, TraceId, trace-id) we can not manage to get Seq to pick it up as the trace id. This results in the query @traceid = 'traceidString' to not pick up these logs. Is there a magic way to get the front end logs to be picked up by the built in @traceid? Thanks for any help! |
Replies: 3 comments 17 replies
|
Hi Brett, |
|
Hi @BrettGoreham - quick question, what are you using to generate the trace ids, and what's the scope of a trace/span in your client code? We're putting our heads together trying to come up with some pleasant ways to enable this, but need to understand the landscape a bit better... Thanks! |
|
How are you sending the logs to Seq? Are you using |

Hi @BrettGoreham
This is now published as
pino-seq1.1.0.If your log events have the properties
trace_idandspan_idthis will be available in Seq as@TraceIdand@SpanIdrespectively.