Skip to main content
View container and application logs for your pods.

Basic Usage

instapod logs my-app
Outputs the most recent log entries from the pod.

Flags

FlagDescriptionDefault
-nNumber of log lines to return100
-sFilter by service nameAll services

Examples

# Last 50 lines
instapod logs my-app -n 50

# Only application logs
instapod logs my-app -s app

# Only nginx access logs
instapod logs my-app -s nginx

# System logs
instapod logs my-app -s system

Service Filters

The available service filters depend on the pod’s preset:
PresetAvailable Services
Staticnginx, system
PHPnginx, php-fpm, system
Node.jsapp, system
Pythonapp, system
If you’ve installed database services, their logs are also available:
instapod logs my-app -s mysql
instapod logs my-app -s postgresql
instapod logs my-app -s redis