SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
Using NoSQL databases to
store RADIUS and Syslog
     data, part 1: Idea
       Karri Huhtanen
         18.9.2012
Some background
•   currently RADIUS accounting data is stored usually
    in SQL databases with fixed database schema

•   for Syslog messages an SQL database can be used,
    but commercial log analyzers (like Splunk) usually
    use their own solutions which may or may not be
    SQL databases

•   Started thinking if NoSQL database could be
    applied to both or one of these?
RADIUS accounting message
             Wed	
  Aug	
  	
  8	
  13:49:33	
  2012
             	
  	
  	
  	
  	
  	
  	
  	
  User-­‐Name	
  =	
  "jotain@realm"
             	
  	
  	
  	
  	
  	
  	
  	
  NAS-­‐Port	
  =	
  8                                            One message
             	
  	
  	
  	
  	
  	
  	
  	
  NAS-­‐IP-­‐Address	
  =	
  192.168.229.131                      contains
             	
  	
  	
  	
  	
  	
  	
  	
  Framed-­‐IP-­‐Address	
  =	
  192.168.163.226                   undetermined
             	
  	
  	
  	
  	
  	
  	
  	
  NAS-­‐Identifier	
  =	
  "Cisco_66:77:88"
             	
  	
  	
  	
  	
  	
  	
  	
  Airespace-­‐WLAN-­‐Id	
  =	
  4                                 number of
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Session-­‐Id	
  =	
  "50223ea9/00:11:22:33:44:55/2292"   attributes.
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Authentic	
  =	
  Remote
             	
  	
  	
  	
  	
  	
  	
  	
  Tunnel-­‐Type	
  =	
  0:VLAN
interpreted	
  	
  	
  	
  	
  	
  	
  	
  Tunnel-­‐Medium-­‐Type	
  =	
  0:802                              Some can be
attributes, 	
  	
  	
  	
  	
  	
  	
  	
  Tunnel-­‐Private-­‐Group-­‐ID	
  =	
  0:222                      interpreted, some
the unknown  	
  	
  	
  	
  	
  	
  	
  	
  Event-­‐Timestamp	
  =	
  1344422780                            stay unknown.
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Status-­‐Type	
  =	
  Alive
attributes are
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Input-­‐Octets	
  =	
  1262012
usually left in
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Input-­‐Gigawords	
  =	
  0                              Because there can
OID:FieldDataTyp
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Output-­‐Octets	
  =	
  13518133                         be a changing
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Output-­‐Gigawords	
  =	
  0
e binary format
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Input-­‐Packets	
  =	
  11692                            number of
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Output-­‐Packets	
  =	
  11154                           changing type of
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Session-­‐Time	
  =	
  1235                              attributes I began
             	
  	
  	
  	
  	
  	
  	
  	
  Acct-­‐Delay-­‐Time	
  =	
  19
             	
  	
  	
  	
  	
  	
  	
  	
  Calling-­‐Station-­‐Id	
  =	
  "00:11:22:33:44:55"              to wonder if
             	
  	
  	
  	
  	
  	
  	
  	
  Called-­‐Station-­‐Id	
  =	
  "f4:7f:35:5e:bf:b0"               NoSQL could be
             	
  	
  	
  	
  	
  	
  	
  	
  cisco-­‐avpair	
  =	
  "nas-­‐update=true"                      used for storing
             	
  	
  	
  	
  	
  	
  	
  	
  Digest-­‐Response	
  =	
  "P"C<188>"
             	
  	
  	
  	
  	
  	
  	
  	
  Digest-­‐Response	
  =	
  "P"C<194>"                            these?
             	
  	
  	
  	
  	
  	
  	
  	
  Timestamp	
  =	
  1344422954
Syslog message
  Until researching    The	
  syslog	
  message	
  has	
  the	
  following	
  ABNF	
  [RFC5234]	
  definition:

 into this I thought   	
  	
  	
  	
  	
  	
  SYSLOG-­‐MSG	
  	
  	
  	
  	
  	
  =	
  HEADER	
  SP	
  STRUCTURED-­‐DATA	
  [SP	
  MSG]

Syslog messages had    	
  	
  	
  	
  	
  	
  HEADER	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  PRI	
  VERSION	
  SP	
  TIMESTAMP	
  SP	
  HOSTNAME
                       	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  SP	
  APP-­‐NAME	
  SP	
  PROCID	
  SP	
  MSGID
 fixed structure and    	
  	
  	
  	
  	
  	
  PRI	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  "<"	
  PRIVAL	
  ">"
                       	
  	
  	
  	
  	
  	
  PRIVAL	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  1*3DIGIT	
  ;	
  range	
  0	
  ..	
  191
   could be then       	
  	
  	
  	
  	
  	
  VERSION	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  NONZERO-­‐DIGIT	
  0*2DIGIT
                       	
  	
  	
  	
  	
  	
  HOSTNAME	
  	
  	
  	
  	
  	
  	
  	
  =	
  NILVALUE	
  /	
  1*255PRINTUSASCII
 handled with fixed
                       	
  	
  	
  	
  	
  	
  APP-­‐NAME	
  	
  	
  	
  	
  	
  	
  	
  =	
  NILVALUE	
  /	
  1*48PRINTUSASCII
  database schema.     	
  	
  	
  	
  	
  	
  PROCID	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  NILVALUE	
  /	
  1*128PRINTUSASCII
                       	
  	
  	
  	
  	
  	
  MSGID	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  NILVALUE	
  /	
  1*32PRINTUSASCII

                       	
  	
  	
  	
  	
  	
  TIMESTAMP	
  	
  	
  	
  	
  	
  	
  =	
  NILVALUE	
  /	
  FULL-­‐DATE	
  "T"	
  FULL-­‐TIME
  Then I read the      	
  	
  	
  	
  	
  	
  FULL-­‐DATE	
  	
  	
  	
  	
  	
  	
  =	
  DATE-­‐FULLYEAR	
  "-­‐"	
  DATE-­‐MONTH	
  "-­‐"	
  DATE-­‐MDAY
                       	
  	
  	
  	
  	
  	
  DATE-­‐FULLYEAR	
  	
  	
  =	
  4DIGIT
 RFC5424: http://      	
  	
  	
  	
  	
  	
  DATE-­‐MONTH	
  	
  	
  	
  	
  	
  =	
  2DIGIT	
  	
  ;	
  01-­‐12
                       	
  	
  	
  	
  	
  	
  DATE-­‐MDAY	
  	
  	
  	
  	
  	
  	
  =	
  2DIGIT	
  	
  ;	
  01-­‐28,	
  01-­‐29,	
  01-­‐30,	
  01-­‐31	
  based	
  on
