[Fleet] Give output API key the correct privileges#60094
[Fleet] Give output API key the correct privileges#60094nchaulet merged 1 commit intoelastic:masterfrom
Conversation
|
Pinging @elastic/ingest-management (Feature:EPM) |
💚 Build SucceededTo update your PR or re-run it, just comment with: |
|
@nchaulet I changed this label to |
| { | ||
| names: ['logs-*', 'metrics-*'], | ||
| privileges: ['write'], | ||
| names: ['logs-*', 'metrics-*', 'events-*', 'metricbeat*'], |
There was a problem hiding this comment.
@nchaulet What is metricbeat* doing in the list here?
There was a problem hiding this comment.
I had to add it while demoing the agent last friday, the agent was sending some data to metricbeat* I am going to check which index in details
There was a problem hiding this comment.
nothing should be sent to metricbeat*, i will check, maybe some stale metricbeat binary i gave you
There was a problem hiding this comment.
defaultIndex for elasticsearch output is in form beat-version-yyyy-mm-dd if no index is specified. i need to figure out why metricbeat sends data to this index but filebeat is not, configuration of output is the same for both
Description
The output API key, that is used by elastic agents to send data to ES need the permission to create indices.
Add the
created_indexpermission to createlogs-*,metrics-*, ...