logstash-input-proc 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/ElasticSearch/README.md +9 -0
- data/ElasticSearch/templates/loadavg.json +55 -0
- data/ElasticSearch/templates/meminfo.json +162 -0
- data/ElasticSearch/templates/vmstats.json +393 -0
- data/Gemfile +3 -0
- data/Kibana/READEME.md +2 -0
- data/Kibana/export.json +526 -0
- data/README.md +130 -0
- data/Rakefile +1 -0
- data/lib/logstash/inputs/proc.rb +562 -0
- data/logstash-input-proc.gemspec +25 -0
- data/logstash.conf +55 -0
- data/spec/inputs/proc_spec.rb +1 -0
- metadata +122 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9b39878e4ae4d55b561d66b98e5df734d9de7482
|
4
|
+
data.tar.gz: 7158cef5bf169956201c15bbd540aaeff5f1fb89
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 53acb7d9a31f969d1aae2cc30bcf9766bbae43751a044f02f41f88e03af3b712482bac18011341bba4d794ffa79407aa8802c7f986448af42c1adad78d8c8855
|
7
|
+
data.tar.gz: e832d5ab85d648286d9ee9b58e66de06abf50843e3e57c8a59c901ab497b900956b1415bba3c70cbb05eebbdf8a44c7a86b9c00457002750d8bd59f583f3f685
|
data/.gitignore
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
#Elasticsearch Configs
|
2
|
+
This Directory is for All the different Elasticsearch configurations to go with logstash-input-proc
|
3
|
+
##Templates Directory
|
4
|
+
This directory should be copied to you ${es_home}/conf/templates
|
5
|
+
|
6
|
+
This contains a Template for the different index data logstash-input-proc creates
|
7
|
+
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
"template": "loadavg*",
|
3
|
+
"order": 10,
|
4
|
+
"aliases": {
|
5
|
+
"loadavg": [{
|
6
|
+
"add": {
|
7
|
+
"index": "loadavg"
|
8
|
+
}
|
9
|
+
}]
|
10
|
+
},
|
11
|
+
"mappings": {
|
12
|
+
"loadavg": {
|
13
|
+
"properties": {
|
14
|
+
"@timestamp": {
|
15
|
+
"format": "dateOptionalTime",
|
16
|
+
"type": "date"
|
17
|
+
},
|
18
|
+
"host": {
|
19
|
+
"type": "string"
|
20
|
+
},
|
21
|
+
"file": {
|
22
|
+
"type": "string"
|
23
|
+
},
|
24
|
+
"type": {
|
25
|
+
"type": "string"
|
26
|
+
},
|
27
|
+
"@version": {
|
28
|
+
"type": "long"
|
29
|
+
},
|
30
|
+
"loadavg": {
|
31
|
+
"properties": {
|
32
|
+
"runnable": {
|
33
|
+
"type": "long"
|
34
|
+
},
|
35
|
+
"15minute": {
|
36
|
+
"type": "long"
|
37
|
+
},
|
38
|
+
"lastcreatedpid": {
|
39
|
+
"type": "long"
|
40
|
+
},
|
41
|
+
"existing": {
|
42
|
+
"type": "long"
|
43
|
+
},
|
44
|
+
"1minute": {
|
45
|
+
"type": "long"
|
46
|
+
},
|
47
|
+
"10minute": {
|
48
|
+
"type": "long"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
},
|
55
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
{
|
2
|
+
"template": "meminfo*",
|
3
|
+
"order" : 10,
|
4
|
+
"aliases": {
|
5
|
+
"meminfo" : [ { "add" : { "index" : "meminfo" } }
|
6
|
+
]
|
7
|
+
}
|
8
|
+
"mappings": {
|
9
|
+
"meminfo": {
|
10
|
+
"properties": {
|
11
|
+
"raw": {
|
12
|
+
"type": "string"
|
13
|
+
},
|
14
|
+
"VmallocUsed": {
|
15
|
+
"type": "long"
|
16
|
+
},
|
17
|
+
"CalcMemUsed": {
|
18
|
+
"type": "long"
|
19
|
+
},
|
20
|
+
"CommitLimit": {
|
21
|
+
"type": "long"
|
22
|
+
},
|
23
|
+
"MemTotal": {
|
24
|
+
"type": "long"
|
25
|
+
},
|
26
|
+
"Writeback": {
|
27
|
+
"type": "long"
|
28
|
+
},
|
29
|
+
"SwapFree": {
|
30
|
+
"type": "long"
|
31
|
+
},
|
32
|
+
"Inactive": {
|
33
|
+
"type": "long"
|
34
|
+
},
|
35
|
+
"Mlocked": {
|
36
|
+
"type": "long"
|
37
|
+
},
|
38
|
+
"KernelStack": {
|
39
|
+
"type": "long"
|
40
|
+
},
|
41
|
+
"Unevictable": {
|
42
|
+
"type": "long"
|
43
|
+
},
|
44
|
+
"CmaTotal": {
|
45
|
+
"type": "long"
|
46
|
+
},
|
47
|
+
"Cached": {
|
48
|
+
"type": "long"
|
49
|
+
},
|
50
|
+
"type": {
|
51
|
+
"type": "long"
|
52
|
+
},
|
53
|
+
"@version": {
|
54
|
+
"type": "long"
|
55
|
+
},
|
56
|
+
"NFS_Unstable": {
|
57
|
+
"type": "long"
|
58
|
+
},
|
59
|
+
"SReclaimable": {
|
60
|
+
"type": "long"
|
61
|
+
},
|
62
|
+
"Mapped": {
|
63
|
+
"type": "long"
|
64
|
+
},
|
65
|
+
"CmaFree": {
|
66
|
+
"type": "long"
|
67
|
+
},
|
68
|
+
"Bounce": {
|
69
|
+
"type": "long"
|
70
|
+
},
|
71
|
+
"HugePages_Free": {
|
72
|
+
"type": "long"
|
73
|
+
},
|
74
|
+
"file": {
|
75
|
+
"type": "string"
|
76
|
+
},
|
77
|
+
"Buffers": {
|
78
|
+
"type": "long"
|
79
|
+
},
|
80
|
+
"MemAvailable": {
|
81
|
+
"type": "long"
|
82
|
+
},
|
83
|
+
"Shmem": {
|
84
|
+
"type": "long"
|
85
|
+
},
|
86
|
+
"DirectMap2M": {
|
87
|
+
"type": "long"
|
88
|
+
},
|
89
|
+
"WritebackTmp": {
|
90
|
+
"type": "long"
|
91
|
+
},
|
92
|
+
"SUnreclaim": {
|
93
|
+
"type": "long"
|
94
|
+
},
|
95
|
+
"VmallocChunk": {
|
96
|
+
"type": "long"
|
97
|
+
},
|
98
|
+
"PageTables": {
|
99
|
+
"type": "long"
|
100
|
+
},
|
101
|
+
"host": {
|
102
|
+
"type": "string"
|
103
|
+
},
|
104
|
+
"SwapTotal": {
|
105
|
+
"type": "long"
|
106
|
+
},
|
107
|
+
"HugePages_Total": {
|
108
|
+
"type": "long"
|
109
|
+
},
|
110
|
+
"MemFree": {
|
111
|
+
"type": "long"
|
112
|
+
},
|
113
|
+
"VmallocTotal": {
|
114
|
+
"type": "long"
|
115
|
+
},
|
116
|
+
"AnonPages": {
|
117
|
+
"type": "long"
|
118
|
+
},
|
119
|
+
"SwapCached": {
|
120
|
+
"type": "long"
|
121
|
+
},
|
122
|
+
"HugePages_Rsvd": {
|
123
|
+
"type": "long"
|
124
|
+
},
|
125
|
+
"AnonHugePages": {
|
126
|
+
"type": "long"
|
127
|
+
},
|
128
|
+
"Active": {
|
129
|
+
"type": "long"
|
130
|
+
},
|
131
|
+
"@timestamp": {
|
132
|
+
"format": "dateOptionalTime",
|
133
|
+
"type": "date"
|
134
|
+
},
|
135
|
+
"Slab": {
|
136
|
+
"type": "long"
|
137
|
+
},
|
138
|
+
"HugePages_Surp": {
|
139
|
+
"type": "long"
|
140
|
+
},
|
141
|
+
"DirectMap4k": {
|
142
|
+
"type": "long"
|
143
|
+
},
|
144
|
+
"Committed_AS": {
|
145
|
+
"type": "long"
|
146
|
+
},
|
147
|
+
"Dirty": {
|
148
|
+
"type": "long"
|
149
|
+
},
|
150
|
+
"DirectMap1G": {
|
151
|
+
"type": "long"
|
152
|
+
},
|
153
|
+
"HardwareCorrupted": {
|
154
|
+
"type": "long"
|
155
|
+
},
|
156
|
+
"Hugepagesize": {
|
157
|
+
"type": "long"
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
@@ -0,0 +1,393 @@
|
|
1
|
+
{
|
2
|
+
"template": "vmstats*",
|
3
|
+
"order": 10,
|
4
|
+
"aliases": {
|
5
|
+
"vmstats": [{
|
6
|
+
"add": {
|
7
|
+
"index": "vmstats"
|
8
|
+
}
|
9
|
+
}]
|
10
|
+
},
|
11
|
+
"mappings": {
|
12
|
+
"vmstats": {
|
13
|
+
"properties": {
|
14
|
+
"@timestamp": {
|
15
|
+
"format": "dateOptionalTime",
|
16
|
+
"type": "date"
|
17
|
+
},
|
18
|
+
"host": {
|
19
|
+
"type": "string"
|
20
|
+
},
|
21
|
+
"file": {
|
22
|
+
"type": "string"
|
23
|
+
},
|
24
|
+
"vmstats": {
|
25
|
+
"properties": {
|
26
|
+
"nr_vmscan_write": {
|
27
|
+
"type": "long"
|
28
|
+
},
|
29
|
+
"nr_anon_transparent_hugepages": {
|
30
|
+
"type": "long"
|
31
|
+
},
|
32
|
+
"pgdeactivate": {
|
33
|
+
"type": "long"
|
34
|
+
},
|
35
|
+
"allocstall": {
|
36
|
+
"type": "long"
|
37
|
+
},
|
38
|
+
"pageoutrun": {
|
39
|
+
"type": "long"
|
40
|
+
},
|
41
|
+
"htlb_buddy_alloc_success": {
|
42
|
+
"type": "long"
|
43
|
+
},
|
44
|
+
"numa_foreign": {
|
45
|
+
"type": "long"
|
46
|
+
},
|
47
|
+
"kswapd_inodesteal": {
|
48
|
+
"type": "long"
|
49
|
+
},
|
50
|
+
"pgsteal_direct_dma": {
|
51
|
+
"type": "long"
|
52
|
+
},
|
53
|
+
"nr_writeback_temp": {
|
54
|
+
"type": "long"
|
55
|
+
},
|
56
|
+
"nr_inactive_file": {
|
57
|
+
"type": "long"
|
58
|
+
},
|
59
|
+
"numa_miss": {
|
60
|
+
"type": "long"
|
61
|
+
},
|
62
|
+
"pgscan_direct_throttle": {
|
63
|
+
"type": "long"
|
64
|
+
},
|
65
|
+
"pgfault": {
|
66
|
+
"type": "long"
|
67
|
+
},
|
68
|
+
"pgfree": {
|
69
|
+
"type": "long"
|
70
|
+
},
|
71
|
+
"pgscan_direct_dma": {
|
72
|
+
"type": "long"
|
73
|
+
},
|
74
|
+
"pgscan_kswapd_normal": {
|
75
|
+
"type": "long"
|
76
|
+
},
|
77
|
+
"nr_isolated_file": {
|
78
|
+
"type": "long"
|
79
|
+
},
|
80
|
+
"thp_split": {
|
81
|
+
"type": "long"
|
82
|
+
},
|
83
|
+
"nr_written": {
|
84
|
+
"type": "long"
|
85
|
+
},
|
86
|
+
"nr_unevictable": {
|
87
|
+
"type": "long"
|
88
|
+
},
|
89
|
+
"pgrefill_dma32": {
|
90
|
+
"type": "long"
|
91
|
+
},
|
92
|
+
"nr_vmscan_immediate_reclaim": {
|
93
|
+
"type": "long"
|
94
|
+
},
|
95
|
+
"workingset_nodereclaim": {
|
96
|
+
"type": "long"
|
97
|
+
},
|
98
|
+
"nr_file_pages": {
|
99
|
+
"type": "long"
|
100
|
+
},
|
101
|
+
"pgalloc_dma32": {
|
102
|
+
"type": "long"
|
103
|
+
},
|
104
|
+
"thp_zero_page_alloc": {
|
105
|
+
"type": "long"
|
106
|
+
},
|
107
|
+
"htlb_buddy_alloc_fail": {
|
108
|
+
"type": "long"
|
109
|
+
},
|
110
|
+
"pgscan_kswapd_movable": {
|
111
|
+
"type": "long"
|
112
|
+
},
|
113
|
+
"numa_interleave": {
|
114
|
+
"type": "long"
|
115
|
+
},
|
116
|
+
"nr_page_table_pages": {
|
117
|
+
"type": "long"
|
118
|
+
},
|
119
|
+
"drop_slab": {
|
120
|
+
"type": "long"
|
121
|
+
},
|
122
|
+
"nr_active_anon": {
|
123
|
+
"type": "long"
|
124
|
+
},
|
125
|
+
"pgsteal_direct_dma32": {
|
126
|
+
"type": "long"
|
127
|
+
},
|
128
|
+
"nr_dirty_threshold": {
|
129
|
+
"type": "long"
|
130
|
+
},
|
131
|
+
"pgsteal_kswapd_movable": {
|
132
|
+
"type": "long"
|
133
|
+
},
|
134
|
+
"numa_hint_faults": {
|
135
|
+
"type": "long"
|
136
|
+
},
|
137
|
+
"numa_hit": {
|
138
|
+
"type": "long"
|
139
|
+
},
|
140
|
+
"workingset_refault": {
|
141
|
+
"type": "long"
|
142
|
+
},
|
143
|
+
"thp_collapse_alloc": {
|
144
|
+
"type": "long"
|
145
|
+
},
|
146
|
+
"unevictable_pgs_mlocked": {
|
147
|
+
"type": "long"
|
148
|
+
},
|
149
|
+
"compact_isolated": {
|
150
|
+
"type": "long"
|
151
|
+
},
|
152
|
+
"pgscan_kswapd_dma32": {
|
153
|
+
"type": "long"
|
154
|
+
},
|
155
|
+
"thp_zero_page_alloc_failed": {
|
156
|
+
"type": "long"
|
157
|
+
},
|
158
|
+
"nr_kernel_stack": {
|
159
|
+
"type": "long"
|
160
|
+
},
|
161
|
+
"pgscan_direct_movable": {
|
162
|
+
"type": "long"
|
163
|
+
},
|
164
|
+
"nr_dirty_background_threshold": {
|
165
|
+
"type": "long"
|
166
|
+
},
|
167
|
+
"balloon_deflate": {
|
168
|
+
"type": "long"
|
169
|
+
},
|
170
|
+
"nr_free_cma": {
|
171
|
+
"type": "long"
|
172
|
+
},
|
173
|
+
"pgmajfault": {
|
174
|
+
"type": "long"
|
175
|
+
},
|
176
|
+
"pginodesteal": {
|
177
|
+
"type": "long"
|
178
|
+
},
|
179
|
+
"unevictable_pgs_scanned": {
|
180
|
+
"type": "long"
|
181
|
+
},
|
182
|
+
"numa_huge_pte_updates": {
|
183
|
+
"type": "long"
|
184
|
+
},
|
185
|
+
"numa_local": {
|
186
|
+
"type": "long"
|
187
|
+
},
|
188
|
+
"pgrotated": {
|
189
|
+
"type": "long"
|
190
|
+
},
|
191
|
+
"nr_pages_scanned": {
|
192
|
+
"type": "long"
|
193
|
+
},
|
194
|
+
"pgsteal_direct_normal": {
|
195
|
+
"type": "long"
|
196
|
+
},
|
197
|
+
"nr_anon_pages": {
|
198
|
+
"type": "long"
|
199
|
+
},
|
200
|
+
"pgpgin": {
|
201
|
+
"type": "long"
|
202
|
+
},
|
203
|
+
"thp_fault_fallback": {
|
204
|
+
"type": "long"
|
205
|
+
},
|
206
|
+
"nr_slab_unreclaimable": {
|
207
|
+
"type": "long"
|
208
|
+
},
|
209
|
+
"nr_slab_reclaimable": {
|
210
|
+
"type": "long"
|
211
|
+
},
|
212
|
+
"thp_fault_alloc": {
|
213
|
+
"type": "long"
|
214
|
+
},
|
215
|
+
"unevictable_pgs_munlocked": {
|
216
|
+
"type": "long"
|
217
|
+
},
|
218
|
+
"unevictable_pgs_culled": {
|
219
|
+
"type": "long"
|
220
|
+
},
|
221
|
+
"nr_writeback": {
|
222
|
+
"type": "long"
|
223
|
+
},
|
224
|
+
"pgscan_kswapd_dma": {
|
225
|
+
"type": "long"
|
226
|
+
},
|
227
|
+
"numa_hint_faults_local": {
|
228
|
+
"type": "long"
|
229
|
+
},
|
230
|
+
"nr_unstable": {
|
231
|
+
"type": "long"
|
232
|
+
},
|
233
|
+
"nr_active_file": {
|
234
|
+
"type": "long"
|
235
|
+
},
|
236
|
+
"pgpgout": {
|
237
|
+
"type": "long"
|
238
|
+
},
|
239
|
+
"nr_free_pages": {
|
240
|
+
"type": "long"
|
241
|
+
},
|
242
|
+
"unevictable_pgs_cleared": {
|
243
|
+
"type": "long"
|
244
|
+
},
|
245
|
+
"nr_mlock": {
|
246
|
+
"type": "long"
|
247
|
+
},
|
248
|
+
"pgalloc_normal": {
|
249
|
+
"type": "long"
|
250
|
+
},
|
251
|
+
"pgrefill_normal": {
|
252
|
+
"type": "long"
|
253
|
+
},
|
254
|
+
"pswpin": {
|
255
|
+
"type": "long"
|
256
|
+
},
|
257
|
+
"nr_shmem": {
|
258
|
+
"type": "long"
|
259
|
+
},
|
260
|
+
"balloon_migrate": {
|
261
|
+
"type": "long"
|
262
|
+
},
|
263
|
+
"pgalloc_dma": {
|
264
|
+
"type": "long"
|
265
|
+
},
|
266
|
+
"nr_mapped": {
|
267
|
+
"type": "long"
|
268
|
+
},
|
269
|
+
"balloon_inflate": {
|
270
|
+
"type": "long"
|
271
|
+
},
|
272
|
+
"pgsteal_direct_movable": {
|
273
|
+
"type": "long"
|
274
|
+
},
|
275
|
+
"numa_pages_migrated": {
|
276
|
+
"type": "long"
|
277
|
+
},
|
278
|
+
"pgmigrate_fail": {
|
279
|
+
"type": "long"
|
280
|
+
},
|
281
|
+
"zone_reclaim_failed": {
|
282
|
+
"type": "long"
|
283
|
+
},
|
284
|
+
"numa_pte_updates": {
|
285
|
+
"type": "long"
|
286
|
+
},
|
287
|
+
"pgsteal_kswapd_normal": {
|
288
|
+
"type": "long"
|
289
|
+
},
|
290
|
+
"nr_alloc_batch": {
|
291
|
+
"type": "long"
|
292
|
+
},
|
293
|
+
"pgscan_direct_normal": {
|
294
|
+
"type": "long"
|
295
|
+
},
|
296
|
+
"compact_fail": {
|
297
|
+
"type": "long"
|
298
|
+
},
|
299
|
+
"nr_inactive_anon": {
|
300
|
+
"type": "long"
|
301
|
+
},
|
302
|
+
"nr_bounce": {
|
303
|
+
"type": "long"
|
304
|
+
},
|
305
|
+
"workingset_activate": {
|
306
|
+
"type": "long"
|
307
|
+
},
|
308
|
+
"nr_isolated_anon": {
|
309
|
+
"type": "long"
|
310
|
+
},
|
311
|
+
"drop_pagecache": {
|
312
|
+
"type": "long"
|
313
|
+
},
|
314
|
+
"unevictable_pgs_rescued": {
|
315
|
+
"type": "long"
|
316
|
+
},
|
317
|
+
"pgrefill_movable": {
|
318
|
+
"type": "long"
|
319
|
+
},
|
320
|
+
"pswpout": {
|
321
|
+
"type": "long"
|
322
|
+
},
|
323
|
+
"nr_dirty": {
|
324
|
+
"type": "long"
|
325
|
+
},
|
326
|
+
"compact_stall": {
|
327
|
+
"type": "long"
|
328
|
+
},
|
329
|
+
"pgrefill_dma": {
|
330
|
+
"type": "long"
|
331
|
+
},
|
332
|
+
"pgscan_direct_dma32": {
|
333
|
+
"type": "long"
|
334
|
+
},
|
335
|
+
"thp_collapse_alloc_failed": {
|
336
|
+
"type": "long"
|
337
|
+
},
|
338
|
+
"pgmigrate_success": {
|
339
|
+
"type": "long"
|
340
|
+
},
|
341
|
+
"nr_dirtied": {
|
342
|
+
"type": "long"
|
343
|
+
},
|
344
|
+
"pgsteal_kswapd_dma": {
|
345
|
+
"type": "long"
|
346
|
+
},
|
347
|
+
"kswapd_high_wmark_hit_quickly": {
|
348
|
+
"type": "long"
|
349
|
+
},
|
350
|
+
"unevictable_pgs_stranded": {
|
351
|
+
"type": "long"
|
352
|
+
},
|
353
|
+
"compact_free_scanned": {
|
354
|
+
"type": "long"
|
355
|
+
},
|
356
|
+
"slabs_scanned": {
|
357
|
+
"type": "long"
|
358
|
+
},
|
359
|
+
"pgactivate": {
|
360
|
+
"type": "long"
|
361
|
+
},
|
362
|
+
"pgalloc_movable": {
|
363
|
+
"type": "long"
|
364
|
+
},
|
365
|
+
"compact_success": {
|
366
|
+
"type": "long"
|
367
|
+
},
|
368
|
+
"kswapd_low_wmark_hit_quickly": {
|
369
|
+
"type": "long"
|
370
|
+
},
|
371
|
+
"numa_other": {
|
372
|
+
"type": "long"
|
373
|
+
},
|
374
|
+
"compact_migrate_scanned": {
|
375
|
+
"type": "long"
|
376
|
+
},
|
377
|
+
"pgsteal_kswapd_dma32": {
|
378
|
+
"type": "long"
|
379
|
+
}
|
380
|
+
}
|
381
|
+
},
|
382
|
+
"type": {
|
383
|
+
"type": "string"
|
384
|
+
},
|
385
|
+
"@version": {
|
386
|
+
"type": "long"
|
387
|
+
}
|
388
|
+
}
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
|
393
|
+
}
|