I'm not sure if what you see is correct. Since you set the type to integer why it is long in the mapping? Maybe something goes wrong?
If we verify that Filebeat sets the mapping properly then we can ask for help in Kibana's forum to check what goes wrong with the index-template. But for now let's verify that what is set by Filebeat is correct.
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.