Hi everybody! I'm running self-hosted signoz and w...
# support
a
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
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.
a
Ooh, I unrestand. Thanks a lot for an answer!