LogsPanelArgs

data class LogsPanelArgs(val filter: Output<String>? = null, val resourceNames: Output<List<String>>? = null) : ConvertibleToJava<LogsPanelArgs>

A widget that displays a stream of log.

Constructors

Link copied to clipboard
constructor(filter: Output<String>? = null, resourceNames: Output<List<String>>? = null)

Properties

Link copied to clipboard
val filter: Output<String>? = null

A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries.

Link copied to clipboard
val resourceNames: Output<List<String>>? = null

The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.

Functions

Link copied to clipboard
open override fun toJava(): LogsPanelArgs