1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108 | {
"extractors": [
{
"title": "Apache Access Client IP",
"extractor_type": "split_and_index",
"converters": [],
"order": 0,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_client_ip",
"extractor_config": {
"index": 1,
"split_by": " "
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
},
{
"title": "Apache Access Username",
"extractor_type": "split_and_index",
"converters": [],
"order": 1,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_username",
"extractor_config": {
"index": 3,
"split_by": " "
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
},
{
"title": "Apache Access HTTP Method",
"extractor_type": "regex",
"converters": [],
"order": 2,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_http_method",
"extractor_config": {
"regex_value": "\"([A-Z]+)"
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
},
{
"title": "Apache Access Resource Path",
"extractor_type": "split_and_index",
"converters": [],
"order": 3,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_resource_path",
"extractor_config": {
"index": 7,
"split_by": " "
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
},
{
"title": "Apache Access HTTP Protocol",
"extractor_type": "regex",
"converters": [],
"order": 4,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_http_protocol",
"extractor_config": {
"regex_value": "HTTP\\/([1-2]\\.[0-1])"
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
},
{
"title": "Apache Access Status Code",
"extractor_type": "split_and_index",
"converters": [],
"order": 5,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_status_code",
"extractor_config": {
"index": 9,
"split_by": " "
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
},
{
"title": "Apache Access Request Size",
"extractor_type": "split_and_index",
"converters": [],
"order": 6,
"cursor_strategy": "copy",
"source_field": "message",
"target_field": "apache_access_request_size",
"extractor_config": {
"index": 10,
"split_by": " "
},
"condition_type": "regex",
"condition_value": "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\s[\\w-]+\\s[\\w-]+\\s\\["
}
],
"version": "4.0.5"
}
|