elastalert-create-index 未知 mimetype 错误

elastalert-create-index Unknown mimetype error

尝试使用命令 elastalert-create-index 通过 Elastalert 为使用 端口:5601 的基本身份验证安全实例创建索引时,失败并显示错误:

elasticsearch.exceptions.SerializationError: Unknown mimetype, unable to deserialize: text/html

似乎用于身份验证的默认端口是 Kibana 在端口 9200

上的 运行