User Tools

Site Tools


сервисы_opensearch

Сервисы OpenSearch

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
# 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'

OpenSearch Dashboard

# 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

# 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

# wget https://github.com/mnorrsken/beats/releases/download/v7.10.1/filebeat-oss-7.10.1-amd64.deb

# filebeat modules list
сервисы_opensearch.txt · Last modified: 2024/06/23 18:08 by val