ElasticSearch+NLog实现
https://blog.csdn.net/weixin_51439775/article/details/128539623
https://www.cnblogs.com/piscesLoveCc/p/7230426.html
ElasticSearch、kibana、logstach部署
https://www.cnblogs.com/ENU7/p/16995033.html
cmd:
E:\Logger\logstash-8.6.0\bin>logstash -f config/logstash-sample.conf --config.reload.automatic
下载地址:
https://www.elastic.co/cn/downloads/past-releases#filebeat
https://github.com/mobz/elasticsearch-head
elasticsearch-head安装
1.解压
2.进入head文件夹下,执行命令:npm install
如果安装速度慢,设置成淘宝的镜像重新安装 npm config set registry https://registry.npm.taobao.org
3.升级 npm i core-js
4.修改es使用的参数.编辑D:\elasticsearch\elasticsearch-7.3.2-windows-x86_64\elasticsearch-7.3.2\config\elasticsearch.yml文件
http.cors.enabled: true
http.cors.allow-origin: "*"
5.安装完成之后npm run start,启动head插件
----------
ES、kibana、logstach部署windows 服务
https://blog.csdn.net/qq_34202873/article/details/114337985
ES http://127.0.0.1:9200/
elasticsearch-head http://localhost:9100/
kibana http://localhost:5601/
----------
logstach配置
https://blog.csdn.net/qq_24950043/article/details/122291125 多个微服务配置tag
https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html
----------
grok 配置
https://www.elastic.co/cn/blog/structuring-elasticsearch-data-with-grok-on-ingest-for-faster-analytics
----------
单机 elasticsearch 索引状态yellow问题解决
在kibana开发工具的控制台执行
PUT /_settings
{
"number_of_replicas": 0
}
# 返回{"acknowledged":true}---成功