Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(raw json.RawMessage) (types.FilterPlugin, error)
Types ¶
type IPHash ¶
type IPHash struct {
plugin.PluginCommon
// salt for creating hash
Salt string
// If QueryAddressEnabled is true, create a QueryAddressHash label. Default is true.
QueryAddressEnabled bool
// If ResponseAddressEnabled is true, create a ResponseAddressHash label. Default is true.
ResponseAddressEnabled bool
}
func (*IPHash) Filter ¶
func (f *IPHash) Filter(t *types.DnstapMessage) *types.DnstapMessage
Click to show internal directories.
Click to hide internal directories.