A monkeytail configuration uses Apache-style syntax to declare "groups" of files to be tailed.
Best explained with an example:
prefix 'server2: '
prefix 'server1: '
OPTIONSAll options can be either put inside a group or file block. Options inside a file block override those in the group block.
- filename defines the filename for this block.
host remote-host (optional)
- host defines that this block's file is to be tailed on a remote server.
- sudo is a boolean specifying whether this file should be tailed as root. This option is supported for both local and remote files (in both cases you will potentially be prompted for your password).
prefix "string: "
- prefix allows you to specify a short string that will be prepended to every line that is displayed for that given file.
~/.mtailrc - user specific monkeytail config
Martyn Smith <[email protected]>