-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconf.yml
71 lines (64 loc) · 1.9 KB
/
conf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
LearnMode: True
LogResourceList:
- 'file:///home/ubuntu/aminer-deep/data/hdfs_xu/sorted.log'
Parser:
- id: HDFSParsingModel
type: HDFSParsingModel
name: 'hdfs'
start: True
Input:
timestamp_paths: "/hdfs/time"
Analysis:
- type: ParserCount
id: ParserCount
output_event_handlers:
- "stpe"
report_interval: 5
- type: DeepLearningFeatureExtractor
id: DeepLearningFeatureExtractor
window_size: 10
group_by_list:
- "/hdfs/type/access/blk"
- "/hdfs/type/adding/blk"
- "/hdfs/type/cannot/blk"
- "/hdfs/type/changing/blk"
- "/hdfs/type/del/blk"
- "/hdfs/type/deleting/blk"
- "/hdfs/type/empty/blk"
- "/hdfs/type/ex_r/blk"
- "/hdfs/type/ex_wr/blk"
- "/hdfs/type/exception/blk"
- "/hdfs/type/failed/blk"
- "/hdfs/type/invalidset/blk"
- "/hdfs/type/neededrep/blk"
- "/hdfs/type/no_file/blk"
- "/hdfs/type/packetresponder/type/ex/blk"
- "/hdfs/type/packetresponder/type/nonex/blk"
- "/hdfs/type/pending/blk"
- "/hdfs/type/received/blk"
- "/hdfs/type/receiving/blk"
- "/hdfs/type/redun/blk"
- "/hdfs/type/reopen/blk"
- "/hdfs/type/repl/blk"
- "/hdfs/type/serving/blk"
- "/hdfs/type/thread/blk"
- "/hdfs/type/trans/blk"
- "/hdfs/type/upd/blk"
- "/hdfs/type/verification/blk"
- "/hdfs/type/vmap/blk"
- "/hdfs/type/writeblock/blk"
publisher_address: "tcp://127.0.0.1:5560"
subscriber_address: "tcp://127.0.0.1:5559"
publisher_topic: "aminer"
subscriber_topic: "deep-aminer"
learn_mode: True
event_encoding: False
EventHandlers:
- id: "stpe"
type: "StreamPrinterEventHandler"
json: True
# - id: 'stpefile'
#type: 'StreamPrinterEventHandler'
#json: true
#pretty: true
#output_file_path: '/tmp/aminer_out.log'