Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryBuilder extract string part from body field #6473

Open
marcoberri opened this issue Nov 19, 2024 · 3 comments
Open

QueryBuilder extract string part from body field #6473

marcoberri opened this issue Nov 19, 2024 · 3 comments

Comments

@marcoberri
Copy link

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
Copy link
Member

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
Copy link
Author

marcoberri commented Nov 20, 2024

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
Copy link
Author

I resolved with add this filter on Pipeline
image

is a issues?

tnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants