Questions tagged [multitail]

16 questions
11
votes
1 answer

Multitail: Scroll up

I use multitail to view 3 log files at the same time. Let's say I notice something strange in the second log file. How to scroll up the second log file, to look back at what had happened earlier? Preferably without hiding the other two log files,…
Nicolas Raoul
  • 7,945
  • 14
  • 43
  • 55
8
votes
2 answers

Watch file using multitail even if it has not been created

I've a MapServer logfile; it is created in /tmp/mapserv.log, but obviously it is flushed at every reboot, and is created only when a loggable event occurs. I'm already using Multitail, but now I need to watch the folder /tmp for a file that has not…
fradeve
  • 243
  • 2
  • 4
4
votes
1 answer

Does multitail follow the inode or the file name by default?

For logrotated files one usually uses tail -F instead of tail -f to follow the log file contents. Does multitail(1) automatically follow the name instead of the inode (which likely changes with the log rotation)? I sifted through the documentation…
0xC0000022L
  • 16,189
  • 24
  • 102
  • 168
3
votes
0 answers

How do I scrolling through multitail output when using command line filters?

I'm currently filtering out unwanted lines when using multitail $ multitail -ev "foo|bar" -kr 0 55 -f /var/log/syslog The problem is, when I want to scroll back through the output, the only way I know of how to do this is using the b command. The…
3
votes
1 answer

Multitail over ssh

I want to use multitail over ssh. But following command fails: $ multitail "ssh dev-04 tail -f /opt/app/app.log" Error opening file ssh docdev-04 tail -f /opt/alfresco/share.log (No such file or directory) However just ssh with tail works fine and…
streetturtle
  • 133
  • 1
  • 5
3
votes
1 answer

How can I display \n as new lines in multitail?

I am using multitail to monitor logs while I program. I really like this tool. However, it is hard to use it to view object output in a php error log because new line characters \n are not processed. Does anyone know of a way to achieve this?
fraxture
  • 172
  • 1
  • 7
3
votes
3 answers

multitail - custom config (multitail.conf) location

Is it possible to provide a custom location for multitail.conf, or are my only options /etc/multiltail.conf or ~/multitail.conf? I'd like to provide a specific config file that has regexes specific to our app defined, but I can't put this in the…
phatmanace
  • 133
  • 1
  • 3
2
votes
3 answers

Using mouse scroll with Multitail

Is there any way to use the mouse wheel, or the terminal window slide bar, to look through a multitail log? Ideally multitail would work almost exactly like tail (except with the obvious coloring).
greedybuddha
  • 123
  • 4
2
votes
0 answers

How to combine many multitail parameters?

The .multitailrc file contains a color scheme called amir_log, which I load using multitail -cS amir_log ~/wildfly/wildfly-8.2.1.Final/standalone/log/server.log But there are ANSI color codes being displayed as ^{[32m, for example. That is corrected…
Rasshu
  • 121
  • 3
2
votes
1 answer

monitor command outputs in separate windows within a terminal

For a list of input text, I want to execute a repetitive command using each element from the list. In addition I also need to monitor the results of each of these commands in parallel. So I am looking for a solution to display the repetitive…
Vivek
  • 121
  • 2
1
vote
1 answer

How to highlight the whole log-line in color with multitail

I'm trying to use multitail to tail logs with color highlights. I defined a custom color scheme in multitail.conf, something like this: colorscheme:my-color cs_re:red:^\[E cs_re:yellow:^\[W cs_re:magenta:^\[D cs_re:green,,bold:All session(s) filled…
MLister
  • 217
  • 1
  • 4
  • 11
1
vote
0 answers

want to live monitor all log files in one vieuw

I like to view all log files live like tail -n0 somelog.log But then for literally all log files on the system (CentOS 7) Or an other way to do this is also nice. I want to output this to a web page eventually.
1
vote
1 answer

Apply multitail's filtering to many files passed via wildcard

multitail has a nice regex-based filtering mechanism that is described in the manpage and online manual. Both sources state that log lines matching a given regex can be excluded from output using the -ev switch: multitail -ev…
jstarek
  • 1,672
  • 2
  • 16
  • 32
0
votes
0 answers

Triggering Multitail to start tailing when 'string' arrives

I am using multitail to monitor a group of logs. I have been seeking a solution in the multitail options to start tailing a log only after the arrival of a matched string. I see plenty of capability in multitail to use -e and/or -ev to…
Rental
  • 1
0
votes
1 answer

Possible to prevent multitail from closing "finished" command windows?

Assume a multitail call like the following: multitail -s 2 -l "long-running-command" -l "short-running-command" Now, I would like to have both windows remain open, even after they are finished. However, multitail will just close the…
TheSHEEEP
  • 125
  • 5
1
2