|
| 1 | +version: 2 |
| 2 | +process_count: 500 |
| 3 | +timeout: 5.0 |
| 4 | +restart_count: 2 |
| 5 | +config_refresh_interval: 300 |
| 6 | +error_backlog_size: 1500000 |
| 7 | +logger: |
| 8 | + level: INFO |
| 9 | + format: "%(asctime)-15s %(hostname)-5s %(name)-10s %(levelname)-8s: %(message)s" |
| 10 | + datefmt: "%Y-%m-%d %H:%M:%S" |
| 11 | + loggers: |
| 12 | + "py.warnings": { "level": "ERROR" } |
| 13 | + "Runner": { "level": "INFO" } |
| 14 | + "Processor": { "level": "ERROR" } |
| 15 | + "Exporter": { "level": "ERROR" } |
| 16 | + "uvicorn": { "level": "ERROR" } |
| 17 | + "uvicorn.access": { "level": "ERROR" } |
| 18 | + "OpenSearchOutput": { "level": "DEBUG" } |
| 19 | + "KafkaOutput": { "level": "ERROR" } |
| 20 | +metrics: |
| 21 | + enabled: true |
| 22 | + port: 8001 |
| 23 | + |
| 24 | +pipeline: |
| 25 | + - labelername: |
| 26 | + type: ng_labeler |
| 27 | + schema: examples/exampledata/rules/labeler/schema.json |
| 28 | + include_parent_labels: true |
| 29 | + rules: |
| 30 | + - examples/exampledata/rules/labeler/rules |
| 31 | + |
| 32 | + - dissector: |
| 33 | + type: ng_dissector |
| 34 | + rules: |
| 35 | + - examples/exampledata/rules/dissector/rules |
| 36 | + |
| 37 | + - dropper: |
| 38 | + type: ng_dropper |
| 39 | + rules: |
| 40 | + - examples/exampledata/rules/dropper/rules |
| 41 | + - filter: "test_dropper" |
| 42 | + dropper: |
| 43 | + drop: |
| 44 | + - drop_me |
| 45 | + description: "..." |
| 46 | + |
| 47 | + - pre_detector: |
| 48 | + type: ng_pre_detector |
| 49 | + rules: |
| 50 | + - examples/exampledata/rules/pre_detector/rules |
| 51 | + outputs: |
| 52 | + - opensearch: sre |
| 53 | + tree_config: examples/exampledata/rules/pre_detector/tree_config.json |
| 54 | + alert_ip_list_path: examples/exampledata/rules/pre_detector/alert_ips.yml |
| 55 | + |
| 56 | + - amides: |
| 57 | + type: ng_amides |
| 58 | + rules: |
| 59 | + - examples/exampledata/rules/amides/rules |
| 60 | + models_path: examples/exampledata/models/model.zip |
| 61 | + num_rule_attributions: 10 |
| 62 | + max_cache_entries: 1000000 |
| 63 | + decision_threshold: 0.32 |
| 64 | + |
| 65 | + - pseudonymizer: |
| 66 | + type: ng_pseudonymizer |
| 67 | + pubkey_analyst: examples/exampledata/rules/pseudonymizer/example_analyst_pub.pem |
| 68 | + pubkey_depseudo: examples/exampledata/rules/pseudonymizer/example_depseudo_pub.pem |
| 69 | + regex_mapping: examples/exampledata/rules/pseudonymizer/regex_mapping.yml |
| 70 | + hash_salt: a_secret_tasty_ingredient |
| 71 | + outputs: |
| 72 | + - opensearch: pseudonyms |
| 73 | + rules: |
| 74 | + - examples/exampledata/rules/pseudonymizer/rules/ |
| 75 | + max_cached_pseudonyms: 1000000 |
| 76 | + |
| 77 | + - calculator: |
| 78 | + type: ng_calculator |
| 79 | + rules: |
| 80 | + - filter: "test_label: execute" |
| 81 | + calculator: |
| 82 | + target_field: "calculation" |
| 83 | + calc: "1 + 1" |
| 84 | + |
| 85 | +input: |
| 86 | + kafka: |
| 87 | + type: ng_confluentkafka_input |
| 88 | + topic: consumer |
| 89 | + kafka_config: |
| 90 | + bootstrap.servers: 127.0.0.1:9092 |
| 91 | + group.id: cgroup3 |
| 92 | + enable.auto.commit: "true" |
| 93 | + auto.commit.interval.ms: "10000" |
| 94 | + enable.auto.offset.store: "false" |
| 95 | + queued.min.messages: "100000" |
| 96 | + queued.max.messages.kbytes: "65536" |
| 97 | + statistics.interval.ms: "60000" |
| 98 | + preprocessing: |
| 99 | + version_info_target_field: Logprep_version_info |
| 100 | + log_arrival_time_target_field: event.ingested |
| 101 | + hmac: |
| 102 | + target: <RAW_MSG> |
| 103 | + key: "thisisasecureandrandomkey" |
| 104 | + output_field: Full_event |
| 105 | + |
| 106 | +output: |
| 107 | + opensearch: |
| 108 | + type: ng_opensearch_output |
| 109 | + hosts: |
| 110 | + - 127.0.0.1:9200 |
| 111 | + default_index: processed |
| 112 | + default_op_type: create |
| 113 | + message_backlog_size: 7000 |
| 114 | + timeout: 10000 |
| 115 | + flush_timeout: 60 |
| 116 | + user: admin |
| 117 | + secret: admin |
| 118 | + desired_cluster_status: ["green", "yellow"] |
| 119 | + chunk_size: 25 |
| 120 | + kafka: |
| 121 | + type: ng_confluentkafka_output |
| 122 | + default: false |
| 123 | + topic: producer |
| 124 | + flush_timeout: 300 |
| 125 | + kafka_config: |
| 126 | + bootstrap.servers: 127.0.0.1:9092 |
| 127 | + statistics.interval.ms: "60000" |
| 128 | + |
| 129 | +error_output: |
| 130 | + kafka_error_output: |
| 131 | + type: ng_confluentkafka_output |
| 132 | + topic: errors |
| 133 | + flush_timeout: 300 |
| 134 | + send_timeout: 0 |
| 135 | + kafka_config: |
| 136 | + bootstrap.servers: 127.0.0.1:9092 |
| 137 | + compression.type: none |
| 138 | + statistics.interval.ms: "60000" |
| 139 | + queue.buffering.max.messages: "10" |
| 140 | + queue.buffering.max.kbytes: "1024" |
| 141 | + queue.buffering.max.ms: "1000" |
| 142 | + batch.size: "100" |
| 143 | + request.required.acks: "-1" |
0 commit comments