sid_nikhil
(Nikhil Kumar)
December 22, 2018, 5:02pm
1
I have a field called "message" . I need to make it as aggregatable. I am unable to do so .
Can someone please suggest how to achieve that.
I have already followed the steps in the following Link .. still not able to make message field aggregatable
I did this in Dev tools
PUT /filebeat
{
"mappings": {
"_doc": {
"properties": {
"message": {
"type": "keyword"
}
}
}
}
}
But still message field is not aggregatable
[Capture_kibana_aggregation]
If my field is message , do you mean i should use message.doc_values
This is my painless script to extract last word from message:
String parts = /-/.split(doc['message'].value);
return parts[-1]
…
Can someone please suggest how to achieve that.
Take a look at the answer to this forum post for advice on how to do this: Can I make string field as aggregatable?
system
(system)
Closed
February 8, 2019, 8:48am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.