I am a newbie, I inherited an older elasticsearch, kibana, logstash, filebeat server and it is currently working fine, however I wanted to run the latest and went ahead and installed learticsearch, kibana, logstash, filebeat on a new Ubuntu Linux server but I am unable to create the logstash index in kibana, it does not show up when I try to create the index. Any help would be highly appreciated.
root@elastic_syslog:/var/log/logstash#
root@elastic_syslog:/var/log/logstash# sudo service logstash status
â logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2020-03-09 19:19:32 UTC; 14s ago
Main PID: 17435 (java)
Tasks: 22 (limit: 4915)
CGroup: /system.slice/logstash.service
ââ17435 /usr/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.compile.
Mar 09 19:19:32 elastic_syslog systemd[1]: Started logstash.
Mar 09 19:19:45 elastic_syslog logstash[17435]: Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
Mar 09 19:19:45 elastic_syslog logstash[17435]: [2020-03-09T19:19:45,706][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.6.1"}
root@elastic_syslog:/var/log/logstash# curl -XGET "http://localhost:9200/_cat/indices"
green open .kibana_task_manager_1 i8eCVQkASeyxa3UL3lepEA 1 0 2 1 31.4kb 31.4kb
yellow open filebeat-7.6.1-2020.03.05-000001 UcTKM9nfQ3qFK_cO2zzgcg 1 1 49821 0 10.1mb 10.1mb
green open ilm-history-1-000001 O3n92t7SRky7ahtWvjddJQ 1 0 18 0 25.3kb 25.3kb
green open .apm-agent-configuration TCj94zuGRkug0fdlBGzv1A 1 0 0 0 283b 283b
green open kibana_sample_data_logs IwftZXkMRq-cRN1cie-b1Q 1 0 14074 0 11.4mb 11.4mb
green open .kibana_1 aM8WEHR1RQCd_5S2d4y0kA 1 0 302 26 474.2kb 474.2kb
}
[2020-03-09T15:47:46,602][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::JavaLang::IllegalStateException", :message
=>"Unable to configure plugins: (ConfigurationError) Something is wrong with your configuration.", :backtrace=>["org.logstash.config.ir.CompiledPipeline.(CompiledPipeline.java:103)", "org.logstash.exec
ution.JavaBasePipelineExt.initialize(JavaBasePipelineExt.java:60)", "org.logstash.execution.JavaBasePipelineExt$INVOKER$i$1$0$initialize.call(JavaBasePipelineExt$INVOKER$i$1$0$initialize.gen)", "org.jruby.in
ternal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1169)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSup
erSplatArgs(IRRuntimeHelpers.java:1156)", "org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$metho
d$initialize$0(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:27)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:84)", "org.jruby.internal.runtime.methods.
MixedModeIRMethod.call(MixedModeIRMethod.java:70)", "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
86)", "org.jruby.RubyClass.newInstance(RubyClass.java:915)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183
)", "usr.share.logstash.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0(/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:36)", "usr.share.logstash.logsta
sh_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0$VARARGS(/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb)", "org.jruby.internal.runtime.methods.CompiledIRM
ethod.call(CompiledIRMethod.java:84)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)", "usr.share.logsta
sh.logstash_minus_core.lib.logstash.agent.RUBY$block$converge_state$2(/usr/share/logstash/logstash-core/lib/logstash/agent.rb:326)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java
:136)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:77)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:71)", "org.jruby.runtime.Block.call(Block.java:125)", "org.jruby.RubyProc.call(RubyProc
.java:274)", "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)", "java.lang.Thread.run(Thread.java:748)"]}
[2020-03-09T15:47:46,616][ERROR][logstash.agent ] An exception happened when converging configuration {:exception=>LogStash::Error, :message=>"Don't know how to handle Java::JavaLang::IllegalState Exception
for PipelineAction::Create<main>
", :backtrace=>["org/logstash/execution/ConvergeResultExt.java:109:in create'", "org/logstash/execution/ConvergeResultExt.java:37:in
add'", "/usr/share/logstash
/logstash-core/lib/logstash/agent.rb:339:in block in converge_state'"]} [2020-03-09T15:47:46,647][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<LogStash::Error: Don't know how to handle
Java::JavaLang::IllegalStateExceptionfor
PipelineAction::Cre
ate>, :backtrace=>["org/logstash/execution/ConvergeResultExt.java:109:in
create'", "org/logstash/execution/ConvergeResultExt.java:37:in add'", "/usr/share/logstash/logstash-core/lib/logstash/agent.r b:339:in
block in converge_state'"]}
[2020-03-09T15:47:46,664][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-09T15:48:00,274][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.6.1"}
[2020-03-09T15:48:02,778][INFO ][org.reflections.Reflections] Reflections took 34 ms to scan 1 urls, producing 20 keys and 40 values
[2020-03-09T15:48:03,085][ERROR][logstash.inputs.beats ] Invalid setting for beats input plugin:
input {
beats {
# This setting must be a path
# File does not exist or cannot be opened /etc/pki/tls/certs/logstash-forwarder.crt
ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
...
}
}
[2020-03-09T15:48:03,087][ERROR][logstash.inputs.beats ] Invalid setting for beats input plugin:
input {
beats {
# This setting must be a path
# File does not exist or cannot be opened /etc/pki/tls/private/logstash-forwarder.key
ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"