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