tools.ietf.org/html/   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  ;	
  month/year
                       	
  	
  	
  	
  	
  	
  FULL-­‐TIME	
  	
  	
  	
  	
  	
  	
  =	
  PARTIAL-­‐TIME	
  TIME-­‐OFFSET
      rfc5424          	
  	
  	
  	
  	
  	
  PARTIAL-­‐TIME	
  	
  	
  	
  =	
  TIME-­‐HOUR	
  ":"	
  TIME-­‐MINUTE	
  ":"	
  TIME-­‐SECOND
                       	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  [TIME-­‐SECFRAC]
                       	
  	
  	
  	
  	
  	
  TIME-­‐HOUR	
  	
  	
  	
  	
  	
  	
  =	
  2DIGIT	
  	
  ;	
  00-­‐23
                       	
  	
  	
  	
  	
  	
  TIME-­‐MINUTE	
  	
  	
  	
  	
  =	
  2DIGIT	
  	
  ;	
  00-­‐59
                       	
  	
  	
  	
  	
  	
  TIME-­‐SECOND	
  	
  	
  	
  	
  =	
  2DIGIT	
  	
  ;	
  00-­‐59
                       	
  	
  	
  	
  	
  	
  TIME-­‐SECFRAC	
  	
  	
  	
  =	
  "."	
  1*6DIGIT
                       	
  	
  	
  	
  	
  	
  TIME-­‐OFFSET	
  	
  	
  	
  	
  =	
  "Z"	
  /	
  TIME-­‐NUMOFFSET
                       	
  	
  	
  	
  	
  	
  TIME-­‐NUMOFFSET	
  	
  =	
  ("+"	
  /	
  "-­‐")	
  TIME-­‐HOUR	
  ":"	
  TIME-­‐MINUTE                                                                          Here we have once
                       	
  	
  	
  	
  	
  	
  STRUCTURED-­‐DATA	
  =	
  NILVALUE	
  /	
  1*SD-­‐ELEMENT
                                                                                                                                                                                                                 again parameters,
                       	
  	
  	
  	
  	
  	
  SD-­‐ELEMENT	
  	
  	
  	
  	
  	
  =	
  "["	
  SD-­‐ID	
  *(SP	
  SD-­‐PARAM)	
  "]"
                       	
  	
  	
  	
  	
  	
  SD-­‐PARAM	
  	
  	
  	
  	
  	
  	
  	
  =	
  PARAM-­‐NAME	
  "="	
  %d34	
  PARAM-­‐VALUE	
  %d34
                                                                                                                                                                                                                 although they are
                       	
  	
  	
  	
  	
  	
  SD-­‐ID	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  SD-­‐NAME
                       	
  	
  	
  	
  	
  	
  PARAM-­‐NAME	
  	
  	
  	
  	
  	
  =	
  SD-­‐NAME
                                                                                                                                                                                                                within one defined
                       	
  	
  	
  	
  	
  	
  PARAM-­‐VALUE	
  	
  	
  	
  	
  =	
  UTF-­‐8-­‐STRING	
  ;	
  characters	
  '"',	
  ''	
  and
                       	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  ;	
  ']'	
  MUST	
  be	
  escaped.
                                                                                                                                                                                                                  STRUCTURED-
                       	
  	
  	
  	
  	
  	
  SD-­‐NAME	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  1*32PRINTUSASCII
                       	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  ;	
  except	
  '=',	
  SP,	
  ']',	
  %d34	
  (")
                                                                                                                                                                                                                    DATA field.
                       	
  	
  	
  	
  	
  	
  MSG	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  MSG-­‐ANY	
  /	
  MSG-­‐UTF8
                       	
  	
  	
  	
  	
  	
  MSG-­‐ANY	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  *OCTET	
  ;	
  not	
  starting	
  with	
  BOM
                       	
  	
  	
  	
  	
  	
  MSG-­‐UTF8	
  	
  	
  	
  	
  	
  	
  	
  =	
  BOM	
  UTF-­‐8-­‐STRING
                                                                                                                                                                                                                So could NoSQL be
                       	
  	
  	
  	
  	
  	
  BOM	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  =	
  %xEF.BB.BF                                                                                           used also for Syslog?
So what happens next?
•   Selection of NoSQL database:

    •   Likely Column Family Store if no one can suggest a
        better one?

    •   Something easy to setup and use, will concentrate into
        getting RADIUS server and/or Syslogd transferring
        data to database.

•   Setting up a WiFi access point and/or controller to
    provide real RADIUS and Syslog data

•   Storing data, retrieving data, searching data, deleting data
    to see what works

•   Writing and presenting Part II: “Implementation and
    Results” of these slides
Results (hopefully)
•   Is storing RADIUS accounting and Syslog messages into
    NoSQL database: a brilliant idea, brilliantly stupid idea or
    something else?

•   How hard can it be? What does it require to do this, is it
    possible and how?

•   Does it actually work? What can you do with data? Is
    there some indication of performance improvements or
    problems?

•   Will not do complete performance measurements
    though, designing and setting up reliable measurement
    environment will probably take too much time.
Using NoSQL databases to
store RADIUS and Syslog data,
  part 1I: The Saga Continues

        Karri Huhtanen
          27.11.2012
Happened earlier
•   currently RADIUS accounting data is stored usually
    in SQL databases with fixed database schema

•   for Syslog messages an SQL database can be used,
    but commercial log analyzers (like Splunk) usually
    use their own solutions which may or may not be
    SQL databases

•   Started thinking if NoSQL database could be
    applied to both or one of these?
Results (luckily)
•   Is storing RADIUS accounting and Syslog messages into
    NoSQL database: a brilliant idea, brilliantly stupid idea or
    something else? a good idea

•   How hard can it be? What does it require to do this, is it
    possible and how? easy, 1 night before
                       presentation required
•   Does it actually work? What can you do with data? Is
    there some indication of performance improvements or
    problems? Yes. Store and Process. Unknown.
                 Some issues to be considered.
•   Will not do complete performance measurements
    though, designing and setting up reliable measurement
    environment will probably take too much time.
                     Coded one Python script.
So what happened?
•   Selection of NoSQL database:

    •   Likely Column Family Store if no one can suggest a

                  MongoDB
        better one?

    •   Something easy to setup and use, will concentrate into
        getting RADIUS server and/or Syslogd transferring
        data to database.

•   Setting up a WiFi access point and/or controller to
    provide real RADIUS and Syslog data

•   Storing data, retrieving data, searching data, deleting data
    to see what works Done, but not thoroughly

•   Writing and presenting Part II: “Implementation and
    Results” of these slides Done
That was the executive
 summary. Thank you.
Now some more
detailed information
and even some code.
storing RADIUS accounting and Syslog
           messages into NoSQL database

•   It is a good idea because:
    •   When we have massive amount of log or accounting data, we need massive
        database clusters.

    •   Data is mainly stored, read, analyzed and occasionally deleted. Data will not be
        updated or changed and is relatively simple (few tables with a lot of columns).

    •   NoSQL may provide better way to scale this horizontally by distribution and
        sharding.

    •   It is already being done. Several log analyzers, stores already use NoSQL
        databases as backends. There exists projects such as Greylog2 etc. which
        provide complete solutions from log storage, visualization, analysis etc.

    •   Logs and accounting data are actually use cases for some NoSQL databases, for
        example: http://docs.mongodb.org/manual/use-cases/storing-log-data/
storing RADIUS accounting and Syslog
           messages into NoSQL database

•   It is not a brilliant idea because:
    •   If we look what we need to do to optimize the performance it starts to look
        like a lot like designing and optimizing a SQL database: http://docs.mongodb.org/
        manual/use-cases/storing-log-data/

    •   You cannot forget datatypes or database design even with NoSQL databases
        especially when going into production.

    •   Prototypes may be faster and easier for developers, but creating a design and
        configuration which survices production use may be as hard as it has ever been.
        The difference is that instead of SQL database expert, you know need a NoSQL
        expert.

•   ... but it is not a brilliantly stupid idea either, it is an idea
    worth considering depending of the project.
How hard can it be?
•   With Ubuntu Linux Server 12.04 LTS:

    •   sudo apt-get install python-pymongo mongodb syslog-ng
        syslog-ng-mod-mongodb

    •   for Syslog-NG, just some configuration

    •   for Radiator, some configuration and coding an external
        Python script to handle accounting messages

•   But this is far from production use, it is more like proto or
    proof of concept implementation done in 1 work day.
Demo
Syslog-ng
              # /etc/syslog-ng/syslog-ng.conf

              # mongodb log destination
              destination karrin_net_mongodb {
                      mongodb();
              };

              # ...

              log {
                         source(s_src);
                         source(s_net);
                         destination(karrin_net_mongodb);
              };

              # that’s it

https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-
          ng-ose-v3.3-guide-admin-en.html/reference_destination_mongodb.html
Radiator RADIUS server
# /etc/radiator/radiator.cfg
#
# send all RADIUS accounting requests to external script
#
<Handler Request-Type = Accounting-Request>
         <AuthBy EXTERNAL>
                 Command %D/acct2mongo.py
         </AuthBy>
         AcctLogFileName %L/acct-acct2mongodb-%Y-%M.log
</Handler>
#!/usr/bin/env python
from pymongo import Connection
import datetime
                                                              acct2mongo.py
import sys

def main():

        line = str()
        post = dict()

        # opening connection
        connection = Connection( 'localhost', 27017)
        # database 'radius'
        db = connection['radius']
        # collection 'accounting'
        collection = db['accounting']

        post['acct2mongotimestamp'] = datetime.datetime.utcnow()

        for line in sys.stdin.readlines():
                pieces = line.split(' = ', 1)
                if len(pieces) == 2:
                        post[pieces[0].strip().strip('"')]=pieces[1].strip().strip('"')

        collection.insert(post)

        connection.end_request()
        connection.disconnect()

        # 0 Means reply with an acceptance. For Access-Requests,
        # an Access-Accept will be sent. For Accounting-Requests,
        # an Accounting-Response will be sent.
        return 0

if __name__ == '__main__':
        main()
Does it actually work? What
       can you do with data?
•   Yes it does actually work, but once again it does not solve or be
    applicable to everything.

•   One can store, read, search and delete data supposedly very
    efficiently, but anything more complicated is harder and must be
    implemented by developer.

•   For example: MongoDB does not have a reliable decimal datatype. It
    is better to keep numbers as a string and convert them when
    processing data.

•   Repeating earlier statement: “You cannot forget datatypes or
    database design even with NoSQL databases especially when going
    into production.”
Performance?
•   Would need to be measured and verified and with
    real production environment or solution.
•   Would also need to be compared with well
    designed and optimised SQL database, maybe even
    one functioning as NoSQL one.
•   In the implementation this was not tested as the
    datasets were very small compared to real datasets.
Conclusions
•   NoSQL should be at least considered as an option
    when designing and implementing large scale Syslog or
    Radius Accounting storages.

•   For development it is flexible.

•   For production use NoSQL solution still needs design,
    careful planning and testing to verify if the
    performance, reliability and security is enough. Probably
    as much as SQL database design.

•   Key issue will probably be can the SQL database handle
    the data or is horizontal scaling required.

Weitere ähnliche Inhalte

Was ist angesagt?

NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)krishnapriya R
 
Node-RED and Minecraft - CamJam September 2015
Node-RED and Minecraft - CamJam September 2015Node-RED and Minecraft - CamJam September 2015
Node-RED and Minecraft - CamJam September 2015Boris Adryan
 
Taylor's & Maclaurin's series simple
Taylor's & Maclaurin's series simpleTaylor's & Maclaurin's series simple
Taylor's & Maclaurin's series simpleNikhilkumar Patel
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration8laddu8
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxNadeem Uddin
 
Differential Equations
Differential EquationsDifferential Equations
Differential EquationsKrupaSuthar3
 
Combined topic 4
Combined topic 4Combined topic 4
Combined topic 4David Ramos
 
lagrange interpolation
lagrange interpolationlagrange interpolation
lagrange interpolationayush raj
 
vector space and subspace
vector space and subspacevector space and subspace
vector space and subspace2461998
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IV
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IVEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-IV
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IVRai University
 
Class 4 Cbse Maths Sample Paper Term 2 Model 3
Class 4 Cbse Maths Sample Paper Term 2 Model 3Class 4 Cbse Maths Sample Paper Term 2 Model 3
Class 4 Cbse Maths Sample Paper Term 2 Model 3Sunaina Rawat
 

Was ist angesagt? (20)

NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
Node-RED and Minecraft - CamJam September 2015
Node-RED and Minecraft - CamJam September 2015Node-RED and Minecraft - CamJam September 2015
Node-RED and Minecraft - CamJam September 2015
 
