Viewing service logs
Occasionally there is a need to inspect logs from Timescale Cloud. For example, to debug query performance or inspecting errors caused by a specific workload.
There are different built-in ways to inspect service logs at Timescale Cloud:
- In Timescale Cloud portal, when selecting a specific service, under “Logs” tab recent events are available. Logs can be browsed back in time, but scrolling up several thousand lines is not very convenient.
- Command-line client supports programmatically downloading logs. avn service l ogs -S desc -f —project your-project-name your-service-name will show all stored logs.
- REST API endpoint is available for fetching the same information two above methods output, in case programmatic access is needed.
Service logs included on the normal service price are stored only for a few days. Unless you are using logs integration to another service, older logs are not accessible.
当前内容版权归 TimescaleDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 TimescaleDB .