50% off alle planer, begrænset periode. Fra kun $2.48/mo
OpenSearch

OpenSearch

OpenSearch er Apache 2.0 Elasticsearch-forken. Søgning og analyse under en åben licens med fuld Elasticsearch API-kompatibilitet. Skabt af AWS i 2021 efter Elastics licensskifte. Bruges hos Walmart, Netflix og 100+ AWS-native deployments.

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

4 GB

IP Types

IPV4,IPV6

Accessing OpenSearch

  • URL: https://localhost:9200
  • Administratoroplysninger: gemt i /root/.cloudzy-creds
  • Som standard binder OpenSearch sig til localhost (127.0.0.1) og er IKKE tilgængelig via serverens IP.
  • Eksempeltest med curl: curl -X GET https://localhost:9200 -u 'admin:<password>' --insecure

Adgang til OpenSearch Dashboards (UI)

  • URL: http://<SERVER_IP>:5601
  • Login-oplysninger: gemt i /root/.cloudzy-creds
  • Dashboards er konfigureret til at lytte på 0.0.0.0 til fjernadgang.

Vigtige filer og mapper

  • Credentials: /root/.cloudzy-creds
  • OpenSearch configuration: /etc/opensearch/opensearch.yml
  • OpenSearch data: /var/lib/opensearch
  • OpenSearch logs: /var/log/opensearch
  • Dashboards configuration: /etc/opensearch-dashboards/opensearch_dashboards.yml
  • Dashboards logs: /var/log/opensearch-dashboards

Service Management

OpenSearch:

systemctl status opensearch
systemctl restart opensearch
journalctl -u opensearch -f

OpenSearch Dashboards:

systemctl status opensearch-dashboards
systemctl restart opensearch-dashboards
journalctl -u opensearch-dashboards -f

Notes

  • OpenSearch listens on localhost (127.0.0.1) som standard og kan ikke tilgås via server-IP'en, medmindre det er eksplicit konfigureret.
  • SSH port forwarding kan bruges til sikkert at tilgå OpenSearch eksternt uden at eksponere port 9200.
  • Eksempel på SSH port forwarding: ssh -L 9200:localhost:9200 root@<SERVER_IP>
  • OpenSearch Dashboards er konfigureret til at lytte på 0.0.0.0 og er tilgængelig eksternt på port 5601.
  • Dashboards-loginoplysninger er defineret i /etc/opensearch-dashboards/opensearch_dashboards.yml.

More in Monitoring

Related apps.

Deploy OpenSearch nu. From $2.48/mo.