-
Notifications
You must be signed in to change notification settings - Fork 23
Key Value Processor
orbenharosh edited this page Nov 9, 2022
·
16 revisions
This processor allows you to extract fields from a string that is in a key=value format. You can specify different characters for the field split and value split to fit your log format.
- field
- targetField
- includeKeys - [array] (Required) - all the fields you need to extract.
- excludeKeys - [array] (optional)
- trim (optional) - removes key from the value
- trimKey (optional) - removed given key from the value
- valueSplit (optional - default is = )
- fieldSplit (optional - default is " ")
- allowDuplicateValues (optional = default false)
- prefix (optional)
- maxKeyLength integer (by default 40)
{
"steps": [
{
"kv": {
"config": {
"field": "message",
"targetField": "params",
"fieldSplit": " ",
"valueSplit": ":",
"trim": "//",
"includeKeys":["timestamp","level","msg"]
}
}
}
]
}
- Home
-
Pipelines
-
Processors
- Add Field Processor
- Add Tag Processor
- AhoCorasick Processor
- Anonymize Processor
- Append List Processor
- Arrays Intersect Processor
- Base64 Decode Processor
- Convert Processor
- CSV Processor
- Date Processor
- Drop Processor
- External Mapping Source Processor
- GeoIP Processor
- Grok Processor
- JSON Processor
- Key Value Processor
- LowerCase Processor
- Math Processor
- Remove Field Processor
- Remove Tag Processor
- Rename Field Processor
- Split Processor
- Strip Processor
- Substitue Processor
- Substring Processor
- Translate Processor
- UpperCase Processor
- User Agent Processor
- URL Decode Processor
- XML Processor
- DeDot Processor
- Doc Size Processor
- If statement
- Additional Commands
-
Processors