Logstash correctly parses my log and shoves the appropriate data into the appropriate fields with the appropriate labels; however, when I bring up my docs in Kibana the "total_count" field still registers as a string, not an int.
If you look at the actual JSON document, is total_count as integer rather than a string containing an integer? If it's an integer, have you always had :int in the pattern, i.e. do all documents in the index have total_count as an integer?
The existing mapping of a field in an index can't be changed , so chances are that total_count at some point was mapped as a string. To fix that afterwards you need to reindex.
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.