Skip to content

Commit 334a061

Browse files
committed
feat(filters/filebeat): add CPU and memory usage fields for systemd units
1 parent 14db80c commit 334a061

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

filters/filebeat/system_linux_module.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,24 @@ pipeline:
287287
to: log.messageId
288288
where: exists("log.MESSAGEID")
289289

290+
- rename:
291+
from:
292+
- log.CPUUSAGENSEC
293+
to: log.cpuUsageNsec
294+
where: exists("log.CPUUSAGENSEC")
295+
296+
- rename:
297+
from:
298+
- log.MEMORYPEAK
299+
to: log.memoryPeak
300+
where: exists("log.MEMORYPEAK")
301+
302+
- rename:
303+
from:
304+
- log.MEMORYSWAPPEAK
305+
to: log.memorySwapPeak
306+
where: exists("log.MEMORYSWAPPEAK")
307+
290308
# ========================================
291309
# PHASE 3: STANDARD SCHEMA MAPPING
292310
# ========================================

0 commit comments

Comments
 (0)