Skip to content

Commit

Permalink
Update index.rst (apache#45263)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 authored and Lefteris Gilmaz committed Jan 5, 2025
1 parent d3e6e8a commit 8026017
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/apache-airflow-providers-elasticsearch/logging/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ cert, etc.) use the ``elasticsearch_configs`` setting in your ``airflow.cfg``
verify_certs=True
ca_certs=/path/to/CA_certs
Additionally, in the ``elasticsearch_configs`` section, you can pass any parameters supported by the `Elasticsearch Python client <https://elasticsearch-py.readthedocs.io/en/stable/api/elasticsearch.html>`_. These parameters will be passed directly into the ``elasticsearch.Elasticsearch(**kwargs)`` client. For example:

.. code-block:: ini
[elasticsearch_configs]
http_compress = True
ca_certs = /root/ca.pem
api_key = "SOMEAPIKEY"
verify_certs = True
.. _log-link-elasticsearch:

Elasticsearch External Link
Expand Down

0 comments on commit 8026017

Please sign in to comment.