#!/bin/bash

# while [ 1 ]; do
# 	echo "Date:" `date +"%Y-%m-%d %H:%M:%S"`
# 	(cd ../tgingold/masterfip && sudo ./read-mon.sh)
# 	sleep 1
# done

#exctract only CSV file from the log
cat rh-log | grep CSV | sed 's/^.....//' > data.log
cat header_csv.txt data.log > data.csv
