摘要:
基本上是官网的步骤,两个文档 [https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html#_prerequisites_10](https://www.elastic.co/gui 阅读全文
摘要:
我用的是filebeat, input { beats { port => 5783 } } filter { json { source => "message" } } output { elasticsearch { hosts => [ "xxx:9200","xxxxx:9200" ] i 阅读全文
摘要:
背景是由于界面上不支持批量打标签,我们机器又比较多,华为云ui很卡(个人猜测是因为他每次都返回全量数据导致),体验非常差,他们有个tms标签管理服务,但是不支持各种排序,筛选,数据量一大,没法搞,所以还是自己api实现吧。 过程其实还是简单的,我们是定义project,每个project基本上都是同 阅读全文
摘要:
type Host struct { HostName string `yaml:"host"` Addr string `yaml:"ip"` } type Hosts []Host func (bs *Hosts) Read(filename string) error { f, err := 阅读全文
摘要:
taint tolerations 阅读全文
摘要:
https://archive.repo.saltproject.io/yum/redhat/6/x86_64/ 2015.5/ 2015.8/ 2016.11/ 2016.3/ 2017.7/ 2018.3/ 2019.2/ 3000/ archive/ latest/ 2021-08-05 21 阅读全文
摘要:
ansible处理一些逻辑请求思路 我发现ansible处理一些没有模块能用的那种带逻辑判断的任务,比较难处理。比如说做swap这种, - stat: path=/data/swap register: s 然后再判断s 是否存在 - shell: dd if=/dev/zero of=/eastm 阅读全文
摘要:
nginx logging to syslog using filebeat 全文 http://nginx.org/en/docs/syslog.html error_log 和 access_log指令都支持把日志通过syslog发出去。这边稍微记录一下我的实践。比较简单。毕竟机器多了,一台台登 阅读全文
摘要:
还挺好用的,分2种,一种是原本支持的7层代理,http或者https ,另一种是后面支持的tcp,udp代理 1. 7层代理 主要是这个 https://nginx.org/en/docs/http/ngx_http_proxy_module.html location / { proxy_pass 阅读全文
摘要:
application gateway, aks ,ingress 阅读全文