EVL

Table of Contents


Products, services and company names referenced in this document may be either trademarks or registered trademarks of their respective owners.

Copyright © 2017–2020 EVL Tool, s.r.o.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.

Watcher

(since EVL 1.2)

This component writes records passing through the <flow> into <file> in text format.

Works only when variable ‘EVL_WATCHER’ is set to ‘1’, otherwise does nothing. One can use it for debugging data in ‘DEV’ or ‘TEST’ environment, but it would be switched off in ‘PROD’.

EVD is EVL data definition file, for details see evl-evd(5).

Synopsis

syntax/Watcher
Watcher
  <flow> <file> (<evd>|-d <inline_evd>) [-x|--text-input]

evl watcher
  ( --help | --usage | --version )

Options

-d, --output-definition=<inline_evd>

either this option or the file <evd_out> must be presented. Example: ‘-d 'user_sum long'

-x, --text-input

suppose the input as text, not binary

Standard options:

--help

print this help and exit

--usage

print short usage information and exit

--version

print version and exit

Examples

  1. In EVL job (‘evs’ file):
    Sort     FLOW_01 FLOW_02 some.evd --key='id'
    Watcher  FLOW_02 sorted.csv some.evd