config.yaml 907 Bytes
Newer Older
崔为之's avatar
崔为之 committed
1 2 3 4 5 6 7 8
Server:
  Name: elasticsearch-log-parse
  Tag:
  IP: 172.28.12.236
  Port: 5000
  Interval: 30s
  Timeout: 30s
  Deregister: 60s
Weizhi Cui's avatar
Weizhi Cui committed
9

崔为之's avatar
崔为之 committed
10
Database:
崔为之's avatar
崔为之 committed
11 12 13
  Type: postgresql
  Driver: psycopg2
  Username: postgres
崔为之's avatar
崔为之 committed
14 15
  Password: localhost123
  Host: localhost
崔为之's avatar
崔为之 committed
16
  Port: 5432
Weizhi Cui's avatar
Weizhi Cui committed
17
  DB: elp
崔为之's avatar
崔为之 committed
18
  TableName: logs
崔为之's avatar
崔为之 committed
19 20 21 22 23 24 25 26 27 28 29

Elasticsearch:
  Host: 172.28.5.39
  Port: 9200
  USER:
  Password:
  UseSSL:
  VerifyCerts:
  CaCerts:
  Index: filebeat-ctocst_router-2021.11
  Type: _doc
崔为之's avatar
崔为之 committed
30 31

Logger:
崔为之's avatar
崔为之 committed
32
  Type: terminal
崔为之's avatar
崔为之 committed
33
  Level: DEBUG
崔为之's avatar
崔为之 committed
34 35 36 37 38 39
  Path: /Users/cuiweizhi/WorkSpace/Gitlab/elp/logs
  Name: elp.log
  Format:
  Rotation:
  Enqueue: True
  Retention:
崔为之's avatar
崔为之 committed
40

崔为之's avatar
崔为之 committed
41
Scheduler:
崔为之's avatar
崔为之 committed
42
  Start: 2023-11-20 18:50:00
崔为之's avatar
崔为之 committed
43 44
  End: 2099-11-11 16:00:00
  Timezone: Asia/Shanghai
崔为之's avatar
崔为之 committed
45 46

ExtraDB:
崔为之's avatar
崔为之 committed
47
  Host: 172.28.5.39
崔为之's avatar
崔为之 committed
48 49
  Port: 3306
  User: root
崔为之's avatar
崔为之 committed
50 51 52
  Password: gree123
  DB: corpora
  Sql: select concat(scene.scene, '.', intent) from intents as i left join scene on scene.id=i.scene_id group by i.intent;