filters

package
v1.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PatternIpLogs = `\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b`
View Source
var PatternsDate = []string{
	`\d{2}/\d{2}/\d{4}`,
	`\d{2}-\d{2}-\d{4}`,
	`\d{4}/\d{2}/\d{2}`,
	`\d{4}-\d{2}-\d{2}`,
	`\d{2}/\d{4}/\d{2}`,
	`\d{2}-\d{4}-\d{2}`,
	`\d{4}/\d{2}`,
	`\d{4}-\d{2}`,
	`\d{2}/\d{4}`,
	`\d{2}-\d{4}`,
	`\d{2}:\d{2}:\d{2}`,
	`[a-z]+\s\d{1,2},\s\d{4}`,
}
View Source
var PatternsIdLogs = `\d{1,9}`
View Source
var PatternsLogLevel = `(?i)\b(debug|info|notice|warn(?:ing)?|error|critical|alert|emergency)\b`

Functions

func LoadFiltersWord

func LoadFiltersWord()

Types

This section is empty.

Jump to

Keyboard shortcuts

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