Documentation ¶
Overview ¶
Package filter provides a function to filter dynamic values/identifiers from a string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dynamic ¶
Dynamic replaces a-zA-Z_-% sequences that have at least one digit or 5+ consecutive consonants/vowels with X.
This is useful for filtering out dynamic values from log lines. Filtering is best effort, it does not guarantee that all dynamic values are filtered. Does not allocate, mutates original slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.