mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Update overview.asciidoc to replace tuple reference to API Key (#678)
This commit is contained in:
parent
de83f3f905
commit
aaec995b1b
@ -61,7 +61,7 @@ You can also connect Eland to an Elasticsearch instance in Elastic Cloud:
|
|||||||
>>> from elasticsearch import Elasticsearch
|
>>> from elasticsearch import Elasticsearch
|
||||||
|
|
||||||
# First instantiate an 'Elasticsearch' instance connected to Elastic Cloud
|
# First instantiate an 'Elasticsearch' instance connected to Elastic Cloud
|
||||||
>>> es = Elasticsearch(cloud_id="...", api_key=("...", "..."))
|
>>> es = Elasticsearch(cloud_id="...", api_key="...")
|
||||||
|
|
||||||
# then wrap the client in an Eland DataFrame:
|
# then wrap the client in an Eland DataFrame:
|
||||||
>>> df = ed.DataFrame(es, es_index_pattern="flights")
|
>>> df = ed.DataFrame(es, es_index_pattern="flights")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user