I create the index with this mapping and then use Logstash to import some data from SQL Server. However when reviewing the imported data in Kibana the string fields are being marked as analyzed and the visualizations I create using them have the data in the field broken apart.
I am at a loss as to how to get the string fields to not be analyzed. Any help would be very appreciated.
Thanks for the responses and suggestions. As it turns out the command I was using to set up the index and mapping was not correct. So the index was created and no error was thrown but no actual mapping was created. When I then imported data into the index the data was auto mapped. Once I got the command correct it worked as expected.
It was a while ago so I am not exactly sure what was the problem but in looking at it now it seems like I was missing curly braces (in bold in the example below) after the name of the index. I think what helped the most was to install the Sense Chrome plug-in. It helped with validating the json.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.