Opserver icon indicating copy to clipboard operation
Opserver copied to clipboard

Elastic search settings

Open hayriozler opened this issue 8 years ago • 3 comments

Hi guys, I would like to monitor elastic cluster with this great tool, unfortunately elastic is configured basic authentication but I could not see any option in elastic settings file, how can I configure our elastic cluster. you can see the my ElasticSettings.json file as below, #

{
    "clusters": [
        {
            "name": "Test Cluster",
            "refreshIntervalSeconds": 10,
            "nodes": [
                "xxxxx-d-01",
                "xxxxx-d-02"
            ]
        },
        {
            "name": "Test Logstash",
            "refreshIntervalSeconds": 20,
            "nodes": [
                "xxxxx-l-01",
                "xxxxx-l-02"
            ]
        }
    ]
}

hayriozler avatar Nov 30 '17 10:11 hayriozler

We don't currently support basic authentication to Elastic (I honestly didn't even know this was a thing) - I'm hesitant to add another plaintext version though...I want to get on ASP.NET Core with Opserver and provide secure credential storage in settings people expect.

NickCraver avatar Feb 11 '18 17:02 NickCraver

I recently added support for basic authentication (a la X-Pack), as well as optionally ignoring HTTPS certificate validation errors (I'm using a self-signed cert) in my fork. See my updated ElasticSettings.example.json for details. Admittedly, the password is not in secure credential storage. Maybe that change will come next...

dwdii avatar May 25 '18 02:05 dwdii

Any update on this issue?

hugos99 avatar Aug 14 '20 09:08 hugos99