googlecloudlogserialport_impl

package
v0.52.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const MaxNodesPerQuery = 30

Variables

FieldSetReadTask is the task to run GCESerialPortLogFieldSetReader on logs to parse serial port logs.

LogFilterTask removes logs with empty message. This message is mostly just contained escape sequences and stripped by ANSIEscapeSequenceStripper.

LogGrouperTask is the grouper task for GCE serial port logs. It groups logs by the node name and port name

LogIngesterTask is the log serializer task for GCE serial port logs. It includes all logs gathered from log list.

View Source
var LogQueryTask = googlecloudcommon_contract.NewListLogEntriesTask(&serialPortLoggingFilterTaskSetting{})
View Source
var LogToTimelineMapperTask = inspectiontaskbase.NewLogToTimelineMapperTask[struct{}](
	googlecloudlogserialport_contract.LogToTimelineMapperTaskID,
	&serialportLogToTimelineMapper{},
	inspectioncore_contract.FeatureTaskLabel(
		"GCE Node Serialport log",
		`Serialport logs from GCE instances. This helps detailed investigation on VM bootstrapping issue on GCE instance.`,
		enum.LogTypeSerialPort,
		10000, false, googlecloudinspectiontypegroup_contract.GKEBasedClusterInspectionTypes...,
	),
)

LogToTimelineMapperTask is the task to map logs into events on serial port logs.

Functions

func GenerateSerialPortQuery

func GenerateSerialPortQuery(taskMode inspectioncore_contract.InspectionTaskModeType, foundNodeNames []string, nodeNameSubstrings []string) []string

func Register

func Register(registry coreinspection.InspectionTaskRegistry) error

Register registers all googlecloudlogserialport inspection tasks to the registry.

flowchart TD

LogQueryTask
LogFilterTask
FieldSetReadTask
LogIngesterTask
LogGrouperTask
LogToTimelineMapperTask

LogQueryTask --> FieldSetReadTask
FieldSetReadTask --> LogFilterTask
LogFilterTask --> LogIngesterTask
LogFilterTask --> LogGrouperTask
LogGrouperTask --> LogToTimelineMapperTask
LogIngesterTask --> LogToTimelineMapperTask

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL