From fb99e615981409f441f33899beb992376858057c Mon Sep 17 00:00:00 2001 From: kelseiv <47797004+kelseiv@users.noreply.github.com> Date: Thu, 1 Aug 2019 17:30:52 -0700 Subject: [PATCH] Update README.md --- importer/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/importer/README.md b/importer/README.md index 7b0dd8753a..489a30386c 100644 --- a/importer/README.md +++ b/importer/README.md @@ -171,15 +171,15 @@ See below for more information. 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 - 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. -### 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.