diff options
author | Yves Fischer <yvesf+git@xapek.org> | 2021-12-31 23:57:29 +0100 |
---|---|---|
committer | Yves Fischer <yvesf+git@xapek.org> | 2021-12-31 23:57:29 +0100 |
commit | d0c7100b706d70dfff342def2bac864693fe8544 (patch) | |
tree | 333268ca977222e2f5a41eff68607b36721f7694 /ebus-rust/README.md | |
parent | caae83f445935c06cd6aef36f283a4688675278a (diff) | |
parent | 810721ceac0249e747cdf36f3edec22d829d4371 (diff) | |
download | ebus-master.tar.gz ebus-master.zip |
Diffstat (limited to 'ebus-rust/README.md')
-rw-r--r-- | ebus-rust/README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ebus-rust/README.md b/ebus-rust/README.md new file mode 100644 index 0000000..b15a4d6 --- /dev/null +++ b/ebus-rust/README.md @@ -0,0 +1,32 @@ +# ebus-rust + +### Dumping sample to stdout +```shell +RUST_LOG=info cargo run parse-l7 < ../doc/sample_dump_2.bin +``` + +### Running against influxdb +Start influxdb: +```shell +influxdb run +``` + +At first time: +```shell +influx -execute 'create database ebus' +``` +(default data directory is `$HOME/.influxdb`). + +Insert dump: +```shell +RUST_LOG=info cargo run influxdb < ../doc/sample_dump_2.bin +``` + +Verify: +```sql +influx +> show databases +> use ebus +> show measurements +> SELECT * FROM ebus LIMIT 5; +```
\ No newline at end of file |