I have setup a centralized logging system where my application nodes have FluentD installed, tailing log files. FluetndD on the application nodes forward the processed logs to FluentD on a collector node. FluentD on this collector node then forwards to a variety of outputs, one being an ElasticSearch cluster. I then run Kibana to read from the ES. (Fairly common setup I believe.)
When trying to visualize some of the data in Kibana on certain data fields, Kibana is not grouping things correctly. For example, an email address is considered multiple values (name, domain, etc.). After doing some research it is my understanding that the problem is that my fields need to be configured to be replicated as .raw values as well. (Analyzed versus non-analyzed)
The problem is I cannot figure out how to get FluentD to add this data into Elasticsearch to include the .raw fields. Supposedly this is something Logstash does by default?
I am using the fluent-plugin-elasticsearch: https://github.com/uken/fluent-plugin-elasticsearch