View Logs (Loki)

You can view all the logs related to your deployed inference service through the Loki data source.


How to View Logs

View Request/Response Logs

You can filter the logs to view request/response logs specifically by selecting container="aioli-logger".

{serving_kserve_io_inferenceservice="elb-hf-simple-falcon", container="aioli-logger"}

The request/response logs are in JSON format. You can make them more easily readable by selecting the Grafana Prettify JSON option on the tool bar.

View Stderr/Stdout Logs

You can filter the logs to view stderr/stdout logs specifically by selecting container="kserve-container".

{serving_kserve_io_inferenceservice="elb-hf-simple-falcon", container="kserve-container"}

How to Change Default Logging Port

You can change the default logging port by setting the AIOLI_LOGGER_PORT environment variable on your packaged model or deployment. The default port is 49160. This variable works only for custom modelFormat containers.