Taylor's & Maclaurin's series simple
Taylor's & Maclaurin's series simpleTaylor's & Maclaurin's series simple
Taylor's & Maclaurin's series simple
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
 
Romberg’s method
Romberg’s methodRomberg’s method
Romberg’s method
 
Differential Equations
Differential EquationsDifferential Equations
Differential Equations
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Bender schmidt method
Bender schmidt methodBender schmidt method
Bender schmidt method
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Gauss sediel
Gauss sedielGauss sediel
Gauss sediel
 
Combined topic 4
Combined topic 4Combined topic 4
Combined topic 4
 
lagrange interpolation
lagrange interpolationlagrange interpolation
lagrange interpolation
 
Unidad 2_C42_1.docx
Unidad 2_C42_1.docxUnidad 2_C42_1.docx
Unidad 2_C42_1.docx
 
Chapter10
Chapter10Chapter10
Chapter10
 
vector space and subspace
vector space and subspacevector space and subspace
vector space and subspace
 
Numerical methods
Numerical methodsNumerical methods
Numerical methods
 
Expresiones Algebraicas
  Expresiones Algebraicas  Expresiones Algebraicas
Expresiones Algebraicas
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IV
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IVEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-IV
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IV
 
Class 4 Cbse Maths Sample Paper Term 2 Model 3
Class 4 Cbse Maths Sample Paper Term 2 Model 3Class 4 Cbse Maths Sample Paper Term 2 Model 3
Class 4 Cbse Maths Sample Paper Term 2 Model 3
 

Andere mochten auch

Instant Single Sign-On and Two-Factor Authentication
Instant Single Sign-On and Two-Factor AuthenticationInstant Single Sign-On and Two-Factor Authentication
Instant Single Sign-On and Two-Factor AuthenticationMaarten Ectors
 
FreeSWITCH Monitoring
FreeSWITCH MonitoringFreeSWITCH Monitoring
FreeSWITCH MonitoringMoises Silva
 
Scaling FreeSWITCH Performance
Scaling FreeSWITCH PerformanceScaling FreeSWITCH Performance
Scaling FreeSWITCH PerformanceMoises Silva
 
2600Hz - Billing Data with Kazoo
2600Hz - Billing Data with Kazoo2600Hz - Billing Data with Kazoo
2600Hz - Billing Data with Kazoo2600Hz
 

Andere mochten auch (7)

Look Mom nosql
Look Mom nosqlLook Mom nosql
Look Mom nosql
 
Instant Single Sign-On and Two-Factor Authentication
Instant Single Sign-On and Two-Factor AuthenticationInstant Single Sign-On and Two-Factor Authentication
Instant Single Sign-On and Two-Factor Authentication
 
Deep Dive In To Kerberos
Deep Dive In To KerberosDeep Dive In To Kerberos
Deep Dive In To Kerberos
 
FreeSWITCH Monitoring
FreeSWITCH MonitoringFreeSWITCH Monitoring
FreeSWITCH Monitoring
 
Scaling FreeSWITCH Performance
Scaling FreeSWITCH PerformanceScaling FreeSWITCH Performance
Scaling FreeSWITCH Performance
 
SSO with kerberos
SSO with kerberosSSO with kerberos
SSO with kerberos
 
2600Hz - Billing Data with Kazoo
2600Hz - Billing Data with Kazoo2600Hz - Billing Data with Kazoo
2600Hz - Billing Data with Kazoo
 

Ähnlich wie Using NoSQL databases to store RADIUS and Syslog data

LLVM Backend の紹介
LLVM Backend の紹介LLVM Backend の紹介
LLVM Backend の紹介Akira Maruoka
 
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...CloudxLab
 
Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...
Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...
Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...DataStax
 
Using Spark to Load Oracle Data into Cassandra
Using Spark to Load Oracle Data into CassandraUsing Spark to Load Oracle Data into Cassandra
Using Spark to Load Oracle Data into CassandraJim Hatcher
 
Oracle sharding : Installation & Configuration
Oracle sharding : Installation & ConfigurationOracle sharding : Installation & Configuration
Oracle sharding : Installation & Configurationsuresh gandhi
 
Sysdig
SysdigSysdig
Sysdiggnosek
 
Smolder @Silex
Smolder @SilexSmolder @Silex
Smolder @SilexJeen Lee
 
Introduction to cloudforecast
Introduction to cloudforecastIntroduction to cloudforecast
Introduction to cloudforecastMasahiro Nagano
 
Introduction to CUDA
Introduction to CUDAIntroduction to CUDA
Introduction to CUDARaymond Tay
 
Pontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11gPontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11gLeandro Santos
 
Unlocking Your Hadoop Data with Apache Spark and CDH5
Unlocking Your Hadoop Data with Apache Spark and CDH5Unlocking Your Hadoop Data with Apache Spark and CDH5
Unlocking Your Hadoop Data with Apache Spark and CDH5SAP Concur
 
Write a C program that reads the words the user types at the command.pdf
Write a C program that reads the words the user types at the command.pdfWrite a C program that reads the words the user types at the command.pdf
Write a C program that reads the words the user types at the command.pdfSANDEEPARIHANT
 
Xdp and ebpf_maps
Xdp and ebpf_mapsXdp and ebpf_maps
Xdp and ebpf_mapslcplcp1
 

Ähnlich wie Using NoSQL databases to store RADIUS and Syslog data (20)

LLVM Backend の紹介
LLVM Backend の紹介LLVM Backend の紹介
LLVM Backend の紹介
 
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
 
Computer networkppt4577
Computer networkppt4577Computer networkppt4577
Computer networkppt4577
 
Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...
Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...
Using Spark to Load Oracle Data into Cassandra (Jim Hatcher, IHS Markit) | C*...
 
Using Spark to Load Oracle Data into Cassandra
Using Spark to Load Oracle Data into CassandraUsing Spark to Load Oracle Data into Cassandra
Using Spark to Load Oracle Data into Cassandra
 
Redis for your boss
Redis for your bossRedis for your boss
Redis for your boss
 
A22 Introduction to DTrace by Kyle Hailey
A22 Introduction to DTrace by Kyle HaileyA22 Introduction to DTrace by Kyle Hailey
A22 Introduction to DTrace by Kyle Hailey
 
Osol Pgsql
Osol PgsqlOsol Pgsql
Osol Pgsql
 
Mongodb workshop
Mongodb workshopMongodb workshop
Mongodb workshop
 
Oracle sharding : Installation & Configuration
Oracle sharding : Installation & ConfigurationOracle sharding : Installation & Configuration
Oracle sharding : Installation & Configuration
 
Sysdig
SysdigSysdig
Sysdig
 
Smolder @Silex
Smolder @SilexSmolder @Silex
Smolder @Silex
 
Introduction to cloudforecast
Introduction to cloudforecastIntroduction to cloudforecast
Introduction to cloudforecast
 
Introduction to CUDA
Introduction to CUDAIntroduction to CUDA
Introduction to CUDA
 
Pontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11gPontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11g
 
Unlocking Your Hadoop Data with Apache Spark and CDH5
Unlocking Your Hadoop Data with Apache Spark and CDH5Unlocking Your Hadoop Data with Apache Spark and CDH5
Unlocking Your Hadoop Data with Apache Spark and CDH5
 
Npc14
Npc14Npc14
Npc14
 
Write a C program that reads the words the user types at the command.pdf
Write a C program that reads the words the user types at the command.pdfWrite a C program that reads the words the user types at the command.pdf
Write a C program that reads the words the user types at the command.pdf
 
About Data::ObjectDriver
About Data::ObjectDriverAbout Data::ObjectDriver
About Data::ObjectDriver
 
Xdp and ebpf_maps
Xdp and ebpf_mapsXdp and ebpf_maps
Xdp and ebpf_maps
 

Mehr von Karri Huhtanen

Disobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and Privacy
Disobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and PrivacyDisobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and Privacy
Disobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and PrivacyKarri Huhtanen
 
Wi-Fi Roaming Security and Privacy
Wi-Fi Roaming Security and PrivacyWi-Fi Roaming Security and Privacy
Wi-Fi Roaming Security and PrivacyKarri Huhtanen
 
OpenRoaming and CapPort
OpenRoaming and CapPortOpenRoaming and CapPort
OpenRoaming and CapPortKarri Huhtanen
 
Suomen eduroam-juuripalvelun uudistukset
Suomen eduroam-juuripalvelun uudistuksetSuomen eduroam-juuripalvelun uudistukset
Suomen eduroam-juuripalvelun uudistuksetKarri Huhtanen
 
Adding OpenRoaming to existing IdP and roaming federation service
Adding OpenRoaming to existing IdP and roaming federation serviceAdding OpenRoaming to existing IdP and roaming federation service
Adding OpenRoaming to existing IdP and roaming federation serviceKarri Huhtanen
 
OpenRoaming -- Wi-Fi Roaming for All
OpenRoaming -- Wi-Fi Roaming for AllOpenRoaming -- Wi-Fi Roaming for All
OpenRoaming -- Wi-Fi Roaming for AllKarri Huhtanen
 
Beyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoaming
Beyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoamingBeyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoaming
Beyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoamingKarri Huhtanen
 
Routing host certificates in eduroam/govroam
Routing host certificates in eduroam/govroamRouting host certificates in eduroam/govroam
Routing host certificates in eduroam/govroamKarri Huhtanen
 
Cooperative labs, testbeds and networks
Cooperative labs, testbeds and networksCooperative labs, testbeds and networks
Cooperative labs, testbeds and networksKarri Huhtanen
 
Privacy and traceability in Wi-Fi networks
Privacy and traceability in Wi-Fi networksPrivacy and traceability in Wi-Fi networks
Privacy and traceability in Wi-Fi networksKarri Huhtanen
 
EAP-TLS (extended version)
EAP-TLS (extended version)EAP-TLS (extended version)
EAP-TLS (extended version)Karri Huhtanen
 
