cars10 / elasticvue

Elasticsearch gui for the browser
https://elasticvue.com
MIT License
1.78k stars 143 forks source link

[FEAT] Would it be possible to automatically import the “Predefined clusters” when opening Elasticvue? #254

Open stephane-klein opened 1 month ago

stephane-klein commented 1 month ago

The ELASTICVUE_CLUSTERS parameter works correctly:

  elasticvue:
    image: cars10/elasticvue:1.0.10
    ports:
      - 8080:8080
    environment:
      - ELASTICVUE_CLUSTERS=[{"name":"docker-cluster","uri":"http://localhost:9200"}]

Feature request: Would it be possible to automatically import the “Predefined clusters” when opening Elasticvue?

image

Best regards, Stéphane

cars10 commented 1 week ago

Sure, it would be possible - but not desirable in my opinion:

What exactly is the issue you are facing? Users not noticing the button, and trying to setup manually? You can always import predefined clusters, even after the first setup.

stephane-klein commented 5 days ago

@cars10 I need it to automated and unattended installation, by scripting.

cars10 commented 5 days ago

Hm, interesting. You clould also directly set the config in the browsers localStorage for your users. But i will also rethink this feature, thanks for the suggestion and for using elasticvue :)