Skip to content

Fix formatting for code samples in output-riak #773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/plugins/outputs/riak.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,23 @@ apply to ALL the buckets.
Bucket properties (NYI)
Logstash hash of properties for the bucket
i.e.

[source,ruby]
-----
bucket_props => {
"r" => "one"
"w" => "one"
"dw", "one
}
-----

or

[source,ruby]
-----
bucket_props => { "n_val" => "3" }
-----

Properties will be passed as-is

[id="plugins-{type}s-{plugin}-enable_search"]
Expand Down Expand Up @@ -109,8 +117,12 @@ Enable SSL
Indices
Array of fields to add 2i on
e.g.

[source,ruby]
-----
`indices => ["source_host", "type"]
-----

Off by default as not everyone runs eleveldb

[id="plugins-{type}s-{plugin}-key_name"]
Expand All @@ -134,11 +146,14 @@ The nodes of your Riak cluster
This can be a single host or
a Logstash hash of node/port pairs
e.g

[source,ruby]
-----
{
"node1" => "8098"
"node2" => "8098"
}
-----

[id="plugins-{type}s-{plugin}-proto"]
===== `proto`
Expand All @@ -165,10 +180,12 @@ here: https://github.com/basho/riak-ruby-client/wiki/Connecting-to-Riak
You'll likely want something like this:

[source, ruby]
-----
ssl_opts => {
"pem" => "/etc/riak.pem"
"ca_path" => "/usr/share/certificates"
}
-----

Per the riak client docs, the above sample options
will turn on SSL `VERIFY_PEER`
Expand Down