Do you have a backup copy of the configuration in another file? If you point -f to a directory logstash will concatenate all of the files in it to create a configuration. Probably getting duplicate entries in elasticsearch too.
If you do not want an array then do not call add_field twice for the same field name. You may not think you are doing so, but I am pretty certain that you are.
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.