googlecloudlogserialport_impl

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0 Imports: 18 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.

View Source
var HistoryModifierTask = inspectiontaskbase.NewHistoryModifierTask[struct{}](
	googlecloudlogserialport_contract.HistoryModifierTaskID,
	&serialportHistoryModifier{},
	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...,
	),
)

HistoryModifierTask is the task to modify history to generate events on 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

View Source
var LogQueryTask = googlecloudcommon_contract.NewListLogEntriesTask(&serialPortLoggingFilterTaskSetting{})

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

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
LogSerializerTask
LogGrouperTask
HistoryModifierTask

LogQueryTask --> FieldSetReadTask
FieldSetReadTask --> LogFilterTask
LogFilterTask --> LogSerializerTask
LogFilterTask --> LogGrouperTask
LogGrouperTask --> HistoryModifierTask
LogSerializerTask --> HistoryModifierTask

Types

This section is empty.

Jump to

Keyboard shortcuts

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