Not 100% sure, but think only the password is configurable. Try with just the password. password configuration in metricbeat. Also, assuming you aren't asking how do I get metricbeat data into redis, which would be a different solution (try /etc/metricbeat/metricbeat.yml instead).
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.