I am new to signoz 0.48.1 and i have installed on my kubernetes instance. I want to access the logs ...
p
I am new to signoz 0.48.1 and i have installed on my kubernetes instance. I want to access the logs using log APIs. I see query service , it is the right api service for it? Also, i don't see creating APIKeys option that document suggest. How do authentication works ? Can anyone please guide here?
n
Hey @pratik dave APIKeys are not available in self-installed versions.
you can get the bearer token and use it as a key, but keep in mind that it would expire after 30mins
p
@Nagesh Bansal thanks for your reply. How do i generate one?
n
you can just open the inspect console and get the bearer token from the there
p
ok , what would the other way to authenticate to log apis? i see username/password is not working for me
n
you can take a look at this: https://signoz.io/docs/logs-management/logs-api/overview/ you might just need the API key/token
p
yes i went through this but it talks about signoz-cloud to generate apikeys. I am not getting similar document for self installed signoz
n
use bearer token instead of apikeys for the self installed signoz
p
ok
n
Hey @pratik dave, I’m curious—why are you using
signoz-v0.48.1
instead of the latest release i.e v0.76.0? Could you share more details on this?
p
@Nagesh Bansal we are trying to upgrade
n
okayy, you can follow the migration guide for upgrading to v0.76.0: https://signoz.io/docs/operate/migration/upgrade-0.76