forked from WASdev/sample.logstash.collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathliberty_logstash_template.json
103 lines (103 loc) · 5.36 KB
/
liberty_logstash_template.json
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
{
"template": "logstash-*",
"settings": {
"index.refresh_interval": "5s"
},
"mappings": {
"liberty_message": {
"_ttl": { "enabled": true, "default": 7776000000 },
"properties": {
"hostName": { "type": "string", "index": "not_analyzed" },
"wlpUserDir": { "type": "string", "index": "not_analyzed" },
"serverName": { "type": "string", "index": "not_analyzed" },
"datetime": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" },
"sequence": { "type": "string", "index": "not_analyzed" },
"className": { "type": "string", "index": "not_analyzed" },
"loggerName": { "type": "string", "index": "not_analyzed" },
"message": { "type": "string" },
"messageId": { "type": "string", "index": "not_analyzed" },
"methodName": { "type": "string", "index": "not_analyzed" },
"severity": { "type": "string", "index": "not_analyzed" },
"threadId": { "type": "string", "index": "not_analyzed" }
}
},
"liberty_ffdc": {
"_ttl": { "enabled": true, "default": 7776000000 },
"properties": {
"hostName": { "type": "string", "index": "not_analyzed" },
"wlpUserDir": { "type": "string", "index": "not_analyzed" },
"serverName": { "type": "string", "index": "not_analyzed" },
"datetime": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" },
"sequence": { "type": "string", "index": "not_analyzed" },
"className": { "type": "string", "index": "not_analyzed" },
"exceptionName": { "type": "string", "index": "not_analyzed" },
"objectDetails": { "type": "string", "index": "not_analyzed" },
"probeID": { "type": "string", "index": "not_analyzed" },
"stackTrace": { "type": "string", "index": "not_analyzed" }
}
},
"liberty_trace": {
"_ttl": { "enabled": true, "default": 7776000000 },
"properties": {
"hostName": { "type": "string", "index": "not_analyzed" },
"wlpUserDir": { "type": "string", "index": "not_analyzed" },
"serverName": { "type": "string", "index": "not_analyzed" },
"datetime": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" },
"sequence": { "type": "string", "index": "not_analyzed" },
"className": { "type": "string", "index": "not_analyzed" },
"loggerName": { "type": "string", "index": "not_analyzed" },
"message": { "type": "string" },
"methodName": { "type": "string", "index": "not_analyzed" },
"severity": { "type": "string", "index": "not_analyzed" },
"threadId": { "type": "string", "index": "not_analyzed" }
}
},
"liberty_gc": {
"_ttl": { "enabled": true, "default": 7776000000 },
"properties": {
"hostName": { "type": "string", "index": "not_analyzed" },
"wlpUserDir": { "type": "string", "index": "not_analyzed" },
"serverName": { "type": "string", "index": "not_analyzed" },
"datetime": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" },
"sequence": { "type": "string", "index": "not_analyzed" },
"heap": { "type": "long" },
"usedHeap": { "type": "long" },
"duration": { "type": "long" },
"gcType": { "type": "string", "index": "not_analyzed" },
"reason": { "type": "string", "index": "not_analyzed" }
}
},
"liberty_accesslog": {
"_ttl": { "enabled": true, "default": 7776000000 },
"properties": {
"hostName": { "type": "string", "index": "not_analyzed" },
"wlpUserDir": { "type": "string", "index": "not_analyzed" },
"serverName": { "type": "string", "index": "not_analyzed" },
"datetime": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" },
"sequence": { "type": "string", "index": "not_analyzed" },
"requestHost": { "type": "string", "index": "not_analyzed" },
"requestPort": { "type": "string", "index": "not_analyzed" },
"remoteHost": { "type": "string", "index": "not_analyzed" },
"requestMethod": { "type": "string", "index": "not_analyzed" },
"requestProtocol": { "type": "string", "index": "not_analyzed" },
"bytesReceived": { "type": "long" },
"elapsedTime": { "type": "long" },
"queryString": { "type": "string" },
"responseCode": { "type": "integer" },
"uriPath": { "type": "string", "index": "not_analyzed" },
"userAgent": { "type": "string", "index": "not_analyzed" }
}
},
"liberty_audit": {
"properties": {
"host": { "type": "keyword", "index": "true" },
"ibm_userDir": { "type": "keyword", "index": "true" },
"ibm_serverName": { "type": "keyword", "index": "true" },
"ibm_datetime": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" },
"ibm_sequence": { "type": "keyword", "index": "true" },
"ibm_threadId": { "type": "keyword", "index": "true" },
"ibm_tags": { "type": "keyword", "index": "true"}
}
}
}
}