简体   繁体   English

将 ElasticSearch 连接到 Superset

[英]Connecting ElasticSearch to Superset

I need to connect ElasticSearch to Superset for visualization.我需要将 ElasticSearch 连接到 Superset 以进行可视化。 When I checked in Superset in Sources> Databases, it mentioned to use SQLAlchemy URI and Database for testing the connection.当我在 Sources> Databases 中检查 Superset 时,它提到使用 SQLAlchemy URI 和 Database 来测试连接。

In our case, ElasticSearch is connected with Python library and not using SQLAlchemy.在我们的例子中,ElasticSearch 与 Python 库连接,而不使用 SQLAlchemy。

Is there any way to connect Elastic Search with Superset using Python library and if so could you please help by mentioning the way to connect.有什么方法可以使用 Python 库将 Elastic Search 与 Superset 连接起来,如果可以,请您提一下连接方式。

Thanks in advance.提前致谢。

Regards, Naveen.问候,纳文。

you can connect by the way mentioned in the docs.You need to add the dbapi python package mentioned in superset installer document and that will in turn help you connect to the elk using the url elasticsearch+http://{user}:{password}@{host}:9200/您可以通过文档中提到的方式进行连接。您需要添加超集安装程序文档中提到的 dbapi python package,这反过来将帮助您使用 Z572D4E421E5E6B09BC11D81+E 连接到 elk http://user:{2}71D81+E }@{主机}:9200/

pip install elasticsearch-dbapi pip 安装elasticsearch-dbapi

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM