Created
July 14, 2017 03:27
-
-
Save GitSumito/dfddde174cb3b573a022938b9b17f99c to your computer and use it in GitHub Desktop.
kibana(ELK)でユーザーやグループ毎に見せる/見せないをコントロールする。 ref: http://qiita.com/S-T/items/5fa1d8d9cd83a7de8dfe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/share/elasticsearch/bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.4.2-12 | |
cd /usr/share/elasticsearch/plugins/search-guard-5/tools | |
sh install_demo_configuration.sh | |
sh sgadmin_demo.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp/ | |
wget https://github.com/floragunncom/search-guard-kibana-plugin/releases/download/v5.4.2-3/searchguard-kibana-5.4.2-3.zip | |
/usr/share/kibana/bin/kibana-plugin install file:///tmp/searchguard-kibana-5.4.2-3.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elasticsearch.username: "kibanaserver" | |
elasticsearch.password: "kibanaserver" | |
elasticsearch.url: "https://localhost:9200" | |
elasticsearch.ssl.verificationMode: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp -p /etc/elasticsearch/truststore.jks /etc/logstash/truststore.jks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sg_readonly_nginx: | |
cluster: | |
- CLUSTER_COMPOSITE_OPS_RO | |
indices: | |
'messages-*': | |
'*': | |
- READ | |
'?kibana': | |
'*': | |
- INDICES_ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /usr/share/elasticsearch/plugins/search-guard-5/tools/hash.sh | |
[Password:] | |
$2a$12$MiyI73Dpa3qbajPW05ZYVOsSF93TdOBAfPciCTgwnbXS/fw2ok1YO | |
$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tsukada: | |
hash: $2a$12$MiyI73Dpa3qbajPW05ZYVOsSF93TdOBAfPciCTgwnbXS/fw2ok1YO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sg_readonly_nginx: | |
users: | |
- tsukada |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sg_readonly_nginx: | |
cluster: | |
- CLUSTER_COMPOSITE_OPS_RO | |
indices: | |
'nginx-*': | |
'*': | |
- READ | |
'?kibana': | |
'*': | |
- INDICES_ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/share/elasticsearch/plugins/search-guard-5/tools/sgadmin_demo.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment