Crusher generates statistics from raw events.
You can run Crusher by invoking the following command:
crusher path/to/config.toml
where config.toml
is a configuration file in TOML format.
The following is key values in the TOML configuration file.
key
: Crusher's private key file.cert
: Crusher's certificate file.ca_certs
: CA certificate files. (for Giganto, Review)giganto_name
: the name of the Giganto. This must match with the DNS name in
the certificate.giganto_ingest_srv_addr
: IP address and port number of Giganto ingest
.giganto_publish_srv_addr
: IP address and port number of Giganto publish
.review_name
: the name of the review. This must match with the DNS name in
the certificate.review_rpc_srv_addr
: IP address and port number of review
.last_timestamp_data
: File that stores the timestamp of the last time series
per sampling policy
.log_dir
: Path to the log file.Example
key = "key.pem"
cert = "cert.pem"
ca_certs = ["ca_cert_1.pem", "ca_cert_2.pem"]
giganto_name = "localhost"
giganto_ingest_srv_addr = "127.0.0.1:38370"
giganto_publish_srv_addr = "127.0.0.1:38371"
review_name = "localhost"
review_rpc_srv_addr ="127.0.0.1:38390"
last_timestamp_data = "tests/time_data.json"
log_dir = "/data/logs/apps"
By default, giganto reads the config file from the following directories:
$HOME/.config/crusher/config.toml
$HOME/Library/Application Support/com.cluml.crusher/config.toml