Can't create Visualize Library using span.db.statement field

Why I can't add field span.db.statement in Visualize Library?
I want to show what query with long duration process, btw I'm using APM nodejs Agent.

Thanks

What kind of field is it? You cannot do terms aggregation for text fields, but for keyword fields. Please verify in your stack management panel if that's the case.

1 Like

Hi Marta, thanks for the response.

I want to use some field in Span details just like image below, some span field I can use in Visualize terms, but for span.db.statement I can't use it.
Is it mean I need to add span.db.statement field in Stack Management?

Got it, now I can add span.db.statement in Visualize library.
Thank you so much :grinning:

1 Like