Hi all
- When I install logstash-codec-sflow with bin/logstash-plugin install logstash-codec-sflow I get:
Validating
Installing
Install Successful
I then do a bin/logstash-plugin list --installed and all the plugins show including sflow.
I do this while the logstash service is stopped (just thought this would be best)
Startup the logstash service sudo service logstash start - It starts, tail the logs (Have loginfo set to trace) to see what is going on and see all but the sflow plugin listed as loaded plugins.
Go back to bin/logstash-plugin list --installed and get Error: No plugins installed
Then I downloaded the plugin manually - same approach as above instead specifying the path to the file (incl the file name)
Installing (doesnt validate "local" plugins)
Installation Successful
bin/logstash-plugin list --installed
See it there
Startup Logstash
Logs: No sflow
Go back - bin/logstash-plugin list --installed
If I run above without sudo I get:
/usr/share/logstash$ bin/logstash-plugin list --installed Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. unsupported Java version "10", defaulting to 1.7 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jruby.util.io.FilenoUtil to method sun.nio.ch.SelChImpl.getFD() WARNING: Please consider reporting this to the maintainers of org.jruby.util.io.FilenoUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
Run it with sudo:
XXXXXX:/usr/share/logstash$ sudo bin/logstash-plugin list --installed
[sudo] password for XXXXX:
logstash-codec-cef
logstash-codec-collectd
logstash-codec-dots
logstash-codec-edn
logstash-codec-edn_lines
logstash-codec-es_bulk
logstash-codec-fluent
logstash-codec-graphite
logstash-codec-json
logstash-codec-json_lines
logstash-codec-line
logstash-codec-msgpack
logstash-codec-multiline
logstash-codec-netflow
logstash-codec-plain
logstash-codec-rubydebug
logstash-filter-aggregate
logstash-filter-anonymize
logstash-filter-cidr
logstash-filter-clone
logstash-filter-csv
logstash-filter-date
logstash-filter-de_dot
logstash-filter-dissect
logstash-filter-dns
logstash-filter-drop
logstash-filter-elasticsearch
logstash-filter-fingerprint
logstash-filter-geoip
logstash-filter-grok
logstash-filter-jdbc_static
logstash-filter-jdbc_streaming
logstash-filter-json
logstash-filter-kv
logstash-filter-metrics
logstash-filter-mutate
logstash-filter-ruby
logstash-filter-sleep
logstash-filter-split
logstash-filter-syslog_pri
logstash-filter-throttle
logstash-filter-translate
logstash-filter-truncate
logstash-filter-urldecode
logstash-filter-useragent
logstash-filter-xml
logstash-input-azure_event_hubs
logstash-input-beats
logstash-input-dead_letter_queue
logstash-input-elasticsearch
logstash-input-exec
logstash-input-file
logstash-input-ganglia
logstash-input-gelf
logstash-input-generator
logstash-input-graphite
logstash-input-heartbeat
logstash-input-http
logstash-input-http_poller
logstash-input-imap
logstash-input-jdbc
logstash-input-kafka
logstash-input-pipe
logstash-input-rabbitmq
logstash-input-redis
logstash-input-s3
logstash-input-snmptrap
logstash-input-sqs
logstash-input-stdin
logstash-input-syslog
logstash-input-tcp
logstash-input-twitter
logstash-input-udp
logstash-input-unix
logstash-output-cloudwatch
logstash-output-csv
logstash-output-elasticsearch
logstash-output-email
logstash-output-file
logstash-output-graphite
logstash-output-http
logstash-output-kafka
logstash-output-lumberjack
logstash-output-nagios
logstash-output-null
logstash-output-pagerduty
logstash-output-pipe
logstash-output-rabbitmq
logstash-output-redis
logstash-output-s3
logstash-output-sns
logstash-output-sqs
logstash-output-stdout
logstash-output-tcp
logstash-output-udp
logstash-output-webhdfs
Um no logstash-codec-sflow..... just amoment ago you told me it was installed (logstash service stopped when installing, then started the service and ran command above)
I have run a update on all these plugins (painful wish there was or knew how to do --all for update ...) sflow is on 2.0.2 which is also the latest version on the download.
Environment:
OS - Ubuntu 18.10 on x64 Physical server
Whole ELK stack - 6.4.1
ruby - ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux] ruby in vendor/bundle/ 2.3.0
jruby -
unsupported Java version "10", defaulting to 1.7 jruby 9.1.13.0 (2.3.3) 2017-10-04 fffffff Java HotSpot(TM) 64-Bit Server VM 10.0.2+13 on 10.0.2+13 +jit [linux-x86_64]
Java
:/usr/share/logstash$ java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
I know it says Java 10 isn't supported but it defaults to 1.7 now not sure if logstash needs min 1.8 (which is installed)
Any insight or help here?