SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.47k stars 1.31k forks source link

QueryBuilder extract string part from body field #6473

Open marcoberri opened 1 week ago

marcoberri commented 1 week ago

Describe the solution you'd like

Hi, I have a body field in Log like this :

"body": "[PROFILE][RPT 8.0 (ABC)][ClientRPT][executeGET][9 ms]\nArgs: delay=null, packetLossRateTest=null, xptUplinkModcod=null),[Date:\"Fri, 08 Nov 2024 21:40:32 GMT\", Content-Type:\"application/json\", Transfer-Encoding:\"chunked\"]>\n Error: no-error",

Is possible extract from QueryBuilder only the part of the string (example 9 ms) for show only this value in graph o list?

tnx

Additional context

Add any other context or screenshots about the feature request here.

Thank you for your feature request – we love each and every one!

srikanthccv commented 5 days ago

Please extract out the details to attribtes and you can run any aggregation queries on the extracted out attributes https://signoz.io/docs/logs-pipelines/introduction/

marcoberri commented 5 days ago

Hi @srikanthccv thank you for the reply I have a question after a read your link documentation I use log explorer to extract value image If i use the same filters in pipeline configuration the response example is empty image

marcoberri commented 5 days ago

I resolved with add this filter on Pipeline image

is a issues?

tnx