SlideShare a Scribd company logo
1 of 52
Download to read offline
Fluentd ā™„ MongoDB
                          Log Everything As JSON


                 Kazuki Ohta, CTO at Treasure Data, Inc.




Tuesday, July 17, 2012
Self-Introduction
           ā€¢       Kazuki Ohta
                   >     twitter: @kzk_mover
                   >     github: kzk

           ā€¢       Treasure Data, Inc.
                   >     Chief Technology Ofļ¬cer; Founder
                   >     Original Fluentd Author @frsyuki is another co-founder.

           ā€¢       Open-Source Enthusiast
                   >     KDE, uim, Hadoop, memcached, Mozilla, Mongo, etc.
                   >     Fluentd rpm/deb package manager
                                                                              2
Tuesday, July 17, 2012
Logging? Why?




Tuesday, July 17, 2012
Figure 1: Common Logging Purposes




                                                  Analytics

                                                  Error Notiļ¬cation

                                                  Recommendation


                                                                   4
Tuesday, July 17, 2012
Figure 2: Types of Logs




                                           App Log

                                           Access Log
                                           (Apache, Rails, etc.)
                                           System Log
                                           (syslog etc.)
                                           Others
                                                                   5
Tuesday, July 17, 2012
From ā€œScaling Lessons learned at Dropboxā€
                                                            6
Tuesday, July 17, 2012
Fragile for format change,
                         No type information,
                         No ļ¬eld name, etc.


                         From ā€œScaling Lessons learned at Dropboxā€
                                                            6
Tuesday, July 17, 2012
About Fluentd




Tuesday, July 17, 2012
It's like syslogd, but uses JSON for log
                 messages


                                                            8
Tuesday, July 17, 2012
Logs in JSON? Why?

                     1. Machine-Readable
                     > machine is goint to be a main consumer of logs


                     2. Schema-Free
                     > you want to add/remove fields from logs at anytime



    Write Logs for Machines, use JSON
    http://journal.paul.querna.org/articles/2011/12/26/log-for-machines-in-json/
                                                                            9
Tuesday, July 17, 2012
Logs As TEXT


   Logs As JSON



                         + Field Name
                         + No Custom Parser
                         + Type Information
                         + Schema Free

                                       10
Tuesday, July 17, 2012
Logs As TEXT
         ā€œ2011-04-01 host1 myapp: cmessage size=12MB user=meā€


   Logs As JSON
                         2011-04-01 myapp.message {
                             ā€œon_hostā€: ā€host1ā€,
                             ā€combinedā€: true,
                             ā€œsizeā€: 12000000,     + Field Name
                             ā€œuserā€: ā€œmeā€          + No Custom Parser
                                                   + Type Information
                         }                         + Schema Free

                                                                 10
Tuesday, July 17, 2012
http://ļ¬‚uentd.org/




                                              11
Tuesday, July 17, 2012
ā€¢       Website
                   >     http://ļ¬‚uentd.org/

           ā€¢       Community
                   >     http://github.com/ļ¬‚uent
                   >     16 committers across
                         many organizations
                   >     web, game, enterprise

           ā€¢       Mailing list
                   >     Google groups

                                                   12
Tuesday, July 17, 2012
Fluentd Architecture




Tuesday, July 17, 2012
Fluentd: Log Format

                         Application



                          Fluentd




                          Storage


                                                14
Tuesday, July 17, 2012
Fluentd: Log Format

                         Application

                                       2012-02-04 01:33:51
                                       myapp.buylog {
                          Fluentd
                                           ā€œuserā€: ā€meā€,
                                           ā€œpathā€: ā€œ/buyItemā€,
                                           ā€œpriceā€: 150,
                                           ā€œrefererā€: ā€œ/landingā€
                          Storage      }


                                                                   14
Tuesday, July 17, 2012
Fluentd: Log Format

                                                       time
                         Application                    tag
                                       2012-02-04 01:33:51
                                       myapp.buylog {
                          Fluentd
                                           ā€œuserā€: ā€meā€,
                                           ā€œpathā€: ā€œ/buyItemā€,
                                           ā€œpriceā€: 150,
                                           ā€œrefererā€: ā€œ/landingā€
                          Storage      }
                                                    record

                                                                   14
Tuesday, July 17, 2012
Fluentd: Plugins

                             Application



                                           ļ¬lter / buffer /
                              Fluentd
                                           routing




                              Storage


                                                              15
Tuesday, July 17, 2012
Fluentd: Plugins

                                       Application



                                                     ļ¬lter / buffer /
                                        Fluentd
                                                     routing




                          SaaS          Storage            Fluentd

                         Plug-in        Plug-in           Plug-in
                                                                        15
Tuesday, July 17, 2012
Fluentd: Plugins

                                       Application



                                                     ļ¬lter / buffer /
                                        Fluentd
                                                     routing




                          SaaS          Storage            Fluentd

                         Plug-in        Plug-in           Plug-in
                                                                        16
Tuesday, July 17, 2012
Fluentd: Plugins

            syslogd         Scribe     Application          File Plug-in

                                                     tail
           Plug-in Plug-in
                                                      ļ¬lter / buffer /
                                        Fluentd
                                                      routing




                          SaaS          Storage                Fluentd

                         Plug-in        Plug-in               Plug-in
                                                                           16
Tuesday, July 17, 2012
ā€¢       Client libraries
                   > Ruby
                   > Perl             Application         Buffering

                   > PHP
                                            HTTP / TCP / UDS
                   > Python
                   > Java              Fluentd
                   > ...




                                                                17
Tuesday, July 17, 2012
ā€¢       Client libraries
                   > Ruby
                   > Perl               Application         Buffering

                   > PHP
                                              HTTP / TCP / UDS
                   > Python
                   > Java                Fluentd
                   > ...


            Fluent.open(ā€œmyappā€)
            Fluent.event(ā€œloginā€, {ā€œuserā€=>38})
            #=> 2012-02-04 04:56:01 myapp.login    {ā€œuserā€:38}

                                                                  17
Tuesday, July 17, 2012
Typical Log Collection by `rsync`




               Burst of traffic
               rsync consumes
               all bandwidth



                                                             18
Tuesday, July 17, 2012
Typical Log Collection by `rsync`
                     App server              App server              App server

                   Application              Application            Application


               File File File ...          File File File ...     File File File ...


                                    File
               Burst of traffic                                 High latency
               rsync consumes                                   must wait for a day
               all bandwidth                 Log server         Hard to analyze
                                                                complex text parsers

                                                                                  18
Tuesday, July 17, 2012
Log Collection using Fluentd

                         Fluentd        Fluentd          Fluentd



                                                       Realtime!
                                   Fluentd   Fluentd




                                                                   19
Tuesday, July 17, 2012
Log Collection using Fluentd

                         Fluentd        Fluentd          Fluentd



                                                       Realtime!
                                   Fluentd   Fluentd



                                              Amazon     Ready to
                         Hadoop    Mongo
                                               S3 /
                          / Hive    DB
                                               EMR       Analyze!

                                                                    19
Tuesday, July 17, 2012
Fluentd Case Study
               Ruby on Rails              Ruby on Rails          Ruby on Rails


                         Fluentd              Fluentd               Fluentd




      āœ“    127 RoR servers
      āœ“    100,000 msgs/sec             Fluentd    Fluentd      routing
      āœ“    120Mbps at peak
      āœ“    1TB/day

                                      Hadoop            Mongo     User behavior
                           PV logs     / Hive            DB       logs

                                                                                 20
Tuesday, July 17, 2012
# read logs from a file         # forward other logs to servers
      <source>                        # (load-balancing + fail-over)
        type tail                     <match **>
        path /var/log/httpd.log         type forward
        format apache                   <server>
        tag apache.access                 host 192.168.0.11
      </source>                           weight 20
                                        </server>
      # save access logs to MongoDB     <server>
      <match apache.access>               host 192.168.0.12
        type mongo                        weight 60
        host 127.0.0.1                  </server>
      </match>                        </match>




Tuesday, July 17, 2012
Comparison




Tuesday, July 17, 2012
Scribe: log collector by
                               Facebook
                         Frontend servers

                                            Aggregator nodes
                             scribe
                                                scribe
                             scribe
                                                               Hadoop
                                                                HDFS
                             scribe
                                                scribe
                             scribe

                                                                        23
Tuesday, July 17, 2012
Scribeā€™s Pros & Cons
                ā€¢ Pros.
                         ā€¢ Fast (written in C++)
                ā€¢ Cons.
                         ā€¢ VERY HARD to install
                            ā€¢ nightmare of boost, thrift, libhdfs, etc.
                         ā€¢ Unstructured Logs
                            ā€¢ parsing must be required before the analysis
                         ā€¢ Hard to extend
                            ā€¢ recompiling C++ programs are required
                         ā€¢ No longer maintained

                                                                             24
Tuesday, July 17, 2012
Fluentd vs Scribe
                ā€¢ Easy to install
                         ā€¢ ā€œgem install fluentdā€
                         ā€¢ Stable RPM and Deb packages
                           ā€¢ http://packages.treasure-data.com/
                ā€¢ Easy to write plugins
                         ā€¢ you can use Ruby
                ā€¢ Easy plugin distribution
                         ā€¢ ā€œgem search -rd fluent-pluginā€


                                                                  25
Tuesday, July 17, 2012
Flume: distributed log collector by Cloudera

           Phisical
                                 Flume Master
          Topology

                         Flume      Flume       Flume




           Logical                                      Hadoop
          Topology                                       HDFS


                                                             26
Tuesday, July 17, 2012
Flumeā€™s Pros & Cons
                ā€¢ Pros.
                         ā€¢ Central master server manages all nodes
                ā€¢ Cons.
                         ā€¢ Difficult to understand
                            ā€¢ logical topologies, phisical servers and a
                              configuration of the logical/phisical mapping
                         ā€¢ Difficult to configure
                            ā€¢ replicated master servers, log servers and agents
                         ā€¢ Big footprint
                            ā€¢ 50,000 lines of Java

                                                                                  27
Tuesday, July 17, 2012
Fluentd vs Flume
                 ā€¢ Easy to understand
                         ā€¢ ā€œsyslogd that understands JSONā€
                 ā€¢ Easy to setup
                         ā€¢ ā€œsudo fluentd --setup && fluentdā€
                 ā€¢ Very small footprint
                         ā€¢ small engine (3,000) lines + plugins
                         ā€¢ small, but battle-tested!
                 ā€¢ Easy to configure


                                                                  28
Tuesday, July 17, 2012
Fluentd           Scribe           Flume
          Installation          gem/rpm/deb          make          jar/rpm/deb

                                 3000 lines of    8000 lines of   50,000 lines of
          Footprint                 Ruby             C++              Java

          Plugin                    Ruby              N/A             Java

          Plugin distribution   RubyGems.org          N/A              N/A

          Master Server              No               No               Yes

          License               Apache License   Apache License   Apache License


                                                                                 29
Tuesday, July 17, 2012
Fluentd Plugin for




Tuesday, July 17, 2012
fluent-plugin-mongo
                ā€¢ Included within rpm/deb by default!
                         ā€¢ http://github.com/fluent/fluent-plugin-mongo
                ā€¢ #1 plugin among 50+ Fluentd plugins
                         ā€¢ Logs As JSON. WHY NOT Put Them Into Mongo??
                         ā€¢ http://fluentd.org/plugin/
                ā€¢ Supports most of the MongoDB features
                         ā€¢ Authentication
                         ā€¢ ReplicaSet
                         ā€¢ Capped Collection

                                                                          31
Tuesday, July 17, 2012
ā€¢ MongoDB Output Plugin
                     Application                           ā€¢ Maintain JSON Structure
                                                           ā€¢ Reliable Buffering
                                                           ā€¢ Batch Insertion
                         Fluentd       Buffering           ā€¢ Handle Broken Records
                                                             ā€¢ Ruby Driver #82
                             Authentication


                         MongoDB              MongoDB               MongoDB    MongoDB
                                                                    MongoDB    MongoDB
                     Single Instance                                MongoDB    MongoDB
                    (Capped or Not)     MongoDB     MongoDB
                                                                          Sharding
                                              ReplicaSet

                                                                                     32
