Skip to content

Basic user auth #12

Description

@Poohowy

Does anyone know a way to authenticate user created with Search Guard (or X-Pack, whatever)?

I have 3-node elasticsearch cluster. I installed elastizabbix and try to connect to ES cluster. But the problem is that elastizabbix does not have permission to get cluster stats or health. The problem is here:

stats = {
    'cluster': 'http://localhost:9200/_cluster/stats',
    'nodes'  : 'http://localhost:9200/_nodes/stats',
    'indices': 'http://localhost:9200/_stats',
    'health' : 'http://localhost:9200/_cluster/health'
}

I tried something like that:

stats = {
    'cluster': 'http://user:password@localhost:9200/_cluster/stats',
    'nodes'  : 'http://user:password@localhost:9200/_nodes/stats',
    'indices': 'http://user:password@localhost:9200/_stats',
    'health' : 'http://user:password@localhost:9200/_cluster/health'
}

But it does not work. Is there any way to walk around this issue?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions