Documentation ¶
Index ¶
Constants ¶
View Source
const (
FILEBEAT_CONFIG_FILENAME string = "filebeat.yml"
)
View Source
const (
FILTERS_TEMPLATE string = "filters_template"
)
Variables ¶
This section is empty.
Functions ¶
func GetFilebeatConfig ¶
func ReadAuthfile ¶
Types ¶
type Filter ¶
type Filter struct { Cond string Mut []*FilterMutate }
func (*Filter) Mutate ¶
func (f *Filter) Mutate(m *FilterMutate) *Filter
type FilterMutate ¶
func NewMutate ¶
func NewMutate(assocs ...string) *FilterMutate
type TagsFilters ¶
type TagsFilters struct {
Filters []*Filter
}
func NewTagFilters ¶
func NewTagFilters() *TagsFilters
func (*TagsFilters) AddFilter ¶
func (tf *TagsFilters) AddFilter(f *Filter)
func (*TagsFilters) Marshal ¶
func (tf *TagsFilters) Marshal() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.