当前位置:网站首页>SearchGuard configuration
SearchGuard configuration
2022-08-11 06:33:00 【cjx__】
elk security plugin searchguard installation
Install under es (es version 6.5.4)
Download plugin
/bin/elasticsearch-plugin install -b com.floragunn:search-guard-6:Go to the searchguard installation directory
cd/plugins/search-guard-/toolsRun Install
/install_demo_configuration.sh
Generated file/config/elasticsearch.yml
Install demo certificates? [y/N] yInitialize Search Guard? [y/N] y# Cluster configuration select yEnable cluster mode? [y/N] nVerify the installation
https://:9200 Enter the admin\admin account password to access the test installation
https://:9200/_searchguard/authinfo Displays information about the currently logged in user by accessingModify the default account password
Generate a new hash password
sh hash.sh -p chenfh5
Modify/plugins/search-guard-6/sgconfig/sg_internal_users.ymlDistribute new configuration to es cluster
cd/plugins/search-guard-6/tools
./sgadmin.sh -cd ../sgconfig/ -icl -nhnv \-cacert ../../../config/root-ca.pem \-cert ../../../config/kirk.pem \-key ../../../config/kirk-key.pemkibana install SearchGuard (kibana version 6.5.4)
Run Install
/bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.5.4-17/search-guard-kibana-plugin-6.5.4-17.zipModify kibana configuration
vim/config/kibana.yml
# Turn off xpack security authenticationxpack.security.enabled: false#xpack.monitoring.enabled: falsenetwork.host: 0.0.0.0Startup error/bin/kibana
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`The reason is that the browserslist without node has not been updated. If it is updated directly, an error will be reported. You can only download the package manually and then cover it to the original installation directory
# Install npm tools, if there is no need to installyum install npm# Create a new directory to download new filesmkdir cd npm install caniuse-lite browserslistcd /node_modules# Create a new directory to save the original copymv /node_modules/browserslist mv /node_modules/caniuse-lite mv /node_modules/electron-to-chromium mv /node_modules/node-releases mv /node_modules/semver cd mv /* /kibana-6.5.4-linux-x86_64/node_modules Restart /bin/kibana and wait for node compilation to complete
- [error][admin][elasticsearch] Request error, retrying error
Edit kibana.yml
# Turn off xpack security authenticationxpack.security.enabled: false#xpack.spaces.enabled: false# connectelasticsearch.url: "https://xxx.xxx.xxx.xxx:9200"- Open the browser https://: enter the admin account and password to open the management page
logstash configure searchguard
- xxx.conf add the following configuration
output {elasticsearch {user => logstashpassword => logstashssl => truessl_certificate_verification => falsecacert => "/config/spock.pem"...}} 边栏推荐
猜你喜欢

SWOT分析法

Vscode remote connection server terminal zsh+Oh-my-zsh + Powerlevel10 + Autosuggestions + Autojump + Syntax-highlighting

JNI入门

MSP430学习总结(二)——GPIO

Invalid revision: 3.18.1-g262b901-dirty

EMQX企业版试用笔记

The latest safety helmet wearing recognition system in 2022

aPaaS和iPaaS的区别

USB 枚举过程中8 字节标准请求解析

umi约定式路由规则修改
随机推荐
关于openlayer中swipe位置偏移的问题
端口的作用
CMT2380F32模块开发3-GPIO例程
网络七层结构(讲人话)
博客目录
Jetpack使用异常问题集锦
关于接口响应内容的解码
USB URB
STM32-串口常用寄存器和库函数及配置串口步骤
CMT2380F32模块开发8-Base Timer例程
黑马大事件项目
蓝牙技术-简介
OpenMLDB + Jupyter Notebook:快速搭建机器学习应用
从概念认识AI
ASP.NET MVC 4中实现action的事务功能
mount命令--挂载出现只读,解决方案
Hard hat recognition algorithm
Typescript学习日记,typescript从基础到进阶(第一章)
pip安装报错:is not a supported wheel on this platform
如何快速转行做产品经理