Just like grep
command can show the context of matching lines with --context
, --after-context
and --before-context
options, Can we display near by log entries in GCP Logging ?
As per the official GCP document on View logs by using the Logs Explorer
Pin log entries >> Scroll to log entry: Bring the log entry into the current Query results pane and view the pinned log entry in the context of nearby logs.