Crusher generates statistics from raw events.
- REview 0.33.0 or higher
- Giganto 0.17.0 or higher
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.root
: RootCA file. (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 ofGiganto ingest
.giganto_publish_srv_addr
: IP address and port number ofGiganto 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 ofreview
.last_timestamp_data
: File that stores the timestamp of the last time series persampling policy
.log_dir
: Path to the log file.
Example
key = "key.pem"
cert = "cert.pem"
root = "root.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:
- Linux:
$HOME/.config/crusher/config.toml
- macOS:
$HOME/Library/Application Support/com.einsis.crusher/config.toml
- Copyright 2023-2024 ClumL Inc.