(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| # This script can be used to raise a graylog2/gelf message | |
| # gzip it and send it to a graylog server using netcat (nc) | |
| hostname='gelftester' | |
| short_message='test message short version' | |
| full_message='longer test message. dont\n worry be happy' | |
| level=1 | |
| facility='gelftester' | |
| # gnu date | |
| date=$(date +'%s.%N') |