File maji.config of Package maji
# Simple template for measuring packets and bytes using the 5-tuple as the
# flow key
template
{
keys = {"sourceIPv4Address", "destinationipv4address",
"protocolIdentifier",
"sourceTransportPort", "destinationTransportPort"}
elements = {"packettotalcount", "octettotalcount" }
}
# Export expired flows and option template records every 60 seconds
report_freq = 60
# This instance of maji will have an observation domain id of 1
domain_id = 1
# Location of the installed libwandipfix information element modules
module_location = {"/usr/lib/maji/info_elements" }
## Global TLS configuration
#tls {
# ca_file="/usr/local/maji/tls/cacert.pem"
# cert_file="/usr/local/maji/tls/cert.pem"
# key_file="/usr/local/maji/tls/key.pem"
#}
# Collect trace information from interface en1 via pcap
input {
uri="pcapint:en1"
}
# Connect to a TCP collector listening on port 4739 via localhost
output {
uri="tcp:localhost:4739"
options = ""
}
# Connect to a TCP+TLS collector listening on port 4740 via localhost
output {
uri="tcp:localhost:4740"
use_tls="true"
}