Spring Boot APP With Splunk Integration |Log4j | Realtime logs analysis using Splunk | EnggAdda

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

ความคิดเห็น • 43

  • @someshwarkharad4195
    @someshwarkharad4195 4 หลายเดือนก่อน

    Nice video...just want to ask one question the logs are stored in both places i.e in local files and splunk dashboard also

  • @ramyadurga.chinthaluri269
    @ramyadurga.chinthaluri269 ปีที่แล้ว +1

    It worked for me..thanks alot for your time..keep up the good work

  • @MalobikaNandy
    @MalobikaNandy 2 หลายเดือนก่อน

    It was not working for me. I later check and "disabled SSL" in "Global Settings". Post this, the logs started flowing.

  • @cuongoduy4184
    @cuongoduy4184 5 หลายเดือนก่อน

    Logs are printed correctly in the console without any Error, but not getting pushed to the Splunk server.
    Please help me, sir

    • @enggadda
      @enggadda  4 หลายเดือนก่อน

      Try cloning the project and then see

    • @cuongoduy4184
      @cuongoduy4184 4 หลายเดือนก่อน

      Eventhough I cloned your project but the problem still happen

  • @shreysaxena738
    @shreysaxena738 4 หลายเดือนก่อน

    Select source type mai sl4j show nhi ho rha

  • @velkuppannasamy708
    @velkuppannasamy708 ปีที่แล้ว +2

    Thanks for the video i have created index and configured log but not showing i followed your steps now i can see the logs thank you so much

    • @enggadda
      @enggadda  ปีที่แล้ว

      Thanks for comment ,if you like it please like and subscribe, I upload development videos

    • @MahadevaswamyGN
      @MahadevaswamyGN 11 หลายเดือนก่อน +1

      im also follwed same steps . im not able to see logs

  • @DonZamudio
    @DonZamudio 4 หลายเดือนก่อน

    Thank you so much for the video, very helpful

    • @enggadda
      @enggadda  4 หลายเดือนก่อน

      Welcome, please support the channel

  • @sanjayranga2683
    @sanjayranga2683 ปีที่แล้ว +1

    First of all thanks a lot for this tutorial. I followed this approach in one of my existing project .. but it was not working - Then i cloned your project and it was working .... So after lot of trials i found out that the dependencies in pom.xml should be in a particular order .. then it started working . My project had other dependencies as well .. then finally i aligned the order of dependencies as per your pom.xml and then added my extra dependencies in the end. This is strange and i dont know the reason why is it so .. but still documenting if someone else face similar problems

    • @enggadda
      @enggadda  ปีที่แล้ว

      its always welcoming steps to help someone
      Thanks for the comment

    • @vinayakjamadar986
      @vinayakjamadar986 6 หลายเดือนก่อน

      @sanjayranga2683
      Can you please share the order of dependencies from your working pom.xml

  • @vinayakjamadar986
    @vinayakjamadar986 6 หลายเดือนก่อน

    Logs are printed correctly in the console without any Error, but not getting pushed to the Splunk server.
    Please help

    • @enggadda
      @enggadda  6 หลายเดือนก่อน

      Can you please let me know how you are checking logs in splunk

    • @vinayakjamadar986
      @vinayakjamadar986 6 หลายเดือนก่อน

      @enggadda
      By splunk query index=idxName

  • @vinayakjamadar986
    @vinayakjamadar986 6 หลายเดือนก่อน

    I followed same approach, everything is working fine but dont know why i cannot getting logs in splunk, Please help

    • @enggadda
      @enggadda  6 หลายเดือนก่อน

      Sure can you please tell me how you are checking the logs ? Are you searching with the statement that you are printing in your java classes ?

    • @poojalekshmibalu8140
      @poojalekshmibalu8140 6 หลายเดือนก่อน

      @@enggadda same issue...I also followed the approach you mentioned..but not getting logs in splunk.
      I checked the logs using index, eg : index="spring_dev"

    • @vinayakjamadar986
      @vinayakjamadar986 6 หลายเดือนก่อน

      @enggadda
      No, by splunk query "index=idxName"

    • @vinayakjamadar986
      @vinayakjamadar986 6 หลายเดือนก่อน

      @enggadda
      I am getting few errors as
      2024-04-02T09:38:37.613868600Z main ERROR Unable to invoke factory method in class com.splunk.logging.HttpEventCollectorLog4jAppender for element SplunkHttp: java.lang.NoClassDefFoundError: okhttp3/Callback java.lang.reflect.InvocationTargetException
      2024-04-02T09:38:37.613868600Z main ERROR Null object returned for SplunkHttp in Appenders.
      2024-04-02T09:38:37.622874900Z main ERROR Unable to locate appender "http" for logger config "root"

    • @enggadda
      @enggadda  6 หลายเดือนก่อน

      @@poojalekshmibalu8140 sorry for late reply as i was not getting the notification from youtube for comments , Now can you try a search like index="spring_dev*" or something what you are printing in your logs like "XYZ*"

  • @krishnasharma-rt1hl
    @krishnasharma-rt1hl ปีที่แล้ว

    i followed same approach ,everything is working fine but dont know why i cannt getting logs in splunk ,please help

    • @enggadda
      @enggadda  ปีที่แล้ว

      take a look at dependencies in pom.xml and log4j-spring.xml file and see if you are doing everything right .

    • @vladstarichenko4937
      @vladstarichenko4937 ปีที่แล้ว

      @@enggadda I've pulled your repo, and I can't see logs as well

    • @vladstarichenko4937
      @vladstarichenko4937 ปีที่แล้ว

      did you managed to fix this issue?

    • @enggadda
      @enggadda  ปีที่แล้ว

      @@vladstarichenko4937 , its working for me. i can't say why its not working for you.

    • @vladstarichenko4937
      @vladstarichenko4937 ปีที่แล้ว

      @@enggadda ofc as you just tailored the other tutorial... I believe the reason is the firewall( no offence

  • @TheSilentLearner786
    @TheSilentLearner786 8 หลายเดือนก่อน

    Sir please provide the link of that video for making project 16:52

    • @enggadda
      @enggadda  8 หลายเดือนก่อน

      th-cam.com/video/e8vJ01ieXfs/w-d-xo.html
      please find it

  • @sudarsan333
    @sudarsan333 ปีที่แล้ว

    Thnak you sir

    • @enggadda
      @enggadda  ปีที่แล้ว

      Welcome , Thanks for Support

  • @TheSilentLearner786
    @TheSilentLearner786 8 หลายเดือนก่อน

    Sir please do python related splunk tutorials its really helpful

    • @enggadda
      @enggadda  8 หลายเดือนก่อน

      Sure , will cover this in future

  • @bharkaviMuthukumar
    @bharkaviMuthukumar ปีที่แล้ว +1

    please make a video how to do that integration splunk with python apllication

    • @enggadda
      @enggadda  ปีที่แล้ว +1

      Sure will do it in future

  • @biniluwyz4981
    @biniluwyz4981 26 วันที่ผ่านมา

    this is an exact copy of Javatechie channel which was made two years ago.