From 76f8611ee3345268e2091a9d2e81b53a8b05889c Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Wed, 13 Oct 2021 23:22:16 +0200 Subject: ebus parser in rust --- ebus-rust/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ebus-rust/README.md (limited to 'ebus-rust/README.md') 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 -- cgit v1.2.1