Skip to content

Commit 7b95c1e

Browse files
committed
move user to -u, cause password contains signs that curl cannot parse as url
1 parent 549921c commit 7b95c1e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ Service factories are the glue code of the dependeny injection container.
166166
### Policy to delete logstash formatted indicies after 14 days.
167167

168168
```.sh
169-
curl -XPUT 'https://admin:98T722Eqw99oqFCSJCnB@localhost:9200/_plugins/_ism/policies/logstash-policy' \
169+
curl -XPUT 'https://localhost:9200/_plugins/_ism/policies/logstash-policy' \
170+
-u 'admin:98T722Eqw99oqFCSJCnB' \
170171
-H 'Content-Type: application/json' \
171172
-H 'Accept: application/json' \
172173
-d '{

0 commit comments

Comments
 (0)