Hi everybody!
I'm running self-hosted signoz and want to know - how can I import data from signoze to my application? I can send some metrics and logs using curl, but I want to make curl request to get data from signoze.
When I try to do `curl -X GET 'http://localhost:3301/api/v1/logs?query=error&start=2024-09-11T00:00:00Z&end=2024-09-11T23:59:59Z'`I get authorization error - because I need to set jwt token in header. But I can't create tokens in self-hosted version...
Thank a lot!
v
Vishal Sharma
09/12/2024, 3:03 AM
API keys is supported on self hosted Enterprise and cloud version only.
As a workaround you can fetch data using your jwt token which you get on login.
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.