Programming/How To Post data to Elasticsearch: Difference between revisions
From Wiki Aghanim
Jump to navigationJump to search
No edit summary |
|||
| Line 17: | Line 17: | ||
# Click '''Create API key''' | # Click '''Create API key''' | ||
# '''Copy the key immediately''' — it is only shown once | # '''Copy the key immediately''' — it is only shown once | ||
== Your Project == | |||
(category | |||
Revision as of 12:25, 26 February 2026
Elasticsearch API Key
In order to POST or GET data from Elasticsearch, you need an API key.
You must have one of the following cluster privileges:
manage_securitymanage_api_keymanage_own_api_key
- Open Kibana
- In the left sidebar, scroll down and click Stack Management
- Under Security, click API Keys
- Click Create API key
- Fill in the following fields:
- Name — give it a meaningful name
- Expiration — optional, leave blank for no expiration
- Privileges — set index/cluster permissions (e.g. index
*with privilegewriteto post data)
- Click Create API key
- Copy the key immediately — it is only shown once
Your Project
(category