Hi,
I have documents like below. What I want is to get frequency of apple words(1 apple_x, 2 apple_y, 1 apple_z). What is the best way for doing this. I get data from logstash by the way. Should I use add_field filter in logstash?
{
"field1": "text text apple_x text text"
}
{
"field1": "text text apple_y text text"
}
{
"field1": "text text apple_y text text"
}
{
"field1": "text text apple_z text text"
}