Tail Logs
dynatrace_logs_tailPoll live logs from one or more Kubernetes pods in Dynatrace and pass the previous nextSince cursor to continue tailing from where you left off.
Instructions
Polling live tail for one or more pods. Pass since from the previous nextSince. First call defaults to now-30s. Not a websocket; poll from the agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pods | Yes | ||
| sort | No | ||
| limit | No | ||
| regex | No | ||
| since | No | ISO timestamp cursor from previous nextSince | |
| offset | No | ||
| sample | No | Keep 1 in N lines | |
| spanId | No | ||
| status | No | ||
| cluster | No | ||
| traceId | No | ||
| contains | No | ||
| loglevel | No | ERROR,WARN or array | |
| container | No | ||
| namespace | No | ||
| connection | No | Named connection from env (default, optional stage/prod aliases, or a DYNATRACE_CONNECTIONS key) | |
| containsAll | No | ||
| containsAny | No | ||
| notContains | No | ||
| excludeLevels | No | ||
| caseInsensitive | No | ||
| excludePatterns | No | ||
| maxContentChars | No |