Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogClusterDepth int SimTh float64 MaxChildren int ExtraDelimiters []string MaxClusters int ParamString string // contains filtered or unexported fields }
func DefaultConfig ¶
func DefaultConfig() *Config
type Drain ¶
type Drain struct {
// contains filtered or unexported fields
}
func (*Drain) Clusters ¶
func (d *Drain) Clusters() []*LogCluster
func (*Drain) Match ¶
func (d *Drain) Match(content string) *LogCluster
Match against an already existing cluster. Match shall be perfect (sim_th=1.0). New cluster will not be created as a result of this call, nor any cluster modifications.
func (*Drain) Train ¶
func (d *Drain) Train(content string) *LogCluster
type LogCluster ¶
type LogCluster struct {
// contains filtered or unexported fields
}
func (*LogCluster) GetTemplate ¶
func (c *LogCluster) GetTemplate() string
func (*LogCluster) String ¶
func (c *LogCluster) String() string
type LogClusterCache ¶
type LogClusterCache struct {
// contains filtered or unexported fields
}
func (*LogClusterCache) Get ¶
func (c *LogClusterCache) Get(key int) *LogCluster
func (*LogClusterCache) Set ¶
func (c *LogClusterCache) Set(key int, cluster *LogCluster)
func (*LogClusterCache) Values ¶
func (c *LogClusterCache) Values() []*LogCluster
Click to show internal directories.
Click to hide internal directories.