Count on no of log lines per month

Hello

Are there better ways to find number of log lines that are getting accumulated in elk on monthly basis?

Thanks