All I want is to run this below commands in DEV Tools – Console of Kibana in order to enable set fielddata=true on one my newly created field “Days_Remaining” (this new field we created using Grok filter in logstash.json).
I am putting like this in DEV Tools of Kibana; but its giving the error;
I am assuming winlogbeat* is my index name as per the screenshot I have attached here.
I am really sorry to ask these kind of basic questions as I am very new to this ELK.
_PUT winlogbeat*/_mapping/doc
{
"properties": {
"Days_Remaining": {
"type": "text",
"fielddata": true
}
}
}
Please someone advise me how to fix this.