v0.1.9 pre-stream log regex filtering added
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
// FILE: src/internal/config/stream.go
|
||||
package config
|
||||
|
||||
import "logwisp/src/internal/filter"
|
||||
|
||||
type StreamConfig struct {
|
||||
// Stream identifier (used in logs and metrics)
|
||||
Name string `toml:"name"`
|
||||
@ -8,6 +10,9 @@ type StreamConfig struct {
|
||||
// Monitor configuration for this stream
|
||||
Monitor *StreamMonitorConfig `toml:"monitor"`
|
||||
|
||||
// Filter configuration
|
||||
Filters []filter.Config `toml:"filters"`
|
||||
|
||||
// Server configurations
|
||||
TCPServer *TCPConfig `toml:"tcpserver"`
|
||||
HTTPServer *HTTPConfig `toml:"httpserver"`
|
||||
|
||||
Reference in New Issue
Block a user