|
| 1 | +{ |
| 2 | + "extractors": [ |
| 3 | + { |
| 4 | + "condition_type": "none", |
| 5 | + "condition_value": "", |
| 6 | + "converters": [ |
| 7 | + { |
| 8 | + "type": "syslog_pri_facility", |
| 9 | + "config": {} |
| 10 | + } |
| 11 | + ], |
| 12 | + "cursor_strategy": "copy", |
| 13 | + "extractor_config": { |
| 14 | + "regex_value": "<(.\\d)>" |
| 15 | + }, |
| 16 | + "extractor_type": "regex", |
| 17 | + "order": 2, |
| 18 | + "source_field": "message", |
| 19 | + "target_field": "facility", |
| 20 | + "title": "Get Syslog Facility" |
| 21 | + }, |
| 22 | + { |
| 23 | + "condition_type": "string", |
| 24 | + "condition_value": "session", |
| 25 | + "converters": [], |
| 26 | + "cursor_strategy": "copy", |
| 27 | + "extractor_config": { |
| 28 | + "regex_value": "(\\d*)->" |
| 29 | + }, |
| 30 | + "extractor_type": "regex", |
| 31 | + "order": 5, |
| 32 | + "source_field": "message", |
| 33 | + "target_field": "source_port", |
| 34 | + "title": "Source Port" |
| 35 | + }, |
| 36 | + { |
| 37 | + "condition_type": "string", |
| 38 | + "condition_value": "session", |
| 39 | + "converters": [], |
| 40 | + "cursor_strategy": "copy", |
| 41 | + "extractor_config": { |
| 42 | + "regex_value": "->\\d*.\\d*.\\d*.\\d*/(\\d*)" |
| 43 | + }, |
| 44 | + "extractor_type": "regex", |
| 45 | + "order": 7, |
| 46 | + "source_field": "message", |
| 47 | + "target_field": "destination_port", |
| 48 | + "title": "Destination Port" |
| 49 | + }, |
| 50 | + { |
| 51 | + "condition_type": "none", |
| 52 | + "condition_value": "", |
| 53 | + "converters": [], |
| 54 | + "cursor_strategy": "copy", |
| 55 | + "extractor_config": { |
| 56 | + "regex_value": "^(?:[^\\s]*\\s){5}([A-Z_]+)" |
| 57 | + }, |
| 58 | + "extractor_type": "regex", |
| 59 | + "order": 0, |
| 60 | + "source_field": "message", |
| 61 | + "target_field": "local_facility", |
| 62 | + "title": "Local Facility" |
| 63 | + }, |
| 64 | + { |
| 65 | + "condition_type": "none", |
| 66 | + "condition_value": "", |
| 67 | + "converters": [], |
| 68 | + "cursor_strategy": "copy", |
| 69 | + "extractor_config": { |
| 70 | + "regex_value": "^(?:[^\\s]*\\s){6}([A-Z_]+)" |
| 71 | + }, |
| 72 | + "extractor_type": "regex", |
| 73 | + "order": 1, |
| 74 | + "source_field": "message", |
| 75 | + "target_field": "event", |
| 76 | + "title": "Event" |
| 77 | + }, |
| 78 | + { |
| 79 | + "condition_type": "string", |
| 80 | + "condition_value": "session", |
| 81 | + "converters": [], |
| 82 | + "cursor_strategy": "copy", |
| 83 | + "extractor_config": { |
| 84 | + "regex_value": "->((?:[0-9]{1,3}\\.){3}[0-9]{1,3})" |
| 85 | + }, |
| 86 | + "extractor_type": "regex", |
| 87 | + "order": 6, |
| 88 | + "source_field": "message", |
| 89 | + "target_field": "destination_ip", |
| 90 | + "title": "Destination IP" |
| 91 | + }, |
| 92 | + { |
| 93 | + "condition_type": "string", |
| 94 | + "condition_value": "session", |
| 95 | + "converters": [], |
| 96 | + "cursor_strategy": "copy", |
| 97 | + "extractor_config": { |
| 98 | + "regex_value": "\\s((?:[0-9]{1,3}\\.){3}[0-9]{1,3})" |
| 99 | + }, |
| 100 | + "extractor_type": "regex", |
| 101 | + "order": 4, |
| 102 | + "source_field": "message", |
| 103 | + "target_field": "source_ip", |
| 104 | + "title": "Source IP" |
| 105 | + } |
| 106 | + ], |
| 107 | + "version": "1.0.2 (e5432f1)" |
| 108 | +} |
0 commit comments