From 82d17078612f4e3c64de9e945671d831552a0362 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 11 Jun 2019 21:05:24 +0300 Subject: [PATCH] README.md: add missing port to example urls --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30a744c82b..d9ff1cefad 100644 --- a/README.md +++ b/README.md @@ -225,13 +225,13 @@ foo.field2{tag1="value1", tag2="value2"} 40 Example on how to write data with Influx line protocol to local VictoriaMetrics using `curl`: ``` -curl -d 'measurement,tag1=value1,tag2=value2 field1=123,field2=1.23' -X POST 'http://localhost/write' +curl -d 'measurement,tag1=value1,tag2=value2 field1=123,field2=1.23' -X POST 'http://localhost:8428/write' ``` After that this data may be read via [/api/v1/export](#how-to-export-time-series) endpoint: ``` -curl -G 'http://localhost/api/v1/export' --data-urlencode 'match={__name__!=""}' +curl -G 'http://localhost:8428/api/v1/export' --data-urlencode 'match={__name__!=""}' ``` The `/api/v1/export` endpoint should return the following response: