Common Module - Telegraf Fix steno script

This commit is contained in:
Mike Reeves
2018-11-20 11:04:22 -05:00
parent 6419002ae6
commit 0d017cacb8
2 changed files with 2 additions and 1 deletions

View File

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