Events-processing output: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
The default procedure to handle event streams: the procedure inspects the events and sends their string representation to the configured output stream.
The default procedure to handle event streams: the procedure inspects the events and sends their string representation to the configured output stream.


The procedure can be configured with an output format. The format specification follows the "-o" marker and ends either with the last argument or when a higher level argument (file, for example) is encountered.
The procedure can be configured with an output format.  
 
One way to provide the format specification is on command-line: format specification arguments follow the "-o" marker and end either with the last argument or when a higher level argument (file, for example) is encountered.


  some-parser [output] -o <''output-format''> ./file.txt
  some-parser [output] -o <''output-format''> ./file.txt

Revision as of 00:58, 4 August 2017

Internal

Overview

The default procedure to handle event streams: the procedure inspects the events and sends their string representation to the configured output stream.

The procedure can be configured with an output format.

One way to provide the format specification is on command-line: format specification arguments follow the "-o" marker and end either with the last argument or when a higher level argument (file, for example) is encountered.

some-parser [output] -o <output-format> ./file.txt
cat ./file.txt | some-parser [output] -o <output-format>

Output Format

The output format can be used to:

Displaying Specific Event Properties

Displaying Specific Event Types

Output Separator