Unconfigured Ad Widget

Collapse

Analyzing Bind logs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigmike82
    Bit Pusher
    CGN Contributor
    • Jan 2008
    • 3876

    Analyzing Bind logs

    I just brought a pair of name servers online with an additional one in the works. I'm looking for something to analyze the logs with...huge plus if it runs on a standard LAMP stack.

    My current plan of attack is to rsync the query and security logs to a report server, import said data into mysql, and code up a frontend for some basic graphs, info and eventually searching. I've got the export and import stuff working already, but if I don't have to code anything for the frontend, I'll be way happier. I've seen dnsgraph, but it looks like that uses the built-in stats mechanism which is...limited....not granular enough.

    Any ideas?
    -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
  • #2
    jon1320
    Junior Member
    • Nov 2012
    • 11

    check out rsyslog + log analyzer. you can incorp all your software with the syslog facilities and let rsyslog handle the rest.

    You can UDP or TCP send the logs to one rsyslog server, they have tons of docs on their site.

    Also - check out logstash, elastic search. lots of good youtube vids

    Comment

    • #3
      bigmike82
      Bit Pusher
      CGN Contributor
      • Jan 2008
      • 3876

      *nod* That, however, doesn't present bind-specifc logs in an easy to understand picture for management. I've done syslog aggregration with a Splunk frontend before...it's just that final visual piece that I need.
      -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

      Comment

      • #4
        spacepope
        Junior Member
        • Aug 2012
        • 22

        Look into rrdtool. You will have to play with it but you can send it parsed log data and have it generate pretty graphs.

        Cacti is another option. It runs off of rrdtool but provides a nice layer in between and a nice interface for setting it up.

        Edit: both should run on LAMP. I believe rrdtool is php. Could be perl but I'm fairly sure it's php

        Sent from my Galaxy Nexus using Tapatalk 2

        Comment

        • #5
          ocabj
          Calguns Addict
          • Oct 2005
          • 7924

          Just out of curiosity, what type of metrics are you trying to extrapolate from the bind logs?

          Distinguished Rifleman #1924
          NRA Certified Instructor (Rifle and Metallic Cartridge Reloading) and RSO
          NRL22 Match Director at WEGC

          https://www.ocabj.net

          Comment

          • #6
            sfwdiy
            Senior Member
            • Feb 2008
            • 2146

            Originally posted by spacepope
            Look into rrdtool. You will have to play with it but you can send it parsed log data and have it generate pretty graphs.

            Cacti is another option. It runs off of rrdtool but provides a nice layer in between and a nice interface for setting it up.

            Edit: both should run on LAMP. I believe rrdtool is php. Could be perl but I'm fairly sure it's php

            Sent from my Galaxy Nexus using Tapatalk 2
            Cacti is a php tool, so I'm guessing that rrdtool is as well.



            What kind of data are you looking to pull and graph, exactly?

            --B
            Need data recovery? CLICK HERE for a discount on your next recovery from DriveSavers!

            Comment

            • #7
              rjpsb1
              Member
              • Dec 2009
              • 446

              graylog2
              sigpic

              Comment

              • #8
                nothinghere2c
                Senior Member
                • Mar 2012
                • 2259

                Splunk if you know how to use it imo. you can have the agent ship over the logs to your indexer and search head and analyze i think 500mb of logs per day on the free version

                Comment

                • #9
                  bigmike82
                  Bit Pusher
                  CGN Contributor
                  • Jan 2008
                  • 3876

                  *nod* Unfortunately, none of these are bind specifics, and none are able to generate pretty graphs for me for DNS-specific stuff without an extensive effort.

                  I ended up exporting the logs to mysql and coding my own analyzer. No pretty graphs yet, but I've got some good stats.
                  -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

                  Comment

                  • #10
                    Eldraque
                    Senior Member
                    • Aug 2012
                    • 1984

                    I have no idea whats going on in this thread

                    Comment

                    • #11
                      bigmike82
                      Bit Pusher
                      CGN Contributor
                      • Jan 2008
                      • 3876

                      Heh.

                      Bind is program to serves up DNS queries (basically...an address book for websites, which run are found by a string of numbers (and, unfortunately, soon a much, much longer string of numbers and letters)) rather than a friendly name. So when you type in www.calguns.net into your browser, your computer doesn't go to a machine with the address of calguns.net. It goes to a machine with the address of 216.218.212.241.

                      DNS (and Bind) takes care of that translation.

                      What I was looking for is a way to monitor the DNS server I set up and manage for my employer.
                      -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

                      Comment

                      • #12
                        nothinghere2c
                        Senior Member
                        • Mar 2012
                        • 2259

                        yeah, it does take some tweaking to get it to read the bind logs the way you want with graphs. i'm just getting into splunk with rex and such its pretty interesting. in case you feel like checking out the splunk bind app heres some info on it...

                        Comment

                        Working...
                        UA-8071174-1