ELK Stack with Spring Boot Logs | Log Kibana and ES | Logstash and ELK Stack in Spring Boot

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 19

  • @milad_mo
    @milad_mo 2 місяці тому +1

    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

  • @sasikumarM-sk2wo
    @sasikumarM-sk2wo 7 місяців тому +1

    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
      @JavaTechSolutions  7 місяців тому

      Yes.. Possible to link all the logs in single place. Also its depends till when you want to keep the logs

  • @sasikumarM-sk2wo
    @sasikumarM-sk2wo 7 місяців тому +1

    How long the log details is persisited in elastic search , if i reload the eleastic search server what happed ?

    • @JavaTechSolutions
      @JavaTechSolutions  7 місяців тому

      That we can manage till when we need to manage the logs

  • @hendisantika
    @hendisantika 4 місяці тому

    Can you update it into ELK 8.14.1 or latest version? and make it as docker compose file?

    • @JavaTechSolutions
      @JavaTechSolutions  4 місяці тому

      Is there anything you are expecting for this update version?

    • @hendisantika
      @hendisantika 4 місяці тому +1

      @@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.

    • @JavaTechSolutions
      @JavaTechSolutions  4 місяці тому

      @@hendisantika ok

  • @youssouphafaye1710
    @youssouphafaye1710 8 місяців тому

    is it possible to have the github with all the necessary code and scripts

  • @imalchandika7290
    @imalchandika7290 Рік тому

    it request to certificate for me?can you handle this

    • @JavaTechSolutions
      @JavaTechSolutions  Рік тому

      You are trying in local ?

    • @shubhammohture6359
      @shubhammohture6359 8 місяців тому

      @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
      }
      }

    • @rajkumarwinc9372
      @rajkumarwinc9372 2 дні тому

      ./elasticsearch -E xpack.security.enabled=false
      run with this command

  • @ahmet7253
    @ahmet7253 4 місяці тому

    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 :(((((