Events-processing output: Difference between revisions
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 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:
- Restrict the output to specific event properties.
- Restrict the output to specific event types.