Update README.md
parent
8ab8c0bc29
commit
fb99e61598
|
@ -171,15 +171,15 @@ See below for more information.
|
||||||
influx -import -path=metrics-default
|
influx -import -path=metrics-default
|
||||||
```
|
```
|
||||||
|
|
||||||
To redirect failed import lines to another file, run this command:
|
To redirect failed import messages (errors and output) to a file called failure, run this command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
influx -import -path=metrics-default.gz -compressed > failures
|
influx -import -path=metrics-default.gz -compressed 2> failures 2>&1
|
||||||
```
|
```
|
||||||
|
|
||||||
The import will use the line protocol in batches of 5,000 lines per batch when sending data to the server.
|
The import will use the line protocol in batches of 5,000 lines per batch when sending data to the server.
|
||||||
|
|
||||||
### Throttiling the import
|
### Throttling the import
|
||||||
|
|
||||||
If you need to throttle the import so the database has time to ingest, you can use the `-pps` flag. This will limit the points per second that will be sent to the server.
|
If you need to throttle the import so the database has time to ingest, you can use the `-pps` flag. This will limit the points per second that will be sent to the server.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue