Slackbot
05/23/2023, 5:24 PMOleg Yamin
05/23/2023, 6:30 PM"parser": {
"type": "string",
"parseSpec": {
"format": "tsv",
"timestampSpec": {
"column": "timestamp",
"format": "auto"
},
"transformSpec": {
"transforms": [
{
"type": "expression",
"name": "a",
"expression": "substring(params, index_of(params, '=') + 1, index_of(params, '&'))"
},
{
"type": "extraction",
"name": "c",
"expr": "substring(params, index_of(params, '=', index_of(params, '&')) + 1, index_of(params, '&', index_of(params, '&') + 1))"
}
]
}
"dimensionsSpec": {
"dimensions": [
"type",
"name",
"status",
"a",
"c"
]
},
"columns": [
"timestamp",
"type",
"name",
"status",
]
}
},
Vadim
05/23/2023, 11:44 PM\t
and &
as separatorsVadim
05/23/2023, 11:45 PMVadim
05/23/2023, 11:47 PM\t
and setting the listDelimiter to &
this would ingest a=b
c=d
e=f
as values of a single multi-value fieldVadim
05/23/2023, 11:48 PMVadim
05/23/2023, 11:52 PMOleg Yamin
05/24/2023, 12:39 AM