Skip to content

Examples: hepipe

Lorenzo Mangani edited this page Nov 21, 2015 · 3 revisions

Logo

HEPipe (pronounced HEP-pipe) is a command-line application for logging arbitrary data (ie: logs, cdrs, debug lines) to a HEP/EEP capture server such as HOMER or PCAPTURE

Usage

#### HEPipe HEADER PARAMS: 
timesec;timeusec;correlationid;source_ip;source_port;destination_ip;destinaton_port;payload in json OR string

HEPIPE Sample Configuration for HOMER5

## STRING Version
echo "${ts};${tsu};${callid};${localip};${syslogport};${localip};${syslogport};${message}" | hepipe -s 127.0.0.1 -p 7060 -i 2001 -t 100 -P HEP123

## JSON Version
echo "${ts};${tsu};${callid};${localip};${syslogport};${localip};${syslogport};{\"msg\": \"${message}\"}" | hepipe -s 127.0.0.1 -p 7060 -i 2001 -t 100 -P HEP123
Clone this wiki locally