Security issues in RADIUS based Wi-Fi AAA
Security issues in RADIUS based Wi-Fi AAASecurity issues in RADIUS based Wi-Fi AAA
Security issues in RADIUS based Wi-Fi AAAKarri Huhtanen
 
What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?Karri Huhtanen
 
What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?Karri Huhtanen
 
Building secure, privacy aware, quality Wi-Fi coverage via cooperation
Building secure, privacy aware, quality Wi-Fi coverage via cooperationBuilding secure, privacy aware, quality Wi-Fi coverage via cooperation
Building secure, privacy aware, quality Wi-Fi coverage via cooperationKarri Huhtanen
 
Connecting the Dots: Integrating RADIUS to Network Measurement and Monitoring
Connecting the Dots: Integrating RADIUS to Network Measurement and MonitoringConnecting the Dots: Integrating RADIUS to Network Measurement and Monitoring
Connecting the Dots: Integrating RADIUS to Network Measurement and MonitoringKarri Huhtanen
 
Building city and nationwide Wi-Fi coverage via cooperation
Building city and nationwide Wi-Fi coverage via cooperationBuilding city and nationwide Wi-Fi coverage via cooperation
Building city and nationwide Wi-Fi coverage via cooperationKarri Huhtanen
 
eduroam diagnostics in NTLR, IdPs and SPs
eduroam diagnostics in NTLR, IdPs and SPseduroam diagnostics in NTLR, IdPs and SPs
eduroam diagnostics in NTLR, IdPs and SPsKarri Huhtanen
 

Mehr von Karri Huhtanen (20)

Disobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and Privacy
Disobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and PrivacyDisobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and Privacy
Disobey 2024: Karri Huhtanen: Wi-Fi Roaming Security and Privacy
 
Wi-Fi Roaming Security and Privacy
Wi-Fi Roaming Security and PrivacyWi-Fi Roaming Security and Privacy
Wi-Fi Roaming Security and Privacy
 
OpenRoaming and CapPort
OpenRoaming and CapPortOpenRoaming and CapPort
OpenRoaming and CapPort
 
Suomen eduroam-juuripalvelun uudistukset
Suomen eduroam-juuripalvelun uudistuksetSuomen eduroam-juuripalvelun uudistukset
Suomen eduroam-juuripalvelun uudistukset
 
Adding OpenRoaming to existing IdP and roaming federation service
Adding OpenRoaming to existing IdP and roaming federation serviceAdding OpenRoaming to existing IdP and roaming federation service
Adding OpenRoaming to existing IdP and roaming federation service
 
OpenRoaming -- Wi-Fi Roaming for All
OpenRoaming -- Wi-Fi Roaming for AllOpenRoaming -- Wi-Fi Roaming for All
OpenRoaming -- Wi-Fi Roaming for All
 
Beyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoaming
Beyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoamingBeyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoaming
Beyond eduroam: Combining eduroam, (5G) SIM authentication and OpenRoaming
 
Routing host certificates in eduroam/govroam
Routing host certificates in eduroam/govroamRouting host certificates in eduroam/govroam
Routing host certificates in eduroam/govroam
 
Cooperative labs, testbeds and networks
Cooperative labs, testbeds and networksCooperative labs, testbeds and networks
Cooperative labs, testbeds and networks
 
Privacy and traceability in Wi-Fi networks
Privacy and traceability in Wi-Fi networksPrivacy and traceability in Wi-Fi networks
Privacy and traceability in Wi-Fi networks
 
EAP-TLS (extended version)
EAP-TLS (extended version)EAP-TLS (extended version)
EAP-TLS (extended version)
 
EAP-TLS
EAP-TLSEAP-TLS
EAP-TLS
 
Security issues in RADIUS based Wi-Fi AAA
Security issues in RADIUS based Wi-Fi AAASecurity issues in RADIUS based Wi-Fi AAA
Security issues in RADIUS based Wi-Fi AAA
 
TLS and Certificates
TLS and CertificatesTLS and Certificates
TLS and Certificates
 
What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?
 
What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?What is Network Function Virtualisation (NFV)?
What is Network Function Virtualisation (NFV)?
 
Building secure, privacy aware, quality Wi-Fi coverage via cooperation
Building secure, privacy aware, quality Wi-Fi coverage via cooperationBuilding secure, privacy aware, quality Wi-Fi coverage via cooperation
Building secure, privacy aware, quality Wi-Fi coverage via cooperation
 
Connecting the Dots: Integrating RADIUS to Network Measurement and Monitoring
Connecting the Dots: Integrating RADIUS to Network Measurement and MonitoringConnecting the Dots: Integrating RADIUS to Network Measurement and Monitoring
Connecting the Dots: Integrating RADIUS to Network Measurement and Monitoring
 
Building city and nationwide Wi-Fi coverage via cooperation
Building city and nationwide Wi-Fi coverage via cooperationBuilding city and nationwide Wi-Fi coverage via cooperation
Building city and nationwide Wi-Fi coverage via cooperation
 
eduroam diagnostics in NTLR, IdPs and SPs
eduroam diagnostics in NTLR, IdPs and SPseduroam diagnostics in NTLR, IdPs and SPs
eduroam diagnostics in NTLR, IdPs and SPs
 