Tuesday, July 17, 2012
ā€¢ MongoDB Output Plugin
                     Application                           ā€¢ Maintain JSON Structure
                                                           ā€¢ Reliable Buffering
                                                           ā€¢ Batch Insertion
                         Fluentd       Buffering           ā€¢ Handle Broken Records
                                                             ā€¢ Ruby Driver #82
                             Authentication


                         MongoDB              MongoDB               MongoDB    MongoDB
                                                                    MongoDB    MongoDB
                     Single Instance                                MongoDB    MongoDB
                    (Capped or Not)     MongoDB     MongoDB
                                                                          Sharding
                                              ReplicaSet

                                                                                     32
Tuesday, July 17, 2012
ReplicaSet
                                          (Capped Collection)
             Single Instance
           (Capped Collection)                MongoDB

                    MongoDB          MongoDB        MongoDB


                         Authentication


                    Fluentd          Buffering
                                                        ā€¢ MongoDB Input Plugin
                                                           ā€¢ Tailing Capped Collections


                                                                                    33
Tuesday, July 17, 2012
ReplicaSet
                                          (Capped Collection)
             Single Instance
           (Capped Collection)                MongoDB

                    MongoDB          MongoDB        MongoDB


                         Authentication


                    Fluentd          Buffering
                                                        ā€¢ MongoDB Input Plugin
                                                           ā€¢ Tailing Capped Collections


                                                                                    33
Tuesday, July 17, 2012
Realtime Analytics with Fluentd + MongoDB

                          App                    App                 App


                         Fluentd             Fluentd                Fluentd




                             routing   Fluentd         Fluentd


          Nagios, Zabbix, etc.
                                            Mongo          query
                                                                   Charting
                         Alert               DB
                                                                              34
Tuesday, July 17, 2012
Realtime or Batch? No, BOTH!

                          App                          App                 App


                         Fluentd                   Fluentd                Fluentd




                             routing         Fluentd         Fluentd




        Hadoop                     Amazon         Mongo          query
                                                                         Charting
         / Hive                      S3            DB
             batch                 archive         realtime                         35
Tuesday, July 17, 2012
Intro of our companyā€™s service: Treasure Data

                          App                    App                    App


                         Fluentd             Fluentd                   Fluentd




                             routing   Fluentd         Fluentd




      Treasure                              Mongo                Hadoop-based
        Data                                 DB                  Cloud Data Warehouse
             batch                           realtime                            36
Tuesday, July 17, 2012
Exercise: Apache Logs into MongoDB




Tuesday, July 17, 2012
Log File




                                    38
Tuesday, July 17, 2012
39
Tuesday, July 17, 2012
40
Tuesday, July 17, 2012
Conclusion
                ā€¢ Log Everything as JSON
                         ā€¢ Machine Readability
                         ā€¢ Schema Freeness
                ā€¢ MongoDB fits into Fluentdā€™s backend perfectly
                         ā€¢ Both using JSON representation




                                                                  41
Tuesday, July 17, 2012

More Related Content

