作者 kevin

update doc

@@ -56,7 +56,7 @@ Processors: @@ -56,7 +56,7 @@ Processors:
56 Hosts: 56 Hosts:
57 - "172.16.141.4:9200" 57 - "172.16.141.4:9200"
58 - "172.16.141.5:9200" 58 - "172.16.141.5:9200"
59 - DailyIndexPrefix: k8s_pro- 59 + Index: {.event}-2006.01.02
60 ``` 60 ```
61 61
62 ### 微信交流群 62 ### 微信交流群
@@ -16,8 +16,6 @@ import ( @@ -16,8 +16,6 @@ import (
16 "github.com/tal-tech/go-zero/core/service" 16 "github.com/tal-tech/go-zero/core/service"
17 ) 17 )
18 18
19 -const dateFormat = "2006.01.02"  
20 -  
21 var configFile = flag.String("f", "etc/config.yaml", "Specify the config file") 19 var configFile = flag.String("f", "etc/config.yaml", "Specify the config file")
22 20
23 func main() { 21 func main() {