CORD-962: Fixed logstash_tail so that it does not crash early on in the build process. Also fixed a line counting issue.
CORD-962: Fixed logstash_tail so that it does not crash early on in the
build process. Also fixed a line counting issue.

Change-Id: I17a777771c7eb1ee022f4b0194d2231958ba706b

opencord/cord,opencord/cord,opencord/cord