Common Module - Telegraf Fix steno script

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

No files matched your search

+1 -1
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"