Sha256: ba8fa09df7070d0ae7727f66aa63e641450ed9165932eee54c76b2e713942498
Contents?: true
Size: 1.04 KB
Versions: 12
Compression:
Stored size: 1.04 KB
Contents
## Using transport client to connect to Shield 1. build gem: `gem build logstash-output-elasticsearch-shield.gemspec` 2. clone logstash: `git clone https://github.com/elasticsearch/logstash.git` 3. install gem and other plugins in the logstash dir: ``` cd logstash rake bootstrap bin/plugin install logstash-output-elasticsearch bin/plugin install /tmp/logstash-output-elasticsearch-shield-0.1.5.gem # install other needed plugins bin/plugin install logstash-input-generator bin/plugin install logstash-output-stdout bin/plugin install logstash-codec-rubydebug ``` 4. create a config file ``` input { generator { count => 1 } } output { elasticsearch { host => "node01" protocol => "transport" node_name => "logstash" cluster => "themess" user => "logstash" password => "lsdata" ssl => true truststore => "/tmp/truststore.jks" truststore_password => "test" keystore => "/tmp/node02keystore.jks" keystore_password => "test" } stdout { codec => rubydebug } } ``` 5. run logstash `bin/logstash -f shield.conf`
Version data entries
12 entries across 12 versions & 2 rubygems