What's hot

Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application serverAnuj Tomar
Ā 
Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]
Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]
Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]MongoDB
Ā 
The Rise of Vector Data
The Rise of Vector DataThe Rise of Vector Data
The Rise of Vector DataDatabricks
Ā 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningMichel Schildmeijer
Ā 
Understanding the architecture of MariaDB ColumnStore
Understanding the architecture of MariaDB ColumnStoreUnderstanding the architecture of MariaDB ColumnStore
Understanding the architecture of MariaDB ColumnStoreMariaDB plc
Ā 
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...Henning Jacobs
Ā 
JSON Data Parsing in Snowflake (By Faysal Shaarani)
JSON Data Parsing in Snowflake (By Faysal Shaarani)JSON Data Parsing in Snowflake (By Faysal Shaarani)
JSON Data Parsing in Snowflake (By Faysal Shaarani)Faysal Shaarani (MBA)
Ā 
AWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ Amazon Workspaces
AWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ  Amazon WorkspacesAWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ  Amazon Workspaces
AWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ Amazon WorkspacesAmazon Web Services Japan
Ā 
(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...
(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...
(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...Amazon Web Services
Ā 
AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰
AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰
AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰Trainocate Japan, Ltd.
Ā 
A Day in the Life of a ClickHouse Query Webinar Slides
A Day in the Life of a ClickHouse Query Webinar Slides A Day in the Life of a ClickHouse Query Webinar Slides
A Day in the Life of a ClickHouse Query Webinar Slides Altinity Ltd
Ā 
Optimizing queries MySQL
Optimizing queries MySQLOptimizing queries MySQL
Optimizing queries MySQLGeorgi Sotirov
Ā 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsFrederic Descamps
Ā 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to MicroservicesAmazon Web Services
Ā 
[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect
[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect
[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon ConnectAmazon Web Services Japan
Ā 
IBM RedHat OCP Vs xKS.pptx
IBM RedHat OCP Vs xKS.pptxIBM RedHat OCP Vs xKS.pptx
IBM RedHat OCP Vs xKS.pptxssuser666667
Ā 
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...Cathrine Wilhelmsen
Ā 
Inside PostgreSQL Shared Memory
Inside PostgreSQL Shared MemoryInside PostgreSQL Shared Memory
Inside PostgreSQL Shared MemoryEDB
Ā 
MySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software TestMySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software TestI Goo Lee
Ā 

What's hot (20)

Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
Ā 
Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]
Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]
Naverģ†ė„ģ˜, ģ†ė„ģ— ģ˜ķ•œ, ģ†ė„ė„¼ ģœ„ķ•œ ėŖ½ź³ DB (ė„¤ģ“ė²„ ģ»Øķ…ģø ź²€ģƒ‰ź³¼ ėŖ½ź³ DB) [Naver]
Ā 
The Rise of Vector Data
The Rise of Vector DataThe Rise of Vector Data
The Rise of Vector Data
Ā 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
Ā 
Understanding the architecture of MariaDB ColumnStore
Understanding the architecture of MariaDB ColumnStoreUnderstanding the architecture of MariaDB ColumnStore
Understanding the architecture of MariaDB ColumnStore
Ā 
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Ā 
InnoDB Locking Explained with Stick Figures
InnoDB Locking Explained with Stick FiguresInnoDB Locking Explained with Stick Figures
InnoDB Locking Explained with Stick Figures
Ā 
JSON Data Parsing in Snowflake (By Faysal Shaarani)
JSON Data Parsing in Snowflake (By Faysal Shaarani)JSON Data Parsing in Snowflake (By Faysal Shaarani)
JSON Data Parsing in Snowflake (By Faysal Shaarani)
Ā 
AWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ Amazon Workspaces
AWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ  Amazon WorkspacesAWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ  Amazon Workspaces
AWS Black Belt Techć‚·ćƒŖćƒ¼ć‚ŗ Amazon Workspaces
Ā 
(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...
(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...
(SDD415) NEW LAUNCH: Amazon Aurora: Amazonā€™s New Relational Database Engine |...
Ā 
AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰
AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰
AWSćØć‚Ŗćƒ³ćƒ—ćƒ¬ćƒŸć‚¹ć‚’ē¹‹ććØćć«ēŸ„ć£ć¦ćŠććŸć„ćƒ«ćƒ¼ćƒ†ć‚£ćƒ³ć‚°ć®åŸŗē¤ŽēŸ„識ļ¼ˆCCSIē›£äæ®ļ¼ļ¼‰
Ā 
A Day in the Life of a ClickHouse Query Webinar Slides
A Day in the Life of a ClickHouse Query Webinar Slides A Day in the Life of a ClickHouse Query Webinar Slides
A Day in the Life of a ClickHouse Query Webinar Slides
Ā 
Optimizing queries MySQL
Optimizing queries MySQLOptimizing queries MySQL
Optimizing queries MySQL
Ā 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
Ā 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
Ā 
[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect
[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect
[ęœ€ę–°ćƒćƒ¼ć‚øćƒ§ćƒ³ć®ęƒ…å ±ćŒDescriptionę¬„ć«ć”ć–ć„ć¾ć™]AWS Black Belt Online Seminar 2018 Amazon Connect
Ā 
IBM RedHat OCP Vs xKS.pptx
IBM RedHat OCP Vs xKS.pptxIBM RedHat OCP Vs xKS.pptx
IBM RedHat OCP Vs xKS.pptx
Ā 
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Ā 
Inside PostgreSQL Shared Memory
Inside PostgreSQL Shared MemoryInside PostgreSQL Shared Memory
Inside PostgreSQL Shared Memory
Ā 
MySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software TestMySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software Test
Ā 

Similar to Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012

Fluentd: the missing log collector
Fluentd: the missing log collectorFluentd: the missing log collector
Fluentd: the missing log collectortd_kiyoto
Ā 
Symfony2 and MongoDB
Symfony2 and MongoDBSymfony2 and MongoDB
Symfony2 and MongoDBPablo Godel
Ā 
Symfony2 y MongoDB - deSymfony 2012
Symfony2 y MongoDB - deSymfony 2012Symfony2 y MongoDB - deSymfony 2012
Symfony2 y MongoDB - deSymfony 2012Pablo Godel
Ā 
oEmbed in Drupal
oEmbed in DrupaloEmbed in Drupal
oEmbed in DrupalPure Sign
Ā 
Developing RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDBDeveloping RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDBNicola Iarocci
Ā 
Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...
Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...
Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...Swiss Big Data User Group
Ā 
Who Pulls the Strings?
Who Pulls the Strings?Who Pulls the Strings?
Who Pulls the Strings?Ronny Trommer
Ā 
Multilingual solutions florian loretan
Multilingual solutions florian loretanMultilingual solutions florian loretan
Multilingual solutions florian loretandrupalconf
Ā 
Jenkins Evolutions
Jenkins EvolutionsJenkins Evolutions
Jenkins EvolutionsToomas Rƶmer
Ā 
You rang, Mā€™LOD? Google Refine in the world of LOD
You rang, Mā€™LOD? Google Refine in the world of LODYou rang, Mā€™LOD? Google Refine in the world of LOD
You rang, Mā€™LOD? Google Refine in the world of LODMateja Verlic
Ā 
Presentation mongodb public sector dbsig malaysia
Presentation mongodb public sector dbsig malaysiaPresentation mongodb public sector dbsig malaysia
Presentation mongodb public sector dbsig malaysiaSyahman Mohamad
Ā 
Building businesspost.ie using Node.js
Building businesspost.ie using Node.jsBuilding businesspost.ie using Node.js
Building businesspost.ie using Node.jsRichard Rodger
Ā 
Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)Wooga
Ā 
ORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout sessionORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout sessionGudmundur Thorisson
Ā 
EDF2012 Chris Taggart - How the biggest Open Database of Companies was built
EDF2012   Chris Taggart - How the biggest Open Database of Companies was builtEDF2012   Chris Taggart - How the biggest Open Database of Companies was built
EDF2012 Chris Taggart - How the biggest Open Database of Companies was builtEuropean Data Forum
Ā 
Osm techniques and developemnt
Osm techniques and developemntOsm techniques and developemnt
Osm techniques and developemntDongpo Deng
Ā 
OrientaĆ§Ć£o a objetos v2
OrientaĆ§Ć£o a objetos v2OrientaĆ§Ć£o a objetos v2
OrientaĆ§Ć£o a objetos v2Augusto Pascutti
Ā 
MongoDB Aug2010 SF Meetup
MongoDB Aug2010 SF MeetupMongoDB Aug2010 SF Meetup
MongoDB Aug2010 SF MeetupScott Hernandez
Ā 
Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...
Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...
Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...Wooga
Ā 

Similar to Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012 (20)

Fluentd: the missing log collector
Fluentd: the missing log collectorFluentd: the missing log collector
Fluentd: the missing log collector
Ā 
Symfony2 and MongoDB
Symfony2 and MongoDBSymfony2 and MongoDB
Symfony2 and MongoDB
Ā 
Symfony2 y MongoDB - deSymfony 2012
Symfony2 y MongoDB - deSymfony 2012Symfony2 y MongoDB - deSymfony 2012
Symfony2 y MongoDB - deSymfony 2012
Ā 
oEmbed in Drupal
oEmbed in DrupaloEmbed in Drupal
oEmbed in Drupal
Ā 
Developing RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDBDeveloping RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDB
Ā 
The Heron Mapping Client
The Heron Mapping ClientThe Heron Mapping Client
The Heron Mapping Client
Ā 
Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...
Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...
Large Scale Log Analysis with HBase and Solr at Amadeus (Martin Alig, ETH Zur...
Ā 
Who Pulls the Strings?
Who Pulls the Strings?Who Pulls the Strings?
Who Pulls the Strings?
Ā 
Multilingual solutions florian loretan
Multilingual solutions florian loretanMultilingual solutions florian loretan
Multilingual solutions florian loretan
Ā 
Jenkins Evolutions
Jenkins EvolutionsJenkins Evolutions
Jenkins Evolutions
Ā 
You rang, Mā€™LOD? Google Refine in the world of LOD
You rang, Mā€™LOD? Google Refine in the world of LODYou rang, Mā€™LOD? Google Refine in the world of LOD
You rang, Mā€™LOD? Google Refine in the world of LOD
Ā 
Presentation mongodb public sector dbsig malaysia
Presentation mongodb public sector dbsig malaysiaPresentation mongodb public sector dbsig malaysia
Presentation mongodb public sector dbsig malaysia
Ā 
Building businesspost.ie using Node.js
Building businesspost.ie using Node.jsBuilding businesspost.ie using Node.js
Building businesspost.ie using Node.js
Ā 
Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)
Ā 
ORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout sessionORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout session
Ā 
EDF2012 Chris Taggart - How the biggest Open Database of Companies was built
EDF2012   Chris Taggart - How the biggest Open Database of Companies was builtEDF2012   Chris Taggart - How the biggest Open Database of Companies was built
EDF2012 Chris Taggart - How the biggest Open Database of Companies was built
Ā 
Osm techniques and developemnt
Osm techniques and developemntOsm techniques and developemnt
Osm techniques and developemnt
Ā 
OrientaĆ§Ć£o a objetos v2
OrientaĆ§Ć£o a objetos v2OrientaĆ§Ć£o a objetos v2
OrientaĆ§Ć£o a objetos v2
Ā 
MongoDB Aug2010 SF Meetup
MongoDB Aug2010 SF MeetupMongoDB Aug2010 SF Meetup
MongoDB Aug2010 SF Meetup
Ā 
Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...
Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...
Games for the Masses - Wie DevOps die Entwicklung von Architektur verƤndert (...
Ā 

More from Treasure Data, Inc.

GDPR: A Practical Guide for Marketers
GDPR: A Practical Guide for MarketersGDPR: A Practical Guide for Marketers
GDPR: A Practical Guide for MarketersTreasure Data, Inc.
Ā 
AR and VR by the Numbers: A Data First Approach to the Technology and Market
AR and VR by the Numbers: A Data First Approach to the Technology and MarketAR and VR by the Numbers: A Data First Approach to the Technology and Market
AR and VR by the Numbers: A Data First Approach to the Technology and MarketTreasure Data, Inc.
Ā 
Introduction to Customer Data Platforms
Introduction to Customer Data PlatformsIntroduction to Customer Data Platforms
Introduction to Customer Data PlatformsTreasure Data, Inc.
Ā 
Hands-On: Managing Slowly Changing Dimensions Using TD Workflow
Hands-On: Managing Slowly Changing Dimensions Using TD WorkflowHands-On: Managing Slowly Changing Dimensions Using TD Workflow
Hands-On: Managing Slowly Changing Dimensions Using TD WorkflowTreasure Data, Inc.
Ā 
Brand Analytics Management: Measuring CLV Across Platforms, Devices and Apps
Brand Analytics Management: Measuring CLV Across Platforms, Devices and AppsBrand Analytics Management: Measuring CLV Across Platforms, Devices and Apps
Brand Analytics Management: Measuring CLV Across Platforms, Devices and AppsTreasure Data, Inc.
Ā 
How to Power Your Customer Experience with Data
How to Power Your Customer Experience with DataHow to Power Your Customer Experience with Data
How to Power Your Customer Experience with DataTreasure Data, Inc.
Ā 
Why Your VR Game is Virtually Useless Without Data
Why Your VR Game is Virtually Useless Without DataWhy Your VR Game is Virtually Useless Without Data
Why Your VR Game is Virtually Useless Without DataTreasure Data, Inc.
Ā 
Connecting the Customer Data Dots
Connecting the Customer Data DotsConnecting the Customer Data Dots
Connecting the Customer Data DotsTreasure Data, Inc.
Ā 
Harnessing Data for Better Customer Experience and Company Success
Harnessing Data for Better Customer Experience and Company SuccessHarnessing Data for Better Customer Experience and Company Success
Harnessing Data for Better Customer Experience and Company SuccessTreasure Data, Inc.
Ā 
Packaging Ecosystems -Monki Gras 2017
Packaging Ecosystems -Monki Gras 2017Packaging Ecosystems -Monki Gras 2017
Packaging Ecosystems -Monki Gras 2017Treasure Data, Inc.
Ā 
źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)
źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)
źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)Treasure Data, Inc.
Ā 
Keynote - Fluentd meetup v14
Keynote - Fluentd meetup v14Keynote - Fluentd meetup v14
Keynote - Fluentd meetup v14Treasure Data, Inc.
Ā 
Introduction to New features and Use cases of Hivemall
Introduction to New features and Use cases of HivemallIntroduction to New features and Use cases of Hivemall
Introduction to New features and Use cases of HivemallTreasure Data, Inc.
Ā 
Scalable Hadoop in the cloud
Scalable Hadoop in the cloudScalable Hadoop in the cloud
Scalable Hadoop in the cloudTreasure Data, Inc.
Ā 
Using Embulk at Treasure Data
Using Embulk at Treasure DataUsing Embulk at Treasure Data
Using Embulk at Treasure DataTreasure Data, Inc.
Ā 
Scaling to Infinity - Open Source meets Big Data
Scaling to Infinity - Open Source meets Big DataScaling to Infinity - Open Source meets Big Data
Scaling to Infinity - Open Source meets Big DataTreasure Data, Inc.
Ā 
Treasure Data: Move your data from MySQL to Redshift with (not much more tha...
Treasure Data:  Move your data from MySQL to Redshift with (not much more tha...Treasure Data:  Move your data from MySQL to Redshift with (not much more tha...
Treasure Data: Move your data from MySQL to Redshift with (not much more tha...Treasure Data, Inc.
Ā 
Treasure Data From MySQL to Redshift
Treasure Data  From MySQL to RedshiftTreasure Data  From MySQL to Redshift
Treasure Data From MySQL to RedshiftTreasure Data, Inc.
Ā 
Unifying Events and Logs into the Cloud
Unifying Events and Logs into the CloudUnifying Events and Logs into the Cloud
Unifying Events and Logs into the CloudTreasure Data, Inc.
Ā 

More from Treasure Data, Inc. (20)

GDPR: A Practical Guide for Marketers
GDPR: A Practical Guide for MarketersGDPR: A Practical Guide for Marketers
GDPR: A Practical Guide for Marketers
Ā 
AR and VR by the Numbers: A Data First Approach to the Technology and Market
AR and VR by the Numbers: A Data First Approach to the Technology and MarketAR and VR by the Numbers: A Data First Approach to the Technology and Market
AR and VR by the Numbers: A Data First Approach to the Technology and Market
Ā 
Introduction to Customer Data Platforms
Introduction to Customer Data PlatformsIntroduction to Customer Data Platforms
Introduction to Customer Data Platforms
Ā 
Hands On: Javascript SDK
Hands On: Javascript SDKHands On: Javascript SDK
Hands On: Javascript SDK
Ā 
Hands-On: Managing Slowly Changing Dimensions Using TD Workflow
Hands-On: Managing Slowly Changing Dimensions Using TD WorkflowHands-On: Managing Slowly Changing Dimensions Using TD Workflow
Hands-On: Managing Slowly Changing Dimensions Using TD Workflow
Ā 
Brand Analytics Management: Measuring CLV Across Platforms, Devices and Apps
Brand Analytics Management: Measuring CLV Across Platforms, Devices and AppsBrand Analytics Management: Measuring CLV Across Platforms, Devices and Apps
Brand Analytics Management: Measuring CLV Across Platforms, Devices and Apps
Ā 
How to Power Your Customer Experience with Data
How to Power Your Customer Experience with DataHow to Power Your Customer Experience with Data
How to Power Your Customer Experience with Data
Ā 
Why Your VR Game is Virtually Useless Without Data
Why Your VR Game is Virtually Useless Without DataWhy Your VR Game is Virtually Useless Without Data
Why Your VR Game is Virtually Useless Without Data
Ā 
Connecting the Customer Data Dots
Connecting the Customer Data DotsConnecting the Customer Data Dots
Connecting the Customer Data Dots
Ā 
Harnessing Data for Better Customer Experience and Company Success
Harnessing Data for Better Customer Experience and Company SuccessHarnessing Data for Better Customer Experience and Company Success
Harnessing Data for Better Customer Experience and Company Success
Ā 
Packaging Ecosystems -Monki Gras 2017
Packaging Ecosystems -Monki Gras 2017Packaging Ecosystems -Monki Gras 2017
Packaging Ecosystems -Monki Gras 2017
Ā 
źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)
źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)
źø€ė”œė²Œ ģ‚¬ė”€ė”œ ė³“ėŠ” ė°ģ“ķ„°ė”œ ėˆ ė²„ėŠ” ė²• - ķŠøė ˆģ €ė°ģ“ķ„° (Treasure Data)
Ā 
Keynote - Fluentd meetup v14
Keynote - Fluentd meetup v14Keynote - Fluentd meetup v14
Keynote - Fluentd meetup v14
Ā 
Introduction to New features and Use cases of Hivemall
Introduction to New features and Use cases of HivemallIntroduction to New features and Use cases of Hivemall
Introduction to New features and Use cases of Hivemall
Ā 
Scalable Hadoop in the cloud
Scalable Hadoop in the cloudScalable Hadoop in the cloud
Scalable Hadoop in the cloud
Ā 
Using Embulk at Treasure Data
Using Embulk at Treasure DataUsing Embulk at Treasure Data
Using Embulk at Treasure Data
Ā 
Scaling to Infinity - Open Source meets Big Data
Scaling to Infinity - Open Source meets Big DataScaling to Infinity - Open Source meets Big Data
Scaling to Infinity - Open Source meets Big Data
Ā 
Treasure Data: Move your data from MySQL to Redshift with (not much more tha...
Treasure Data:  Move your data from MySQL to Redshift with (not much more tha...Treasure Data:  Move your data from MySQL to Redshift with (not much more tha...
Treasure Data: Move your data from MySQL to Redshift with (not much more tha...
Ā 
Treasure Data From MySQL to Redshift
Treasure Data  From MySQL to RedshiftTreasure Data  From MySQL to Redshift
Treasure Data From MySQL to Redshift
Ā 
Unifying Events and Logs into the Cloud
Unifying Events and Logs into the CloudUnifying Events and Logs into the Cloud
Unifying Events and Logs into the Cloud
Ā 

Recently uploaded

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Christopher Logan Kennedy
Ā 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
Ā 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
Ā 
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
Ā 
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
Ā 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
Ā 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
Ā 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
Ā 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
Ā 
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
Ā 
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
Ā 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
Ā 
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
Ā 
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 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
Ā 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
Ā 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
Ā 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Ā 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Ā 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Ā 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
Ā 
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...
Ā 
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
Ā 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Ā 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Ā 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Ā 
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
Ā 
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
Ā 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Ā 
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...
Ā 
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 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Ā 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
Ā 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Ā 

Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012

  • 1. Fluentd ā™„ MongoDB Log Everything As JSON Kazuki Ohta, CTO at Treasure Data, Inc. Tuesday, July 17, 2012
  • 2. Self-Introduction ā€¢ Kazuki Ohta > twitter: @kzk_mover > github: kzk ā€¢ Treasure Data, Inc. > Chief Technology Ofļ¬cer; Founder > Original Fluentd Author @frsyuki is another co-founder. ā€¢ Open-Source Enthusiast > KDE, uim, Hadoop, memcached, Mozilla, Mongo, etc. > Fluentd rpm/deb package manager 2 Tuesday, July 17, 2012
  • 4. Figure 1: Common Logging Purposes Analytics Error Notiļ¬cation Recommendation 4 Tuesday, July 17, 2012
  • 5. Figure 2: Types of Logs App Log Access Log (Apache, Rails, etc.) System Log (syslog etc.) Others 5 Tuesday, July 17, 2012
  • 6. From ā€œScaling Lessons learned at Dropboxā€ 6 Tuesday, July 17, 2012
  • 7. Fragile for format change, No type information, No ļ¬eld name, etc. From ā€œScaling Lessons learned at Dropboxā€ 6 Tuesday, July 17, 2012
  • 9. It's like syslogd, but uses JSON for log messages 8 Tuesday, July 17, 2012
  • 10. Logs in JSON? Why? 1. Machine-Readable > machine is goint to be a main consumer of logs 2. Schema-Free > you want to add/remove fields from logs at anytime Write Logs for Machines, use JSON http://journal.paul.querna.org/articles/2011/12/26/log-for-machines-in-json/ 9 Tuesday, July 17, 2012
  • 11. Logs As TEXT Logs As JSON + Field Name + No Custom Parser + Type Information + Schema Free 10 Tuesday, July 17, 2012
  • 12. Logs As TEXT ā€œ2011-04-01 host1 myapp: cmessage size=12MB user=meā€ Logs As JSON 2011-04-01 myapp.message { ā€œon_hostā€: ā€host1ā€, ā€combinedā€: true, ā€œsizeā€: 12000000, + Field Name ā€œuserā€: ā€œmeā€ + No Custom Parser + Type Information } + Schema Free 10 Tuesday, July 17, 2012
  • 13. http://ļ¬‚uentd.org/ 11 Tuesday, July 17, 2012
  • 14. ā€¢ Website > http://ļ¬‚uentd.org/ ā€¢ Community > http://github.com/ļ¬‚uent > 16 committers across many organizations > web, game, enterprise ā€¢ Mailing list > Google groups 12 Tuesday, July 17, 2012
  • 16. Fluentd: Log Format Application Fluentd Storage 14 Tuesday, July 17, 2012
  • 17. Fluentd: Log Format Application 2012-02-04 01:33:51 myapp.buylog { Fluentd ā€œuserā€: ā€meā€, ā€œpathā€: ā€œ/buyItemā€, ā€œpriceā€: 150, ā€œrefererā€: ā€œ/landingā€ Storage } 14 Tuesday, July 17, 2012
  • 18. Fluentd: Log Format time Application tag 2012-02-04 01:33:51 myapp.buylog { Fluentd ā€œuserā€: ā€meā€, ā€œpathā€: ā€œ/buyItemā€, ā€œpriceā€: 150, ā€œrefererā€: ā€œ/landingā€ Storage } record 14 Tuesday, July 17, 2012
  • 19. Fluentd: Plugins Application ļ¬lter / buffer / Fluentd routing Storage 15 Tuesday, July 17, 2012
  • 20. Fluentd: Plugins Application ļ¬lter / buffer / Fluentd routing SaaS Storage Fluentd Plug-in Plug-in Plug-in 15 Tuesday, July 17, 2012
  • 21. Fluentd: Plugins Application ļ¬lter / buffer / Fluentd routing SaaS Storage Fluentd Plug-in Plug-in Plug-in 16 Tuesday, July 17, 2012
  • 22. Fluentd: Plugins syslogd Scribe Application File Plug-in tail Plug-in Plug-in ļ¬lter / buffer / Fluentd routing SaaS Storage Fluentd Plug-in Plug-in Plug-in 16 Tuesday, July 17, 2012
  • 23. ā€¢ Client libraries > Ruby > Perl Application Buffering > PHP HTTP / TCP / UDS > Python > Java Fluentd > ... 17 Tuesday, July 17, 2012
  • 24. ā€¢ Client libraries > Ruby > Perl Application Buffering > PHP HTTP / TCP / UDS > Python > Java Fluentd > ... Fluent.open(ā€œmyappā€) Fluent.event(ā€œloginā€, {ā€œuserā€=>38}) #=> 2012-02-04 04:56:01 myapp.login {ā€œuserā€:38} 17 Tuesday, July 17, 2012
  • 25. Typical Log Collection by `rsync` Burst of traffic rsync consumes all bandwidth 18 Tuesday, July 17, 2012
  • 26. Typical Log Collection by `rsync` App server App server App server Application Application Application File File File ... File File File ... File File File ... File Burst of traffic High latency rsync consumes must wait for a day all bandwidth Log server Hard to analyze complex text parsers 18 Tuesday, July 17, 2012
  • 27. Log Collection using Fluentd Fluentd Fluentd Fluentd Realtime! Fluentd Fluentd 19 Tuesday, July 17, 2012
  • 28. Log Collection using Fluentd Fluentd Fluentd Fluentd Realtime! Fluentd Fluentd Amazon Ready to Hadoop Mongo S3 / / Hive DB EMR Analyze! 19 Tuesday, July 17, 2012
  • 29. Fluentd Case Study Ruby on Rails Ruby on Rails Ruby on Rails Fluentd Fluentd Fluentd āœ“ 127 RoR servers āœ“ 100,000 msgs/sec Fluentd Fluentd routing āœ“ 120Mbps at peak āœ“ 1TB/day Hadoop Mongo User behavior PV logs / Hive DB logs 20 Tuesday, July 17, 2012
  • 30. # read logs from a file # forward other logs to servers <source> # (load-balancing + fail-over) type tail <match **> path /var/log/httpd.log type forward format apache <server> tag apache.access host 192.168.0.11 </source> weight 20 </server> # save access logs to MongoDB <server> <match apache.access> host 192.168.0.12 type mongo weight 60 host 127.0.0.1 </server> </match> </match> Tuesday, July 17, 2012
  • 32. Scribe: log collector by Facebook Frontend servers Aggregator nodes scribe scribe scribe Hadoop HDFS scribe scribe scribe 23 Tuesday, July 17, 2012
  • 33. Scribeā€™s Pros & Cons ā€¢ Pros. ā€¢ Fast (written in C++) ā€¢ Cons. ā€¢ VERY HARD to install ā€¢ nightmare of boost, thrift, libhdfs, etc. ā€¢ Unstructured Logs ā€¢ parsing must be required before the analysis ā€¢ Hard to extend ā€¢ recompiling C++ programs are required ā€¢ No longer maintained 24 Tuesday, July 17, 2012
  • 34. Fluentd vs Scribe ā€¢ Easy to install ā€¢ ā€œgem install fluentdā€ ā€¢ Stable RPM and Deb packages ā€¢ http://packages.treasure-data.com/ ā€¢ Easy to write plugins ā€¢ you can use Ruby ā€¢ Easy plugin distribution ā€¢ ā€œgem search -rd fluent-pluginā€ 25 Tuesday, July 17, 2012
  • 35. Flume: distributed log collector by Cloudera Phisical Flume Master Topology Flume Flume Flume Logical Hadoop Topology HDFS 26 Tuesday, July 17, 2012
  • 36. Flumeā€™s Pros & Cons ā€¢ Pros. ā€¢ Central master server manages all nodes ā€¢ Cons. ā€¢ Difficult to understand ā€¢ logical topologies, phisical servers and a configuration of the logical/phisical mapping ā€¢ Difficult to configure ā€¢ replicated master servers, log servers and agents ā€¢ Big footprint ā€¢ 50,000 lines of Java 27 Tuesday, July 17, 2012
  • 37. Fluentd vs Flume ā€¢ Easy to understand ā€¢ ā€œsyslogd that understands JSONā€ ā€¢ Easy to setup ā€¢ ā€œsudo fluentd --setup && fluentdā€ ā€¢ Very small footprint ā€¢ small engine (3,000) lines + plugins ā€¢ small, but battle-tested! ā€¢ Easy to configure 28 Tuesday, July 17, 2012
  • 38. Fluentd Scribe Flume Installation gem/rpm/deb make jar/rpm/deb 3000 lines of 8000 lines of 50,000 lines of Footprint Ruby C++ Java Plugin Ruby N/A Java Plugin distribution RubyGems.org N/A N/A Master Server No No Yes License Apache License Apache License Apache License 29 Tuesday, July 17, 2012
  • 40. fluent-plugin-mongo ā€¢ Included within rpm/deb by default! ā€¢ http://github.com/fluent/fluent-plugin-mongo ā€¢ #1 plugin among 50+ Fluentd plugins ā€¢ Logs As JSON. WHY NOT Put Them Into Mongo?? ā€¢ http://fluentd.org/plugin/ ā€¢ Supports most of the MongoDB features ā€¢ Authentication ā€¢ ReplicaSet ā€¢ Capped Collection 31 Tuesday, July 17, 2012
  • 41. ā€¢ MongoDB Output Plugin Application ā€¢ Maintain JSON Structure ā€¢ Reliable Buffering ā€¢ Batch Insertion Fluentd Buffering ā€¢ Handle Broken Records ā€¢ Ruby Driver #82 Authentication MongoDB MongoDB MongoDB MongoDB MongoDB MongoDB Single Instance MongoDB MongoDB (Capped or Not) MongoDB MongoDB Sharding ReplicaSet 32 Tuesday, July 17, 2012
  • 42. ā€¢ MongoDB Output Plugin Application ā€¢ Maintain JSON Structure ā€¢ Reliable Buffering ā€¢ Batch Insertion Fluentd Buffering ā€¢ Handle Broken Records ā€¢ Ruby Driver #82 Authentication MongoDB MongoDB MongoDB MongoDB MongoDB MongoDB Single Instance MongoDB MongoDB (Capped or Not) MongoDB MongoDB Sharding ReplicaSet 32 Tuesday, July 17, 2012
  • 43. ReplicaSet (Capped Collection) Single Instance (Capped Collection) MongoDB MongoDB MongoDB MongoDB Authentication Fluentd Buffering ā€¢ MongoDB Input Plugin ā€¢ Tailing Capped Collections 33 Tuesday, July 17, 2012
  • 44. ReplicaSet (Capped Collection) Single Instance (Capped Collection) MongoDB MongoDB MongoDB MongoDB Authentication Fluentd Buffering ā€¢ MongoDB Input Plugin ā€¢ Tailing Capped Collections 33 Tuesday, July 17, 2012
  • 45. Realtime Analytics with Fluentd + MongoDB App App App Fluentd Fluentd Fluentd routing Fluentd Fluentd Nagios, Zabbix, etc. Mongo query Charting Alert DB 34 Tuesday, July 17, 2012
  • 46. Realtime or Batch? No, BOTH! App App App Fluentd Fluentd Fluentd routing Fluentd Fluentd Hadoop Amazon Mongo query Charting / Hive S3 DB batch archive realtime 35 Tuesday, July 17, 2012
  • 47. Intro of our companyā€™s service: Treasure Data App App App Fluentd Fluentd Fluentd routing Fluentd Fluentd Treasure Mongo Hadoop-based Data DB Cloud Data Warehouse batch realtime 36 Tuesday, July 17, 2012
  • 48. Exercise: Apache Logs into MongoDB Tuesday, July 17, 2012
  • 49. Log File 38 Tuesday, July 17, 2012
  • 52. Conclusion ā€¢ Log Everything as JSON ā€¢ Machine Readability ā€¢ Schema Freeness ā€¢ MongoDB fits into Fluentdā€™s backend perfectly ā€¢ Both using JSON representation 41 Tuesday, July 17, 2012