parent
cf0d242268
commit
538676b17a
@ -1,5 +1,4 @@
|
||||
[_json]
|
||||
KV_MODE = json
|
||||
SHOULD_LINEMERGE = false
|
||||
TRANSFORMS-extract_json = extract_json_fields
|
||||
TRUNCATE = 0
|
||||
REPORT-extract_fields = extract_fields
|
||||
@ -1,4 +1,4 @@
|
||||
[extract_fields]
|
||||
REGEX = (?s)(?<=\{).*?(\})
|
||||
FORMAT = _json
|
||||
[extract_json_fields]
|
||||
REGEX = \"(?<field_name>[^\"]+)\":\s?\"(?<field_value>[^\"]+)\"
|
||||
FORMAT = $1::$2
|
||||
WRITE_META = true
|
||||
Loading…
Reference in new issue