knes1 / elktail

Command line utility to query, search and tail EL (elasticsearch, logstash) logs
MIT License
197 stars 66 forks source link

Formatting with additional capabilities like `printf` #32

Open rocketraman opened 6 years ago

rocketraman commented 6 years ago

It would be nice to specify the format field with additional capabilities such as provided by printf. For example, instead of:

%@timestamp %container_name %message

I might want to make sure all of my message output is aligned by doing:

%@timestamp %-20container_name %message