Files
securityonion/salt/common/telegraf/scripts/stenoloss.sh
2018-11-20 11:04:22 -05:00

7 lines
170 B
Bash

#!/bin/bash
# Get the data
DROP=$(tac /var/log/stenographer/stenographer.log | grep -m1 drop | awk '{print $14}' | awk -F "=" '{print $2}')
echo "stenodrop drop=$DROP"