Skip to content

Doc: Add space delimited URI examples to hosts option#149

Open
karenzone wants to merge 2 commits into
logstash-plugins:mainfrom
karenzone:exp-env-var2
Open

Doc: Add space delimited URI examples to hosts option#149
karenzone wants to merge 2 commits into
logstash-plugins:mainfrom
karenzone:exp-env-var2

Conversation

@karenzone

Copy link
Copy Markdown
Contributor

Improve documentation by adding meaningful examples

@karenzone karenzone added the docs label Aug 11, 2021
@karenzone

Copy link
Copy Markdown
Contributor Author

Replaces #146

@kares kares left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these examples won't behave as expected with hosts => "${ES_HOSTS}"

Comment thread docs/index.asciidoc

* `ES_HOSTS="es1.example.com es2.example.com:9201 es3.example.com:9201"`
* `ES_HOSTS="127.0.0.1:9200 127.0.0.2:9200"`
* `ES_HOSTS="http://127.0.0.1 http://127.0.0.2"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what the back-story is but these aren't working properly.
the first 2 examples will start although I do not think the host fall-over is working (only the first entry is extracted by the client library). for the second half of examples - they simply fail to start the plugin.

alexcams pushed a commit to alexcams/logstash-filter-elasticsearch that referenced this pull request Jan 22, 2026
* Refactor: remove unused local variable

* Refactor: remove (unused) codec default

* Refactor: review/unify error logging format
+ reviewed event logging to include meta-data details

* Deps: move (unused) plain codec to dev dependency

* Deps: drop redundant sequel dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants