SPL
Linux Memory Usage
Description
The following Splunk Search will show memory usage on a linux machine over a period of time using timechart:
1 6
index=os sourcetype=top pctMEM=*| transaction host _time | streamstats window=1 global=f sum(pctMEM) as MEM | timechart latest(MEM) by host
Comments
1 total
Thats too heavy, why not use vmstat?\r\nindex=os sourcetype=vmstat | timechart avg(memUsedPct) as \"Memory Used %\" by host
Leave a comment
You must log in to post a comment.