Elastic Stack
をテンプレートにして作成
Search in
this wiki
and
or
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
* 導入メモ (ver 6, Windows 7) [#m71c893e]
- https://www.elastic.co/jp/downloads/elasticsearch から ...
- 適当なフォルダに展開
- cmdで PATH=C:\ProgramData\Oracle\Java\javapath ※otherw...
- bin\elasticsearch.bat を実行
- http://localhost:9200/ => JSONが表示
- https://www.elastic.co/downloads/kibana から kibana-6.3...
- 適当なフォルダに展開
- bin\kibana.bat を実行
- http://localhost:5601/ => 操作画面が表示
- https://www.elastic.co/guide/en/elasticsearch/plugins/c...
- bin\elasticsearch-plugin.bat install file:///C:\Program...
- https://www.elastic.co/downloads/logstash から logstash...
- 適当なフォルダに展開
* 導入メモ (ver 6, CentOS 6) [#y97d7f1f]
- # rpm --import https://artifacts.elastic.co/GPG-KEY-ela...
- # vim /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
- sudo yum install elasticsearch
- sudo service elasticsearch start
- sudo chkconfig --add elasticsearch
- vi /etc/elasticsearch/elasticsearch.yml ※必要に応じて
bootstrap.system_call_filter: false
- curl http://localhost:9200
- $ cd /usr/share/elasticsearch/
- $ sudo bin/elasticserch-plugin install analysis-kuromoji
- $ sudo service elasticsearch restart
- $ curl -X GET http://localhost:9200/_nodes/plugins?pretty
- vi /etc/security/limits.d/90-nproc.conf
elasticsearch soft nproc 4096
- # vim /etc/yum.repos.d/kibana.repo
[kibana-6.x]
name=Kibana repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
- sudo yum install kibana
- sudo chkconfig --add kibana
- sudo -i service kibana start
- vi /etc/kibana/kibana.yml ※必要に応じて
serer.basePath: "/kibana"
- Apacheのconf.d/procxy.confに、/kibana<->localhost:5601...
- https://jomura.net/kibana/ => 操作画面が表示
- sudo yum install filebeat
- vi /etc/filebeat/filebeat.yml ※必要に応じて
setup.dashboards.enabled: true
- vi /etc/filebeat/modules.d/apache2.conf
- module: apache2
access:
enabled: true
var.paths: ["/var/log/httpd/access.log*"]
error:
enabled: true
var.paths: ["/var/log/httpd/error.log*"]
- sudo /usr/share/elasticsearch/bin/elasticsearch-plugin ...
- sudo /usr/share/elasticsearch/bin/elasticsearch-plugin ...
- $ sudo service elasticsearch restart
- $ curl -X GET http://localhost:9200/_nodes/plugins?pretty
- # sudo service filebeat start
- https://jomura.net/kibana/ => 操作画面が表示
-- dashboardなど
-- 世界地図は[Visualize][options]の"WMS map server"をチェ...
終了行:
* 導入メモ (ver 6, Windows 7) [#m71c893e]
- https://www.elastic.co/jp/downloads/elasticsearch から ...
- 適当なフォルダに展開
- cmdで PATH=C:\ProgramData\Oracle\Java\javapath ※otherw...
- bin\elasticsearch.bat を実行
- http://localhost:9200/ => JSONが表示
- https://www.elastic.co/downloads/kibana から kibana-6.3...
- 適当なフォルダに展開
- bin\kibana.bat を実行
- http://localhost:5601/ => 操作画面が表示
- https://www.elastic.co/guide/en/elasticsearch/plugins/c...
- bin\elasticsearch-plugin.bat install file:///C:\Program...
- https://www.elastic.co/downloads/logstash から logstash...
- 適当なフォルダに展開
* 導入メモ (ver 6, CentOS 6) [#y97d7f1f]
- # rpm --import https://artifacts.elastic.co/GPG-KEY-ela...
- # vim /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
- sudo yum install elasticsearch
- sudo service elasticsearch start
- sudo chkconfig --add elasticsearch
- vi /etc/elasticsearch/elasticsearch.yml ※必要に応じて
bootstrap.system_call_filter: false
- curl http://localhost:9200
- $ cd /usr/share/elasticsearch/
- $ sudo bin/elasticserch-plugin install analysis-kuromoji
- $ sudo service elasticsearch restart
- $ curl -X GET http://localhost:9200/_nodes/plugins?pretty
- vi /etc/security/limits.d/90-nproc.conf
elasticsearch soft nproc 4096
- # vim /etc/yum.repos.d/kibana.repo
[kibana-6.x]
name=Kibana repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
- sudo yum install kibana
- sudo chkconfig --add kibana
- sudo -i service kibana start
- vi /etc/kibana/kibana.yml ※必要に応じて
serer.basePath: "/kibana"
- Apacheのconf.d/procxy.confに、/kibana<->localhost:5601...
- https://jomura.net/kibana/ => 操作画面が表示
- sudo yum install filebeat
- vi /etc/filebeat/filebeat.yml ※必要に応じて
setup.dashboards.enabled: true
- vi /etc/filebeat/modules.d/apache2.conf
- module: apache2
access:
enabled: true
var.paths: ["/var/log/httpd/access.log*"]
error:
enabled: true
var.paths: ["/var/log/httpd/error.log*"]
- sudo /usr/share/elasticsearch/bin/elasticsearch-plugin ...
- sudo /usr/share/elasticsearch/bin/elasticsearch-plugin ...
- $ sudo service elasticsearch restart
- $ curl -X GET http://localhost:9200/_nodes/plugins?pretty
- # sudo service filebeat start
- https://jomura.net/kibana/ => 操作画面が表示
-- dashboardなど
-- 世界地図は[Visualize][options]の"WMS map server"をチェ...
ページ名: