bag-merge

Synopsis

bag-merge [OPTIONS] -o OUTPUT INPUT1 [INPUT2 ...]

Description

Copy events from log files INPUT1, INPUT2 etc. into a new log file OUTPUT.

The usual commandline options are accepted. Specialized commandline options:

--output-file OUTPUT, -o OUTPUT

Write transformed events into file OUTPUT. The file format is determined based on the file type (which is determined based on the file extension) of OUTPUT.

Tip

The output of common --help-for all includes a list of supported file formats.

--channel NAME-OR-REGEXP, -c NAME-OR-REGEXP

Select the channels matching NAME-OR-REGEXP for merging. This option can be specified multiple times.

Examples

  • $ bag-merge -o bla.tide '/vol/my-separate-logs/**/*.tide'
    

    The above command merges all log files matching the glob expression /vol/my-separate-logs/**/*.tide into a single log file named bla.tide.

Table Of Contents

Previous topic

bag-cat

Next topic

Glossary

This Page