Thanks for your explanation, but that would be better if you had put the project Github link so others were able to implement and test this tutorial completely
How long log is persisted in elastic search ? what happend if i reload the elastic search server ? And how can i get log for child sevrice, if one request hits "A" serivce it hits "B" service and it hits "C" service , i need all log in single place , is that possible in elk ?
@@JavaTechSolutions Most of ELK 8 latest version are different configs and very secure configs. So not so easy with previous version. That's why I want to know how to achieve ELK stack on that latest version.
When I run the ".\bin\logstash.bat -f .\config\logstash-sample.conf" command, I get the following error "[FATAL] 2024-06-24 14:12:45.124 [main] Logstash - Logstash stopped processing because of an error: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError) org.jruby.exceptions.NameError: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)" please help me I couldn't find any source about this :(((((
Thanks for your explanation, but that would be better if you had put the project Github link so others were able to implement and test this tutorial completely
Sure.. I will add the link
How long log is persisted in elastic search ? what happend if i reload the elastic search server ?
And how can i get log for child sevrice, if one request hits "A" serivce it hits "B" service and it hits "C" service , i need all log in single place , is that possible in elk ?
Yes.. Possible to link all the logs in single place. Also its depends till when you want to keep the logs
How long the log details is persisited in elastic search , if i reload the eleastic search server what happed ?
That we can manage till when we need to manage the logs
Can you update it into ELK 8.14.1 or latest version? and make it as docker compose file?
Is there anything you are expecting for this update version?
@@JavaTechSolutions Most of ELK 8 latest version are different configs and very secure configs. So not so easy with previous version. That's why I want to know how to achieve ELK stack on that latest version.
@@hendisantika ok
is it possible to have the github with all the necessary code and scripts
yes, please, is it possible
I will add this
it request to certificate for me?can you handle this
You are trying in local ?
@imalchandika7290 Add this in your logstash.conf file:
ssl => true
ssl_certificate_verification => false
So your logstash.conf file should look something like this:
input {
file {
path => ""
start_position => "beginning"
}
}
output {
stdout {
codec => json
}
elasticsearch {
hosts => ["localhost:9200"]
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
user => "elastic"
password => ""
ssl => true
ssl_certificate_verification => false
}
}
./elasticsearch -E xpack.security.enabled=false
run with this command
When I run the ".\bin\logstash.bat -f .\config\logstash-sample.conf" command, I get the following error "[FATAL] 2024-06-24 14:12:45.124 [main] Logstash - Logstash stopped processing because of an error: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
org.jruby.exceptions.NameError: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)" please help me I couldn't find any source about this :(((((
What java version are using ?