====== Сервисы OpenSearch ====== * [[https://habr.com/ru/articles/662527/|Установка, настройка и эксплуатация стэка OpenSearch в классической среде]] * https://opensearch.org/downloads.html * https://opensearch.org/docs/latest/quickstart/ * https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/ ===== OpenSearch ===== # wget https://artifacts.opensearch.org/releases/bundle/opensearch/2.14.0/opensearch-2.14.0-linux-x64.deb # OPENSEARCH_INITIAL_ADMIN_PASSWORD='Pa##w0rd##' dpkg -i opensearch-2.14.0-linux-x64.deb # systemctl daemon-reload # systemctl enable opensearch.service --now * https://opensearch.org/docs/latest/api-reference/cat/cat-indices/ # curl -X GET https://localhost:9200/_cat/indices?v -u 'admin:Pa##w0rd##' --insecure # vim /etc/opensearch/opensearch.yml ... network.host: 127.0.0.1 ... plugins.security.disabled: true ... # curl -X GET 'http://localhost:9200/_cat/indices?pretty' * [[Сервисы ELK#Примеры запросов]] ===== OpenSearch Dashboard ===== * [[https://opensearch.org/docs/latest/install-and-configure/install-dashboards/debian/|Installing OpenSearch Dashboards (Debian)]] * https://opensearch.org/docs/latest/install-and-configure/install-dashboards/plugins/ * [[Сервисы ELK#Kibana]] # wget https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.14.0/opensearch-dashboards-2.14.0-linux-x64.deb # vim /etc/opensearch-dashboards/opensearch_dashboards.yml ... server.host: "192.168.X.10" ... #opensearch.hosts: [https://localhost:9200] opensearch.hosts: [http://localhost:9200] ... #opensearch_security.multitenancy.enabled: true #opensearch_security.multitenancy.tenants.preferred: [Private, Global] #opensearch_security.readonly_mode.roles: [kibana_read_only] ... ? /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove securityDashboards --allow-root # systemctl restart opensearch-dashboards ===== Logstash ===== * [[https://opensearch.org/docs/latest/tools/logstash/index/]] # wget https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-8.6.1-linux-x64.tar.gz ~/logstash-8.6.1# bin/logstash -e "input { stdin {} } output { stdout {} opensearch {} }" ===== Filebeat ===== * [[https://opensearch.org/docs/1.0/clients/agents-and-ingestion-tools/index/]] # wget https://github.com/mnorrsken/beats/releases/download/v7.10.1/filebeat-oss-7.10.1-amd64.deb # filebeat modules list