Send feedback
RegexFilter
Stay organized with collections
Save and categorize content based on your preferences.
RegexFilters can be applied at the Forwarder and/or Collector level. Filters defined at both levels are merged, and the Collector's filters take precedence if there are conflicting descriptions. NEXT TAG: 4
JSON representation
{
"description" : string ,
"regexp" : string ,
"behavior" : enum (Behavior
)
}
Fields
description
string
Describes what is being filtered and why.
regexp
string
The regular expression used to match against each incoming line.
behavior
enum (Behavior
)
Filter behavior to apply when a match is found.
Behavior
Enums
BEHAVIOR_UNSPECIFIED
Attempting to set this default value will result in a validation error.
ALLOW
Allow the filtered line to be uploaded.
BLOCK
Block the filtered line from being uploaded.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-20 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?