blob: b15a4d6270aa0f1262cf8a2d3f135d92dce76df4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
```
|