log analysis script add