docs/index.asciidoc in logstash-output-riak-3.0.4 vs docs/index.asciidoc in logstash-output-riak-3.0.5
- old
+ new
@@ -68,19 +68,27 @@
* There is no default value for this setting.
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"]
===== `enable_search`
@@ -106,12 +114,16 @@
* There is no default value for this setting.
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"]
===== `key_name`
@@ -131,15 +143,18 @@
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`
* Value can be any of: `http`, `pb`
@@ -154,21 +169,23 @@
===== `ssl_opts`
* Value type is <<hash,hash>>
* There is no default value for this setting.
-SSL Options
-Options for SSL connections
-Only applied if SSL is enabled
+Options for SSL connections.
+Only applied if SSL is enabled.
Logstash hash that maps to the riak-client options
-here: https://github.com/basho/riak-ruby-client/wiki/Connecting-to-Riak
+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`
\ No newline at end of file