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

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 19

  • @milad_mo
    @milad_mo 3 месяца назад +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 8 месяцев назад +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  8 месяцев назад

      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 8 месяцев назад +1

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

    • @JavaTechSolutions
      @JavaTechSolutions  8 месяцев назад

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

  • @hendisantika
    @hendisantika 5 месяцев назад

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

    • @JavaTechSolutions
      @JavaTechSolutions  5 месяцев назад

      Is there anything you are expecting for this update version?

    • @hendisantika
      @hendisantika 5 месяцев назад +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  5 месяцев назад

      @@hendisantika ok

  • @youssouphafaye1710
    @youssouphafaye1710 9 месяцев назад

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

  • @ahmet7253
    @ahmet7253 5 месяцев назад

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

  • @imalchandika7290
    @imalchandika7290 Год назад

    it request to certificate for me?can you handle this

    • @JavaTechSolutions
      @JavaTechSolutions  Год назад

      You are trying in local ?

    • @shubhammohture6359
      @shubhammohture6359 9 месяцев назад

      @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 29 дней назад

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