I want to ingest csv data but the string data output a double quotation.
Below is an example of my data:
2019-02-14 16:10:19,"Mike","Foster","M","24"
Here's the pipeline
PUT _ingest/pipeline/sample
{
"description" : "Sample Pipeline",
"processors" : [
{
"grok" : {
"field" : "message",
"patterns" : ["%{DATA:logtime},%{DATA:first_name},%{DATA:last_name},%{DATA:age}"]
}
}
]
}
and Here is the output:
"_source": {
"logtime": "\"2019-02-27T12:32:33.768Z\"",
"first_name": "\"Mike\"",
"last_name": "\"Foster\"",
"age": "\"24\""
}
I want to git rid of the double quote.
TIA