Kürzlich hochgeladen

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Using NoSQL databases to store RADIUS and Syslog data

  • 1. Using NoSQL databases to store RADIUS and Syslog data, part 1: Idea Karri Huhtanen 18.9.2012
  • 2. Some background • currently RADIUS accounting data is stored usually in SQL databases with fixed database schema • for Syslog messages an SQL database can be used, but commercial log analyzers (like Splunk) usually use their own solutions which may or may not be SQL databases • Started thinking if NoSQL database could be applied to both or one of these?
  • 3. RADIUS accounting message Wed  Aug    8  13:49:33  2012                User-­‐Name  =  "jotain@realm"                NAS-­‐Port  =  8 One message                NAS-­‐IP-­‐Address  =  192.168.229.131 contains                Framed-­‐IP-­‐Address  =  192.168.163.226 undetermined                NAS-­‐Identifier  =  "Cisco_66:77:88"                Airespace-­‐WLAN-­‐Id  =  4 number of                Acct-­‐Session-­‐Id  =  "50223ea9/00:11:22:33:44:55/2292" attributes.                Acct-­‐Authentic  =  Remote                Tunnel-­‐Type  =  0:VLAN interpreted                Tunnel-­‐Medium-­‐Type  =  0:802 Some can be attributes,                Tunnel-­‐Private-­‐Group-­‐ID  =  0:222 interpreted, some the unknown                Event-­‐Timestamp  =  1344422780 stay unknown.                Acct-­‐Status-­‐Type  =  Alive attributes are                Acct-­‐Input-­‐Octets  =  1262012 usually left in                Acct-­‐Input-­‐Gigawords  =  0 Because there can OID:FieldDataTyp                Acct-­‐Output-­‐Octets  =  13518133 be a changing                Acct-­‐Output-­‐Gigawords  =  0 e binary format                Acct-­‐Input-­‐Packets  =  11692 number of                Acct-­‐Output-­‐Packets  =  11154 changing type of                Acct-­‐Session-­‐Time  =  1235 attributes I began                Acct-­‐Delay-­‐Time  =  19                Calling-­‐Station-­‐Id  =  "00:11:22:33:44:55" to wonder if                Called-­‐Station-­‐Id  =  "f4:7f:35:5e:bf:b0" NoSQL could be                cisco-­‐avpair  =  "nas-­‐update=true" used for storing                Digest-­‐Response  =  "P"C<188>"                Digest-­‐Response  =  "P"C<194>" these?                Timestamp  =  1344422954
  • 4. Syslog message Until researching The  syslog  message  has  the  following  ABNF  [RFC5234]  definition: into this I thought            SYSLOG-­‐MSG            =  HEADER  SP  STRUCTURED-­‐DATA  [SP  MSG] Syslog messages had            HEADER                    =  PRI  VERSION  SP  TIMESTAMP  SP  HOSTNAME                                                SP  APP-­‐NAME  SP  PROCID  SP  MSGID fixed structure and            PRI                          =  "<"  PRIVAL  ">"            PRIVAL                    =  1*3DIGIT  ;  range  0  ..  191 could be then            VERSION                  =  NONZERO-­‐DIGIT  0*2DIGIT            HOSTNAME                =  NILVALUE  /  1*255PRINTUSASCII handled with fixed            APP-­‐NAME                =  NILVALUE  /  1*48PRINTUSASCII database schema.            PROCID                    =  NILVALUE  /  1*128PRINTUSASCII            MSGID                      =  NILVALUE  /  1*32PRINTUSASCII            TIMESTAMP              =  NILVALUE  /  FULL-­‐DATE  "T"  FULL-­‐TIME Then I read the            FULL-­‐DATE              =  DATE-­‐FULLYEAR  "-­‐"  DATE-­‐MONTH  "-­‐"  DATE-­‐MDAY            DATE-­‐FULLYEAR      =  4DIGIT RFC5424: http://            DATE-­‐MONTH            =  2DIGIT    ;  01-­‐12            DATE-­‐MDAY              =  2DIGIT    ;  01-­‐28,  01-­‐29,  01-­‐30,  01-­‐31  based  on tools.ietf.org/html/                                                                ;  month/year            FULL-­‐TIME              =  PARTIAL-­‐TIME  TIME-­‐OFFSET rfc5424            PARTIAL-­‐TIME        =  TIME-­‐HOUR  ":"  TIME-­‐MINUTE  ":"  TIME-­‐SECOND                                                [TIME-­‐SECFRAC]            TIME-­‐HOUR              =  2DIGIT    ;  00-­‐23            TIME-­‐MINUTE          =  2DIGIT    ;  00-­‐59            TIME-­‐SECOND          =  2DIGIT    ;  00-­‐59            TIME-­‐SECFRAC        =  "."  1*6DIGIT            TIME-­‐OFFSET          =  "Z"  /  TIME-­‐NUMOFFSET            TIME-­‐NUMOFFSET    =  ("+"  /  "-­‐")  TIME-­‐HOUR  ":"  TIME-­‐MINUTE Here we have once            STRUCTURED-­‐DATA  =  NILVALUE  /  1*SD-­‐ELEMENT again parameters,            SD-­‐ELEMENT            =  "["  SD-­‐ID  *(SP  SD-­‐PARAM)  "]"            SD-­‐PARAM                =  PARAM-­‐NAME  "="  %d34  PARAM-­‐VALUE  %d34 although they are            SD-­‐ID                      =  SD-­‐NAME            PARAM-­‐NAME            =  SD-­‐NAME within one defined            PARAM-­‐VALUE          =  UTF-­‐8-­‐STRING  ;  characters  '"',  ''  and                                                                          ;  ']'  MUST  be  escaped. STRUCTURED-            SD-­‐NAME                  =  1*32PRINTUSASCII                                                ;  except  '=',  SP,  ']',  %d34  (") DATA field.            MSG                          =  MSG-­‐ANY  /  MSG-­‐UTF8            MSG-­‐ANY                  =  *OCTET  ;  not  starting  with  BOM            MSG-­‐UTF8                =  BOM  UTF-­‐8-­‐STRING So could NoSQL be            BOM                          =  %xEF.BB.BF used also for Syslog?
  • 5. So what happens next? • Selection of NoSQL database: • Likely Column Family Store if no one can suggest a better one? • Something easy to setup and use, will concentrate into getting RADIUS server and/or Syslogd transferring data to database. • Setting up a WiFi access point and/or controller to provide real RADIUS and Syslog data • Storing data, retrieving data, searching data, deleting data to see what works • Writing and presenting Part II: “Implementation and Results” of these slides
  • 6. Results (hopefully) • Is storing RADIUS accounting and Syslog messages into NoSQL database: a brilliant idea, brilliantly stupid idea or something else? • How hard can it be? What does it require to do this, is it possible and how? • Does it actually work? What can you do with data? Is there some indication of performance improvements or problems? • Will not do complete performance measurements though, designing and setting up reliable measurement environment will probably take too much time.
  • 7. Using NoSQL databases to store RADIUS and Syslog data, part 1I: The Saga Continues Karri Huhtanen 27.11.2012
  • 8. Happened earlier • currently RADIUS accounting data is stored usually in SQL databases with fixed database schema • for Syslog messages an SQL database can be used, but commercial log analyzers (like Splunk) usually use their own solutions which may or may not be SQL databases • Started thinking if NoSQL database could be applied to both or one of these?
  • 9. Results (luckily) • Is storing RADIUS accounting and Syslog messages into NoSQL database: a brilliant idea, brilliantly stupid idea or something else? a good idea • How hard can it be? What does it require to do this, is it possible and how? easy, 1 night before presentation required • Does it actually work? What can you do with data? Is there some indication of performance improvements or problems? Yes. Store and Process. Unknown. Some issues to be considered. • Will not do complete performance measurements though, designing and setting up reliable measurement environment will probably take too much time. Coded one Python script.
  • 10. So what happened? • Selection of NoSQL database: • Likely Column Family Store if no one can suggest a MongoDB better one? • Something easy to setup and use, will concentrate into getting RADIUS server and/or Syslogd transferring data to database. • Setting up a WiFi access point and/or controller to provide real RADIUS and Syslog data • Storing data, retrieving data, searching data, deleting data to see what works Done, but not thoroughly • Writing and presenting Part II: “Implementation and Results” of these slides Done
  • 11. That was the executive summary. Thank you.
  • 12. Now some more detailed information and even some code.
  • 13. storing RADIUS accounting and Syslog messages into NoSQL database • It is a good idea because: • When we have massive amount of log or accounting data, we need massive database clusters. • Data is mainly stored, read, analyzed and occasionally deleted. Data will not be updated or changed and is relatively simple (few tables with a lot of columns). • NoSQL may provide better way to scale this horizontally by distribution and sharding. • It is already being done. Several log analyzers, stores already use NoSQL databases as backends. There exists projects such as Greylog2 etc. which provide complete solutions from log storage, visualization, analysis etc. • Logs and accounting data are actually use cases for some NoSQL databases, for example: http://docs.mongodb.org/manual/use-cases/storing-log-data/
  • 14. storing RADIUS accounting and Syslog messages into NoSQL database • It is not a brilliant idea because: • If we look what we need to do to optimize the performance it starts to look like a lot like designing and optimizing a SQL database: http://docs.mongodb.org/ manual/use-cases/storing-log-data/ • You cannot forget datatypes or database design even with NoSQL databases especially when going into production. • Prototypes may be faster and easier for developers, but creating a design and configuration which survices production use may be as hard as it has ever been. The difference is that instead of SQL database expert, you know need a NoSQL expert. • ... but it is not a brilliantly stupid idea either, it is an idea worth considering depending of the project.
  • 15. How hard can it be? • With Ubuntu Linux Server 12.04 LTS: • sudo apt-get install python-pymongo mongodb syslog-ng syslog-ng-mod-mongodb • for Syslog-NG, just some configuration • for Radiator, some configuration and coding an external Python script to handle accounting messages • But this is far from production use, it is more like proto or proof of concept implementation done in 1 work day.
  • 16. Demo
  • 17. Syslog-ng # /etc/syslog-ng/syslog-ng.conf # mongodb log destination destination karrin_net_mongodb { mongodb(); }; # ... log { source(s_src); source(s_net); destination(karrin_net_mongodb); }; # that’s it https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog- ng-ose-v3.3-guide-admin-en.html/reference_destination_mongodb.html
  • 18. Radiator RADIUS server # /etc/radiator/radiator.cfg # # send all RADIUS accounting requests to external script # <Handler Request-Type = Accounting-Request> <AuthBy EXTERNAL> Command %D/acct2mongo.py </AuthBy> AcctLogFileName %L/acct-acct2mongodb-%Y-%M.log </Handler>
  • 19. #!/usr/bin/env python from pymongo import Connection import datetime acct2mongo.py import sys def main(): line = str() post = dict() # opening connection connection = Connection( 'localhost', 27017) # database 'radius' db = connection['radius'] # collection 'accounting' collection = db['accounting'] post['acct2mongotimestamp'] = datetime.datetime.utcnow() for line in sys.stdin.readlines(): pieces = line.split(' = ', 1) if len(pieces) == 2: post[pieces[0].strip().strip('"')]=pieces[1].strip().strip('"') collection.insert(post) connection.end_request() connection.disconnect() # 0 Means reply with an acceptance. For Access-Requests, # an Access-Accept will be sent. For Accounting-Requests, # an Accounting-Response will be sent. return 0 if __name__ == '__main__': main()
  • 20. Does it actually work? What can you do with data? • Yes it does actually work, but once again it does not solve or be applicable to everything. • One can store, read, search and delete data supposedly very efficiently, but anything more complicated is harder and must be implemented by developer. • For example: MongoDB does not have a reliable decimal datatype. It is better to keep numbers as a string and convert them when processing data. • Repeating earlier statement: “You cannot forget datatypes or database design even with NoSQL databases especially when going into production.”
  • 21. Performance? • Would need to be measured and verified and with real production environment or solution. • Would also need to be compared with well designed and optimised SQL database, maybe even one functioning as NoSQL one. • In the implementation this was not tested as the datasets were very small compared to real datasets.
  • 22. Conclusions • NoSQL should be at least considered as an option when designing and implementing large scale Syslog or Radius Accounting storages. • For development it is flexible. • For production use NoSQL solution still needs design, careful planning and testing to verify if the performance, reliability and security is enough. Probably as much as SQL database design. • Key issue will probably be can the SQL database handle the data or is horizontal scaling required.