Enhanced elasticsearch output functionality

Also changed logger name to "tfl."