opensearch // users and roles setup

logging | elk | fluentbit

create a dedicated role for pushing logs to data-streams

    security / roles / create role

    nginx-write

    # cluster perms
cluster_composite_ops

    index permissions: nginx-*

    # index perms
    create_index
    indices:admin/auto_create
    indices:admin/create
    indices:admin/data_stream/create
    write

and don’t forget to map some dedicated app/env user to that role

resources

https://opensearch.org/docs/latest/security/access-control/users-roles/ ==> cluster perms


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun