ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    SysLog Forwarding for XenServer

    IT Discussion
    rsyslog xenserver logging kibana elk elasticsearch
    10
    110
    23.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      0_1471021829374_chrome_2016-08-12_13-10-17.png

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by

        0_1471021953539_chrome_2016-08-12_13-12-17.png

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          I still have a few compressed logs (things that aren't marked to be forward to Elk/Kibana)

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            0_1471022072411_XenCenterMain_2016-08-12_13-14-25.png

            Obviously I'll need to change the syslog file to make sure those are only sent off host.

            But why aren't they appearing in Elk/Kibana...

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              Everything here seems happy.

              0_1471022151987_chrome_2016-08-12_13-15-37.png

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403
                last edited by

                I still don't know why the logging isn't showing up in Kibana. . .

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said in SysLog Forwarding for XenServer:

                  I still don't know why the logging isn't showing up in Kibana. . .

                  What do the local logs say? On both ends. There should be Logstash logs saying what has happened.

                  DustinB3403D 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @scottalanmiller
                    last edited by

                    @scottalanmiller said in SysLog Forwarding for XenServer:

                    @DustinB3403 said in SysLog Forwarding for XenServer:

                    I still don't know why the logging isn't showing up in Kibana. . .

                    What do the local logs say? On both ends. There should be Logstash logs saying what has happened.

                    I'm still new to syslog, so what should I be looking at to answer this question?

                    1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates
                      last edited by stacksofplates

                      You could just use Graylog. It uses rsyslog instead of file-beat (which doesn't work with journalctl anyway).

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        Since I'm having a hell of time getting this going, I setup a KiwI Syslog on a VM from one of my host, and it just works.

                        Just enabling the logging to the IP address, and let it go.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @DustinB3403
                          last edited by

                          @DustinB3403 said in SysLog Forwarding for XenServer:

                          Since I'm having a hell of time getting this going, I setup a KiwI Syslog on a VM from one of my host, and it just works.

                          Just enabling the logging to the IP address, and let it go.

                          Instead of posting the logs to diagnose?

                          DustinB3403D 1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403 @scottalanmiller
                            last edited by

                            @scottalanmiller Again, where do I look for them....

                            BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill @DustinB3403
                              last edited by

                              @DustinB3403 said in SysLog Forwarding for XenServer:

                              @scottalanmiller Again, where do I look for them....

                              Check the logs.

                              (Boy I am glad I am not withing physical reach of you! 😉 )

                              1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403
                                last edited by

                                My point with the Kiwi server is that I must've misconfigured something on the SysLog installation.

                                Since I've made no direct change other than the logging address in the XC settings. (which does update the settings in the server) but it doesn't change the default port etc.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @DustinB3403
                                  last edited by

                                  @DustinB3403 said in SysLog Forwarding for XenServer:

                                  @scottalanmiller Again, where do I look for them....

                                  /var/log/messages same as always

                                  DustinB3403D 1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403 @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in SysLog Forwarding for XenServer:

                                    @DustinB3403 said in SysLog Forwarding for XenServer:

                                    @scottalanmiller Again, where do I look for them....

                                    /var/log/messages same as always

                                    ... and what would be a decent way to view this as it breezes by at 100 lines a second?

                                    Is there a specific event you're looking for?

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @DustinB3403
                                      last edited by

                                      @DustinB3403 said in SysLog Forwarding for XenServer:

                                      @scottalanmiller said in SysLog Forwarding for XenServer:

                                      @DustinB3403 said in SysLog Forwarding for XenServer:

                                      @scottalanmiller Again, where do I look for them....

                                      /var/log/messages same as always

                                      ... and what would be a decent way to view this as it breezes by at 100 lines a second?

                                      Is there a specific event you're looking for?

                                      It only breezes by if you tail it. Try just looking at it statically.

                                      What is generating so many messages?

                                      1 Reply Last reply Reply Quote 1
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Looking for errors from the forwarder.

                                        1 Reply Last reply Reply Quote 1
                                        • dafyreD
                                          dafyre
                                          last edited by

                                          Have you tried? If you're seeing logs coming in from XenServer, then you should be on the right track.

                                          tail -f|grep nameofsourceserver
                                          
                                          1 Reply Last reply Reply Quote 1
                                          • DustinB3403D
                                            DustinB3403
                                            last edited by

                                            So this is what I have currently with the Kibana system running.

                                            0_1471347264505_putty_2016-08-16_07-34-00.png

                                            @dafyre tail -f|grep servername results in "tail: warning: following standard input indefinitely is ineffective"

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 6 / 6
                                            • First post
                                              Last post