|
| 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": "<(.+)>" |
| 15 | + }, |
| 16 | + "extractor_type": "regex", |
| 17 | + "order": 0, |
| 18 | + "source_field": "message", |
| 19 | + "target_field": "facility", |
| 20 | + "title": "Get syslog facility" |
| 21 | + }, |
| 22 | + { |
| 23 | + "condition_type": "none", |
| 24 | + "condition_value": "", |
| 25 | + "converters": [ |
| 26 | + { |
| 27 | + "type": "numeric", |
| 28 | + "config": {} |
| 29 | + } |
| 30 | + ], |
| 31 | + "cursor_strategy": "copy", |
| 32 | + "extractor_config": { |
| 33 | + "regex_value": "%(.+?)-" |
| 34 | + }, |
| 35 | + "extractor_type": "regex", |
| 36 | + "order": 2, |
| 37 | + "source_field": "message", |
| 38 | + "target_field": "local_facility", |
| 39 | + "title": "Local Facility" |
| 40 | + }, |
| 41 | + { |
| 42 | + "condition_type": "none", |
| 43 | + "condition_value": "", |
| 44 | + "converters": [], |
| 45 | + "cursor_strategy": "copy", |
| 46 | + "extractor_config": { |
| 47 | + "regex_value": "^(?:[^:]*\\:){5}\\ (.+)" |
| 48 | + }, |
| 49 | + "extractor_type": "regex", |
| 50 | + "order": 4, |
| 51 | + "source_field": "message", |
| 52 | + "target_field": "message", |
| 53 | + "title": "Message" |
| 54 | + }, |
| 55 | + { |
| 56 | + "condition_type": "none", |
| 57 | + "condition_value": "", |
| 58 | + "converters": [ |
| 59 | + { |
| 60 | + "type": "syslog_pri_level", |
| 61 | + "config": {} |
| 62 | + } |
| 63 | + ], |
| 64 | + "cursor_strategy": "copy", |
| 65 | + "extractor_config": { |
| 66 | + "regex_value": "-(\\d)-" |
| 67 | + }, |
| 68 | + "extractor_type": "regex", |
| 69 | + "order": 1, |
| 70 | + "source_field": "message", |
| 71 | + "target_field": "severity", |
| 72 | + "title": "Local Level" |
| 73 | + } |
| 74 | + ], |
| 75 | + "version": "1.0.2 (e5432f1)" |
| 76 | +} |
0 commit comments