elk Elasticsearch Logstash and Kibana fortigate ubuntu

https://www.rosehosting.com/blog/install-and-configure-the-elk-stack-on-ubuntu-16-04/ https://www.elastic.co/guide/en/logstash/current/configuration.html https://dotblogs.com.tw/supershowwei/2016/05/25/185741 install finish 1、/etc/logstash/conf.d/ put some logstash conf 2、ubuntu have logstash listen error, so nano /etc/logstash/startup.options LS_USER = root 3、/usr/share/logstash/bin# ./system-install reuse LS_USER for config 注意: mutate { add_field => { “logTime” => “%{+YYYY-MM-dd} %{time}” }

2017-08-14 · 1 min · 38 words · Me

[轉]Docker工具新手入門 用指令熟悉容器生命週期

http://netadmin.com.tw/article_content.aspx?sn=1708010003&jump=2

2017-08-10 · 1 min · word · Me

aws linux partition resize

http://docs.aws.amazon.com/zh_cn/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux 1、AWS console EC2 resizse 2、login EC2 2.1、 lsblk get info to disk size. Is resize ok? 2.2 resize2fs /dev/xvda1 If 2.2 finish, then resize faild. follow 2.3 2.3 parted /dev/xvda 2.3.1 parted> print all -> get disk real size 2.3.2 parted> resizepart 2.3.3 parted> 1 2.3.4 parted End?>put size is 2.3.1 2.3.5 parted>exit then 2.2 again. If ok then 2.1 check age. PS: 2.3.4 End?> -1 -1 最大磁碟空間

2017-08-01 · 1 min · 69 words · Me

[轉]Easy Middleware in Go

https://dev.to/kevburnsjr/easy-middleware-in-go

2017-07-29 · 1 min · word · Me

[轉]Go + Microservices = Go kit

https://peter.bourgon.org/applied-go-kit/#1

2017-07-29 · 1 min · word · Me