7ff24b1bf6f3e5f70315a4b4f5eec8a634413fd6
[dcaegen2/collectors/ves.git] / etc / collector.properties
1 ###############################################################################\r
2 ##\r
3 ## Collector Server config\r
4 ##\r
5 ##      - Default values are shown as commented settings.\r
6 ##\r
7 ###############################################################################\r
8 ##\r
9 ## HTTP(S) service\r
10 ##\r
11 ##      Normally:\r
12 ##\r
13 ##              - 8080 is http service\r
14 ##              - https is disabled by default (-1)\r
15 ##\r
16 ##              - At this time, the server always binds to 0.0.0.0\r
17 ##\r
18 ## The default port when header.authflag is disabled (0)\r
19 collector.service.port=8080\r
20 \r
21 ## The secure port is required if header.authflag is set to 1 (true)\r
22 ## Authentication is only supported via secure port\r
23 ## When enabled - require valid keystore defined\r
24 collector.service.secure.port=8443\r
25 \r
26 ## The keystore must be setup per installation when secure port is configured\r
27 collector.keystore.file.location=etc/keystore\r
28 collector.keystore.passwordfile=etc/passwordfile\r
29 collector.keystore.alias=tomcat\r
30 \r
31 \r
32 ###############################################################################\r
33 ## Processing\r
34 ##\r
35 ## If there's a problem that prevents the collector from processing alarms,\r
36 ## it's normally better to apply back pressure to the caller than to try to\r
37 ## buffer beyond a reasonable size limit. With a limit, the server won't crash\r
38 ## due to being out of memory, and the caller will get a 5xx reply saying the\r
39 ## server is in trouble.\r
40 collector.inputQueue.maxPending=8096\r
41 \r
42 ## Schema Validation checkflag\r
43 ## default no validation checkflag (-1)\r
44 ## If enabled (1) - schemafile location must be specified\r
45 collector.schema.checkflag=1\r
46 collector.schema.file={\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\"}\r
47 \r
48 ## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile  \r
49 collector.dmaap.streamid=fault=ves_fault|syslog=ves_syslog|heartbeat=ves_heartbeat|measurementsForVfScaling=ves_measurement|mobileFlow=ves_mobileflow|other=ves_other|stateChange=ves_statechange|thresholdCrossingAlert=ves_thresholdCrossingAlert|voiceQuality=ves_voicequality|sipSignaling=ves_sipsignaling\r
50 collector.dmaapfile=./etc/DmaapConfig.json\r
51 \r
52 ## authflag control authentication by the collector\r
53 ## If enabled (1) - then authlist has to be defined\r
54 ## When authflag is enabled, only secure port will be supported\r
55 ## To disable enter 0\r
56 header.authflag=0\r
57 \r
58 ## Combination of userid,base64 encoded pwd list to be supported\r
59 ## userid and pwd comma separated; pipe delimitation between each pair\r
60 header.authlist=sample1,c2FtcGxlMQ==\r
61 \r
62 ## Event transformation Flag - when set expects configurable transformation\r
63 ## defined under ./etc/eventTransform.json\r
64 ## Enabled by default; to disable set to 0\r
65 event.transform.flag=1\r
66 \r
67 # Describes at what frequency (measured in minutes) should application try to fetch config from CBS\r
68 collector.dynamic.config.update.frequency=5\r
69 \r
70 ###############################################################################\r
71 ##\r
72 ## Tomcat control\r
73 ##\r
74 #tomcat.maxthreads=(tomcat default, which is usually 200)\r
75 \r