SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
Fluentd
                               Structured logging

                               Pluggable architecture

                               Reliable forwarding
   e Event Collector Service



Sadayuki Furuhashi
Treasure Data, Inc.
@frsyuki
•   Sadayuki Furuhashi
    >   twitter: @frsyuki

•   Treasure Data, Inc.
    >   Software Engineer; founder

•   Author of MessagePack

•   Author of Fluentd
What’s Fluentd?



It's like syslogd, but uses JSON for log messages
What’s Fluentd?

          Application

                        2012-02-04 01:33:51
                        myapp.buylog {
           Fluentd
                            “user”: ”me”,
                            “path”: “/buyItem”,
                            “price”: 150,
                            “referer”: “/landing”
           Storage      }
What’s Fluentd?
                                              time
          Application                           tag
                        2012-02-04 01:33:51
                        myapp.buylog {
           Fluentd
                            “user”: ”me”,
                            “path”: “/buyItem”,
                            “price”: 150,
                            “referer”: “/landing”
           Storage      }                   record
What’s Fluentd?

          Application



           Fluentd      lter / bu er / routing




           Storage
What’s Fluentd?

             Application



              Fluentd      lter / bu er / routing




    SaaS      Storage            Fluentd

   Plug-in   Plug-in           Plug-in
What’s Fluentd?

 syslogd     Scribe   Application          File   Plug-in
                                    tail
Plug-in Plug-in
                       Fluentd         lter / bu er / routing




           SaaS        Storage                    Fluentd

       Plug-in        Plug-in                 Plug-in
What’s Fluentd?
•   Client libraries
    > Ruby
    > Perl                     Application
    > PHP
    > Python
    > Java                       Fluentd
    > ...


Fluent.open(“myapp”)
Fluent.event(“login”, {“user”=>38})
#=> 2012-02-04 04:56:01 myapp.login   {“user”:38}
Fluentd & Event logs
Before:
   App server                  App server              App server

   Application                 Application            Application


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


                      File
                                                  High latency
                                                  must wait for a day

                                Log server        Hard to analyze
                                                  complex text parsers
Fluentd & Event logs
After:
   App server        App server         App server

   Application       Application        Application


    Fluentd            Fluentd           Fluentd



                                      Realtime!
                 Fluentd    Fluentd
Fluentd & Event logs
  Fluentd          Fluentd                 Fluentd



                                        Realtime!
             Fluentd    Fluentd




  Hadoop                     Amazon       Ready to
            MongoDB
   / Hive                    S3 / EMR     Analyze!
# receive events via HTTP       # save alerts to a file
<source>                        <match alert.**>
  type http                       type file
  port 8888                       path /var/log/fluent/alerts
</source>                       </match>

# 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>
Fluentd vs Scribe
•   Deals with structured logs

•   Easy to install
    >   “gem install fluentd”
    >   apt-get and yum
          http://packages.treasure-data.com/

•   Easy to customize

•   add/modify plugins without re-compiling
    >   “gem search -rd fluent-plugin”
Fluentd vs Flume

•   Easy to setup
    >   “sudo fluentd --setup && fluentd”

•   Very small footprint
    >   small engine (3,000 lines) + plugins

•   JVM-free

•   Easy to configure
Architecture of Fluentd
Architecture :: Input
Architecture :: Bu er
Architecture :: Output
Plugins :: out_forward
forward event logs



                           Fluentd
         Heartbeat
                                        out_forward

                                           in_forward

                 Fluentd             Fluentd


                     ✓ load balancing
Plugins :: out_forward
forward event logs



                                 Fluentd
            Heartbeat
                                              out_forward
φ accrual failure detector
                                                 in_forward

                       Fluentd             Fluentd


                             ✓ load balancing
Plugins :: out_copy
duplicate event logs



                       Fluentd
                                 out_copy

        out_mongo                  out_forward
                       out_ le
         MongoDB         File       Fluentd
Plugins :: buf_ le
reliable bu ering

                                 buf_ le

                       Fluentd             le

                                           le

✓ Automatic retry                          le
✓ 2^N retry interval      le


                                    ✓ Persistent bu er
Plugins :: out_exec
execute external programs



                        Fluentd

                             out_exec
               TSV → stdin
                                  ✓ Python
                       external
                                  ✓ Perl
                       program
                                  ✓ C++
Plugins :: out_exec_ lter
execute external programs

                              out_exec_ lter
                                     stdin   external
                        Fluentd
                                   stdout    program
                             out_exec
               TSV → stdin
                                  ✓ Python
                       external
                                  ✓ Perl
                       program
                                  ✓ C++
Plugins :: in_exec
execute external programs

              in_exec          out_exec_ lter
   external   stdout                  stdin   external
                        Fluentd
   program                          stdout    program
                              out_exec
                TSV → stdin
                                   ✓ Python
                        external
                                   ✓ Perl
                        program
                                   ✓ C++
Plugins :: in_tail
Read event logs from a le


                       Application



                            File /var/log/access.log
                                             ✓ Apache log parser
                               in_tail
                                             ✓ Syslog parser
                                             ✓ Custom parser
                        Fluentd
Plugins :: in_tail
Apache log parser
87.12.1.87 - - [04/Feb/2012:00:20:11 +0900] "GET / HTTP/1.1" 200 98
87.12.1.87 - - [04/Feb/2012:00:20:11 +0900] "GET / HTTP/1.1" 200 98
...



   {
       “host”: “87.12.1.87”,
       “method”: “GET”,
       “code”: 200,
       “size”: 98,
       “path”: “/”
   }
   ...
Plugins
•   Bundled plugins
    >   le
          writes event logs to les hourly or daily
    >   forward
          forwards event logs (+fail-over and load balancing)
    >   exec
          passes event logs to/from external commands
    >   tail
          reads event logs from a le (like `tail -f`)
Plugins
•   3rd party plugins
    >     scribe
            integrates Fluentd with Scribe
    >     s3
            uploads log les to Amazon S3 hourly or daily
    >     mongo
            writes logs to MongoDB
    >     hoop
            puts log les on Hadoop HDFS via Hoop
    ...
Plugin developer API

•   Unit test framework (like “MRUnit”)
    >   Fluent::Test::InputTestDriver
    >   Fluent::Test::OutputTestDriver
    >   Fluent::Test::BufferedOutputTestDriver

•   Fluent::TailInput (base class of “tail” plugin)
    >   text parser is customizable
          def parse_line(line)
Fluentd
•   Documents
    >   http://fluentd.org

•   Source code
    >   http://github.com/fluent

•   Twitter
    >   #fluentd

•   Mailing list
    >   http://groups.google.com/group/fluentd
“BIG DATA ANALYTICS PLATFORM”
         as a Service
Fluentd & Treasure Data
  Fluentd          Fluentd                 Fluentd



                                        Realtime!
             Fluentd    Fluentd




  Hadoop
            MongoDB
                             Amazon          Ready to
   / Hive                    S3 / EMR        Analyze!
Fluentd & Treasure Data
  Fluentd         Fluentd           Fluentd



                                 Realtime!
            Fluentd    Fluentd




              Treasure Data           Ready to
              Cloud Platform          Analyze!
Fluentd & Treasure Data
                         Treasure Data
                         Cloud Platform



                SQL           Visualization
SELECT users.age, COUNT(1)
FROM logs
LEFT JOIN users ON
  logs.user_id = users.id
GROUP BY users.age
WHERE path = “/buyItem”

Weitere ähnliche Inhalte

Was ist angesagt?

Fluentd v1.0 in a nutshell
Fluentd v1.0 in a nutshellFluentd v1.0 in a nutshell
Fluentd v1.0 in a nutshellN Masahiro
 
Fluentd unified logging layer
Fluentd   unified logging layerFluentd   unified logging layer
Fluentd unified logging layerKiyoto Tamura
 
Fluentd introduction at ipros
Fluentd introduction at iprosFluentd introduction at ipros
Fluentd introduction at iprosTreasure Data, Inc.
 
Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)
Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)
Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)James Titcumb
 
Apache Thrift
Apache ThriftApache Thrift
Apache Thriftknight1128
 
Fluentd - Set Up Once, Collect More
Fluentd - Set Up Once, Collect MoreFluentd - Set Up Once, Collect More
Fluentd - Set Up Once, Collect MoreSadayuki Furuhashi
 
Fluentd v0.14 Plugin API Details
Fluentd v0.14 Plugin API DetailsFluentd v0.14 Plugin API Details
Fluentd v0.14 Plugin API DetailsSATOSHI TAGOMORI
 
Php Dependency Management with Composer ZendCon 2016
Php Dependency Management with Composer ZendCon 2016Php Dependency Management with Composer ZendCon 2016
Php Dependency Management with Composer ZendCon 2016Clark Everetts
 
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...Data Con LA
 
An introduction to Apache Thrift
An introduction to Apache ThriftAn introduction to Apache Thrift
An introduction to Apache ThriftMike Frampton
 
Fluentd v0.12 master guide
Fluentd v0.12 master guideFluentd v0.12 master guide
Fluentd v0.12 master guideN Masahiro
 
Perl Dist::Surveyor 2011
Perl Dist::Surveyor 2011Perl Dist::Surveyor 2011
Perl Dist::Surveyor 2011Tim Bunce
 
Fluentd at HKOScon
Fluentd at HKOSconFluentd at HKOScon
Fluentd at HKOSconN Masahiro
 
JavaOne 2009 - TS-5276 - RESTful Protocol Buffers
JavaOne 2009 - TS-5276 - RESTful  Protocol BuffersJavaOne 2009 - TS-5276 - RESTful  Protocol Buffers
JavaOne 2009 - TS-5276 - RESTful Protocol BuffersMatt O'Keefe
 
Networked APIs with swift
Networked APIs with swiftNetworked APIs with swift
Networked APIs with swiftTim Burks
 

Was ist angesagt? (20)

Php’s guts
Php’s gutsPhp’s guts
Php’s guts
 
Fluentd meetup #2
Fluentd meetup #2Fluentd meetup #2
Fluentd meetup #2
 
Fluentd v1.0 in a nutshell
Fluentd v1.0 in a nutshellFluentd v1.0 in a nutshell
Fluentd v1.0 in a nutshell
 
Fluentd unified logging layer
Fluentd   unified logging layerFluentd   unified logging layer
Fluentd unified logging layer
 
Fluentd introduction at ipros
Fluentd introduction at iprosFluentd introduction at ipros
Fluentd introduction at ipros
 
Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)
Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)
Kicking off with Zend Expressive and Doctrine ORM (ZendCon 2016)
 
Hacking with hhvm
Hacking with hhvmHacking with hhvm
Hacking with hhvm
 
Apache Thrift
Apache ThriftApache Thrift
Apache Thrift
 
Fluentd - Set Up Once, Collect More
Fluentd - Set Up Once, Collect MoreFluentd - Set Up Once, Collect More
Fluentd - Set Up Once, Collect More
 
Fluentd v0.14 Plugin API Details
Fluentd v0.14 Plugin API DetailsFluentd v0.14 Plugin API Details
Fluentd v0.14 Plugin API Details
 
Php Dependency Management with Composer ZendCon 2016
Php Dependency Management with Composer ZendCon 2016Php Dependency Management with Composer ZendCon 2016
Php Dependency Management with Composer ZendCon 2016
 
The basics of fluentd
The basics of fluentdThe basics of fluentd
The basics of fluentd
 
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
 
An introduction to Apache Thrift
An introduction to Apache ThriftAn introduction to Apache Thrift
An introduction to Apache Thrift
 
Fluentd v0.12 master guide
Fluentd v0.12 master guideFluentd v0.12 master guide
Fluentd v0.12 master guide
 
Perl Dist::Surveyor 2011
Perl Dist::Surveyor 2011Perl Dist::Surveyor 2011
Perl Dist::Surveyor 2011
 
Fluentd at HKOScon
Fluentd at HKOSconFluentd at HKOScon
Fluentd at HKOScon
 
JavaOne 2009 - TS-5276 - RESTful Protocol Buffers
JavaOne 2009 - TS-5276 - RESTful  Protocol BuffersJavaOne 2009 - TS-5276 - RESTful  Protocol Buffers
JavaOne 2009 - TS-5276 - RESTful Protocol Buffers
 
Networked APIs with swift
Networked APIs with swiftNetworked APIs with swift
Networked APIs with swift
 
Lecture8
Lecture8Lecture8
Lecture8
 

Andere mochten auch

Diabetic food guide
Diabetic food guide Diabetic food guide
Diabetic food guide Keya Mitra
 
Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)
Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)
Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)MĂŠlida Sanabria
 
Cerro colorado gomez y bonavia 4 a
Cerro colorado gomez y bonavia 4 aCerro colorado gomez y bonavia 4 a
Cerro colorado gomez y bonavia 4 apertileivan
 
Gerardo Ortiz noticias
Gerardo Ortiz noticiasGerardo Ortiz noticias
Gerardo Ortiz noticiasAndy Desai
 
Definiciones grecia roma
Definiciones grecia romaDefiniciones grecia roma
Definiciones grecia roma--- ---
 
Zend Con 2008 Slides
Zend Con 2008 SlidesZend Con 2008 Slides
Zend Con 2008 Slidesmkherlakian
 
Cv Daniel Blanco (EspaĂąol)
Cv Daniel Blanco (EspaĂąol)Cv Daniel Blanco (EspaĂąol)
Cv Daniel Blanco (EspaĂąol)Daniel_Blanco_Ruiz
 
Tintas.impresiones
Tintas.impresionesTintas.impresiones
Tintas.impresionessan_van
 
40 aniversario mulos_rojos_fcq_1970-1971-ligero2
40 aniversario mulos_rojos_fcq_1970-1971-ligero240 aniversario mulos_rojos_fcq_1970-1971-ligero2
40 aniversario mulos_rojos_fcq_1970-1971-ligero2EXMULOS
 
Fotos el Balsal Valle
Fotos el Balsal ValleFotos el Balsal Valle
Fotos el Balsal Valleandrew7246
 
InnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez Batalla
InnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez BatallaInnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez Batalla
InnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez BatallaEOI Escuela de OrganizaciĂłn Industrial
 
ADT Commercial Security in DFW
ADT Commercial Security in DFWADT Commercial Security in DFW
ADT Commercial Security in DFWLon Bason
 
DANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of Dischord
DANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of DischordDANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of Dischord
DANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of Dischordjotunheimm
 
Lt200 drb200 tecnico
Lt200 drb200 tecnicoLt200 drb200 tecnico
Lt200 drb200 tecnicomiguecas
 
alimentos alcalinos contra el cancer fruta para el cancer, DIETA ANTICANCER
alimentos alcalinos contra el cancer  fruta para el cancer, DIETA ANTICANCERalimentos alcalinos contra el cancer  fruta para el cancer, DIETA ANTICANCER
alimentos alcalinos contra el cancer fruta para el cancer, DIETA ANTICANCERjorge andres
 
Request Lifecycle im Zend Framework
Request Lifecycle im Zend FrameworkRequest Lifecycle im Zend Framework
Request Lifecycle im Zend FrameworkMayflower GmbH
 
PanteĂłn y cosmogonĂ­a romana
PanteĂłn y cosmogonĂ­a romanaPanteĂłn y cosmogonĂ­a romana
PanteĂłn y cosmogonĂ­a romanafriflome
 
Microsoft Innovative Teachers Conference--Q & A Session
Microsoft Innovative Teachers Conference--Q & A SessionMicrosoft Innovative Teachers Conference--Q & A Session
Microsoft Innovative Teachers Conference--Q & A SessionRichard Van Eck
 

Andere mochten auch (20)

Diabetic food guide
Diabetic food guide Diabetic food guide
Diabetic food guide
 
Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)
Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)
Trabajo equipo n5 final gerencia estrategica de la comunicaciĂłn (1)
 
Cerro colorado gomez y bonavia 4 a
Cerro colorado gomez y bonavia 4 aCerro colorado gomez y bonavia 4 a
Cerro colorado gomez y bonavia 4 a
 
Gerardo Ortiz noticias
Gerardo Ortiz noticiasGerardo Ortiz noticias
Gerardo Ortiz noticias
 
Definiciones grecia roma
Definiciones grecia romaDefiniciones grecia roma
Definiciones grecia roma
 
Zend Con 2008 Slides
Zend Con 2008 SlidesZend Con 2008 Slides
Zend Con 2008 Slides
 
Organ y plani
Organ y planiOrgan y plani
Organ y plani
 
Cv Daniel Blanco (EspaĂąol)
Cv Daniel Blanco (EspaĂąol)Cv Daniel Blanco (EspaĂąol)
Cv Daniel Blanco (EspaĂąol)
 
Ind scan
Ind scanInd scan
Ind scan
 
Tintas.impresiones
Tintas.impresionesTintas.impresiones
Tintas.impresiones
 
40 aniversario mulos_rojos_fcq_1970-1971-ligero2
40 aniversario mulos_rojos_fcq_1970-1971-ligero240 aniversario mulos_rojos_fcq_1970-1971-ligero2
40 aniversario mulos_rojos_fcq_1970-1971-ligero2
 
Fotos el Balsal Valle
Fotos el Balsal ValleFotos el Balsal Valle
Fotos el Balsal Valle
 
InnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez Batalla
InnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez BatallaInnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez Batalla
InnovaciĂłn incremental: Soluciones Reales. Fidel RodrĂ­guez Batalla
 
ADT Commercial Security in DFW
ADT Commercial Security in DFWADT Commercial Security in DFW
ADT Commercial Security in DFW
 
DANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of Dischord
DANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of DischordDANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of Dischord
DANTE'S INFERNO | Circle 8 Bolgia 9: Sowers of Dischord
 
Lt200 drb200 tecnico
Lt200 drb200 tecnicoLt200 drb200 tecnico
Lt200 drb200 tecnico
 
alimentos alcalinos contra el cancer fruta para el cancer, DIETA ANTICANCER
alimentos alcalinos contra el cancer  fruta para el cancer, DIETA ANTICANCERalimentos alcalinos contra el cancer  fruta para el cancer, DIETA ANTICANCER
alimentos alcalinos contra el cancer fruta para el cancer, DIETA ANTICANCER
 
Request Lifecycle im Zend Framework
Request Lifecycle im Zend FrameworkRequest Lifecycle im Zend Framework
Request Lifecycle im Zend Framework
 
PanteĂłn y cosmogonĂ­a romana
PanteĂłn y cosmogonĂ­a romanaPanteĂłn y cosmogonĂ­a romana
PanteĂłn y cosmogonĂ­a romana
 
Microsoft Innovative Teachers Conference--Q & A Session
Microsoft Innovative Teachers Conference--Q & A SessionMicrosoft Innovative Teachers Conference--Q & A Session
Microsoft Innovative Teachers Conference--Q & A Session
 

Ähnlich wie upload test 1

How to collect Big Data into Hadoop
How to collect Big Data into HadoopHow to collect Big Data into Hadoop
How to collect Big Data into HadoopSadayuki Furuhashi
 
Fluentd Unified Logging Layer At Fossasia
Fluentd Unified Logging Layer At FossasiaFluentd Unified Logging Layer At Fossasia
Fluentd Unified Logging Layer At FossasiaN Masahiro
 
Logging for Production Systems in The Container Era
Logging for Production Systems in The Container EraLogging for Production Systems in The Container Era
Logging for Production Systems in The Container EraSadayuki Furuhashi
 
Fluentd meetup logging infrastructure in paa s
Fluentd meetup   logging infrastructure in paa sFluentd meetup   logging infrastructure in paa s
Fluentd meetup logging infrastructure in paa sRakuten Group, Inc.
 
Fluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker containerFluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker containerTreasure Data, Inc.
 
Fluentd and Embulk Game Server 4
Fluentd and Embulk Game Server 4Fluentd and Embulk Game Server 4
Fluentd and Embulk Game Server 4N Masahiro
 
Experiences with Microservices at Tuenti
Experiences with Microservices at TuentiExperiences with Microservices at Tuenti
Experiences with Microservices at TuentiAndrĂŠs Viedma PelĂĄez
 
(phpconftw2012) PHP as a Middleware in Embedded Systems
(phpconftw2012) PHP as a Middleware in Embedded Systems(phpconftw2012) PHP as a Middleware in Embedded Systems
(phpconftw2012) PHP as a Middleware in Embedded Systemssosorry
 
Fluentd Overview, Now and Then
Fluentd Overview, Now and ThenFluentd Overview, Now and Then
Fluentd Overview, Now and ThenSATOSHI TAGOMORI
 
Monitoring.pptx
Monitoring.pptxMonitoring.pptx
Monitoring.pptxShadi Akil
 
Fluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker containerFluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker containerTreasure Data, Inc.
 
Fluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUFluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUN Masahiro
 
Fluentd and PHP
Fluentd and PHPFluentd and PHP
Fluentd and PHPchobi e
 
Rapid java backend and api development for mobile devices
Rapid java backend and api development for mobile devicesRapid java backend and api development for mobile devices
Rapid java backend and api development for mobile devicesciklum_ods
 
Advanced Eclipse Workshop (held at IPC2010 -spring edition-)
Advanced Eclipse Workshop (held at IPC2010 -spring edition-)Advanced Eclipse Workshop (held at IPC2010 -spring edition-)
Advanced Eclipse Workshop (held at IPC2010 -spring edition-)Bastian Feder
 
fluentd -- the missing log collector
fluentd -- the missing log collectorfluentd -- the missing log collector
fluentd -- the missing log collectorMuga Nishizawa
 
Fluentd - RubyKansai 65
Fluentd - RubyKansai 65Fluentd - RubyKansai 65
Fluentd - RubyKansai 65N Masahiro
 

Ähnlich wie upload test 1 (20)

Fluentd meetup
Fluentd meetupFluentd meetup
Fluentd meetup
 
How to collect Big Data into Hadoop
How to collect Big Data into HadoopHow to collect Big Data into Hadoop
How to collect Big Data into Hadoop
 
Fluentd Unified Logging Layer At Fossasia
Fluentd Unified Logging Layer At FossasiaFluentd Unified Logging Layer At Fossasia
Fluentd Unified Logging Layer At Fossasia
 
Fluentd 101
Fluentd 101Fluentd 101
Fluentd 101
 
Logging for Production Systems in The Container Era
Logging for Production Systems in The Container EraLogging for Production Systems in The Container Era
Logging for Production Systems in The Container Era
 
Fluentd meetup logging infrastructure in paa s
Fluentd meetup   logging infrastructure in paa sFluentd meetup   logging infrastructure in paa s
Fluentd meetup logging infrastructure in paa s
 
Fluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker containerFluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker container
 
Fluentd and Embulk Game Server 4
Fluentd and Embulk Game Server 4Fluentd and Embulk Game Server 4
Fluentd and Embulk Game Server 4
 
Experiences with Microservices at Tuenti
Experiences with Microservices at TuentiExperiences with Microservices at Tuenti
Experiences with Microservices at Tuenti
 
(phpconftw2012) PHP as a Middleware in Embedded Systems
(phpconftw2012) PHP as a Middleware in Embedded Systems(phpconftw2012) PHP as a Middleware in Embedded Systems
(phpconftw2012) PHP as a Middleware in Embedded Systems
 
Fluentd Overview, Now and Then
Fluentd Overview, Now and ThenFluentd Overview, Now and Then
Fluentd Overview, Now and Then
 
The basics of fluentd
The basics of fluentdThe basics of fluentd
The basics of fluentd
 
Monitoring.pptx
Monitoring.pptxMonitoring.pptx
Monitoring.pptx
 
Fluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker containerFluentd and Docker - running fluentd within a docker container
Fluentd and Docker - running fluentd within a docker container
 
Fluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUFluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EU
 
Fluentd and PHP
Fluentd and PHPFluentd and PHP
Fluentd and PHP
 
Rapid java backend and api development for mobile devices
Rapid java backend and api development for mobile devicesRapid java backend and api development for mobile devices
Rapid java backend and api development for mobile devices
 
Advanced Eclipse Workshop (held at IPC2010 -spring edition-)
Advanced Eclipse Workshop (held at IPC2010 -spring edition-)Advanced Eclipse Workshop (held at IPC2010 -spring edition-)
Advanced Eclipse Workshop (held at IPC2010 -spring edition-)
 
fluentd -- the missing log collector
fluentd -- the missing log collectorfluentd -- the missing log collector
fluentd -- the missing log collector
 
Fluentd - RubyKansai 65
Fluentd - RubyKansai 65Fluentd - RubyKansai 65
Fluentd - RubyKansai 65
 

Mehr von Sadayuki Furuhashi

Scripting Embulk Plugins
Scripting Embulk PluginsScripting Embulk Plugins
Scripting Embulk PluginsSadayuki Furuhashi
 
Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019
Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019
Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019Sadayuki Furuhashi
 
Automating Workflows for Analytics Pipelines
Automating Workflows for Analytics PipelinesAutomating Workflows for Analytics Pipelines
Automating Workflows for Analytics PipelinesSadayuki Furuhashi
 
Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理Sadayuki Furuhashi
 
Fluentd at Bay Area Kubernetes Meetup
Fluentd at Bay Area Kubernetes MeetupFluentd at Bay Area Kubernetes Meetup
Fluentd at Bay Area Kubernetes MeetupSadayuki Furuhashi
 
DigdagはなぜYAMLなのか?
DigdagはなぜYAMLなのか?DigdagはなぜYAMLなのか?
DigdagはなぜYAMLなのか?Sadayuki Furuhashi
 
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11Sadayuki Furuhashi
 
Fighting Against Chaotically Separated Values with Embulk
Fighting Against Chaotically Separated Values with EmbulkFighting Against Chaotically Separated Values with Embulk
Fighting Against Chaotically Separated Values with EmbulkSadayuki Furuhashi
 
Embulk - 進化するバルクデータローダ
Embulk - 進化するバルクデータローダEmbulk - 進化するバルクデータローダ
Embulk - 進化するバルクデータローダSadayuki Furuhashi
 
Plugin-based software design with Ruby and RubyGems
Plugin-based software design with Ruby and RubyGemsPlugin-based software design with Ruby and RubyGems
Plugin-based software design with Ruby and RubyGemsSadayuki Furuhashi
 
Embulk, an open-source plugin-based parallel bulk data loader
Embulk, an open-source plugin-based parallel bulk data loaderEmbulk, an open-source plugin-based parallel bulk data loader
Embulk, an open-source plugin-based parallel bulk data loaderSadayuki Furuhashi
 
Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1Sadayuki Furuhashi
 
Presto+MySQLで分散SQL
Presto+MySQLで分散SQLPresto+MySQLで分散SQL
Presto+MySQLで分散SQLSadayuki Furuhashi
 
Presto - Hadoop Conference Japan 2014
Presto - Hadoop Conference Japan 2014Presto - Hadoop Conference Japan 2014
Presto - Hadoop Conference Japan 2014Sadayuki Furuhashi
 
Prestogres, ODBC & JDBC connectivity for Presto
Prestogres, ODBC & JDBC connectivity for PrestoPrestogres, ODBC & JDBC connectivity for Presto
Prestogres, ODBC & JDBC connectivity for PrestoSadayuki Furuhashi
 
What's new in v11 - Fluentd Casual Talks #3 #fluentdcasual
What's new in v11 - Fluentd Casual Talks #3 #fluentdcasualWhat's new in v11 - Fluentd Casual Talks #3 #fluentdcasual
What's new in v11 - Fluentd Casual Talks #3 #fluentdcasualSadayuki Furuhashi
 
How we use Fluentd in Treasure Data
How we use Fluentd in Treasure DataHow we use Fluentd in Treasure Data
How we use Fluentd in Treasure DataSadayuki Furuhashi
 

Mehr von Sadayuki Furuhashi (20)

Scripting Embulk Plugins
Scripting Embulk PluginsScripting Embulk Plugins
Scripting Embulk Plugins
 
Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019
Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019
Performance Optimization Techniques of MessagePack-Ruby - RubyKaigi 2019
 
Making KVS 10x Scalable
Making KVS 10x ScalableMaking KVS 10x Scalable
Making KVS 10x Scalable
 
Automating Workflows for Analytics Pipelines
Automating Workflows for Analytics PipelinesAutomating Workflows for Analytics Pipelines
Automating Workflows for Analytics Pipelines
 
Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理
 
Fluentd at Bay Area Kubernetes Meetup
Fluentd at Bay Area Kubernetes MeetupFluentd at Bay Area Kubernetes Meetup
Fluentd at Bay Area Kubernetes Meetup
 
DigdagはなぜYAMLなのか?
DigdagはなぜYAMLなのか?DigdagはなぜYAMLなのか?
DigdagはなぜYAMLなのか?
 
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
 
Fighting Against Chaotically Separated Values with Embulk
Fighting Against Chaotically Separated Values with EmbulkFighting Against Chaotically Separated Values with Embulk
Fighting Against Chaotically Separated Values with Embulk
 
Embulk - 進化するバルクデータローダ
Embulk - 進化するバルクデータローダEmbulk - 進化するバルクデータローダ
Embulk - 進化するバルクデータローダ
 
Plugin-based software design with Ruby and RubyGems
Plugin-based software design with Ruby and RubyGemsPlugin-based software design with Ruby and RubyGems
Plugin-based software design with Ruby and RubyGems
 
Embuk internals
Embuk internalsEmbuk internals
Embuk internals
 
Embulk, an open-source plugin-based parallel bulk data loader
Embulk, an open-source plugin-based parallel bulk data loaderEmbulk, an open-source plugin-based parallel bulk data loader
Embulk, an open-source plugin-based parallel bulk data loader
 
Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1
 
Prestogres internals
Prestogres internalsPrestogres internals
Prestogres internals
 
Presto+MySQLで分散SQL
Presto+MySQLで分散SQLPresto+MySQLで分散SQL
Presto+MySQLで分散SQL
 
Presto - Hadoop Conference Japan 2014
Presto - Hadoop Conference Japan 2014Presto - Hadoop Conference Japan 2014
Presto - Hadoop Conference Japan 2014
 
Prestogres, ODBC & JDBC connectivity for Presto
Prestogres, ODBC & JDBC connectivity for PrestoPrestogres, ODBC & JDBC connectivity for Presto
Prestogres, ODBC & JDBC connectivity for Presto
 
What's new in v11 - Fluentd Casual Talks #3 #fluentdcasual
What's new in v11 - Fluentd Casual Talks #3 #fluentdcasualWhat's new in v11 - Fluentd Casual Talks #3 #fluentdcasual
What's new in v11 - Fluentd Casual Talks #3 #fluentdcasual
 
How we use Fluentd in Treasure Data
How we use Fluentd in Treasure DataHow we use Fluentd in Treasure Data
How we use Fluentd in Treasure Data
 

KĂźrzlich hochgeladen

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...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
 
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
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
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
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
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
 

KĂźrzlich hochgeladen (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+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...
 
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
 
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
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
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
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 

upload test 1

  • 1. Fluentd Structured logging Pluggable architecture Reliable forwarding e Event Collector Service Sadayuki Furuhashi Treasure Data, Inc. @frsyuki
  • 2. • Sadayuki Furuhashi > twitter: @frsyuki • Treasure Data, Inc. > Software Engineer; founder • Author of MessagePack • Author of Fluentd
  • 3. What’s Fluentd? It's like syslogd, but uses JSON for log messages
  • 4. What’s Fluentd? Application 2012-02-04 01:33:51 myapp.buylog { Fluentd “user”: ”me”, “path”: “/buyItem”, “price”: 150, “referer”: “/landing” Storage }
  • 5. What’s Fluentd? time Application tag 2012-02-04 01:33:51 myapp.buylog { Fluentd “user”: ”me”, “path”: “/buyItem”, “price”: 150, “referer”: “/landing” Storage } record
  • 6. What’s Fluentd? Application Fluentd lter / bu er / routing Storage
  • 7. What’s Fluentd? Application Fluentd lter / bu er / routing SaaS Storage Fluentd Plug-in Plug-in Plug-in
  • 8. What’s Fluentd? syslogd Scribe Application File Plug-in tail Plug-in Plug-in Fluentd lter / bu er / routing SaaS Storage Fluentd Plug-in Plug-in Plug-in
  • 9. What’s Fluentd? • Client libraries > Ruby > Perl Application > PHP > Python > Java Fluentd > ... Fluent.open(“myapp”) Fluent.event(“login”, {“user”=>38}) #=> 2012-02-04 04:56:01 myapp.login {“user”:38}
  • 10. Fluentd & Event logs Before: App server App server App server Application Application Application File File File ... File File File ... File File File ... File High latency must wait for a day Log server Hard to analyze complex text parsers
  • 11. Fluentd & Event logs After: App server App server App server Application Application Application Fluentd Fluentd Fluentd Realtime! Fluentd Fluentd
  • 12. Fluentd & Event logs Fluentd Fluentd Fluentd Realtime! Fluentd Fluentd Hadoop Amazon Ready to MongoDB / Hive S3 / EMR Analyze!
  • 13. # receive events via HTTP # save alerts to a file <source> <match alert.**> type http type file port 8888 path /var/log/fluent/alerts </source> </match> # 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>
  • 14. Fluentd vs Scribe • Deals with structured logs • Easy to install > “gem install fluentd” > apt-get and yum http://packages.treasure-data.com/ • Easy to customize • add/modify plugins without re-compiling > “gem search -rd fluent-plugin”
  • 15. Fluentd vs Flume • Easy to setup > “sudo fluentd --setup && fluentd” • Very small footprint > small engine (3,000 lines) + plugins • JVM-free • Easy to congure
  • 20. Plugins :: out_forward forward event logs Fluentd Heartbeat out_forward in_forward Fluentd Fluentd ✓ load balancing
  • 21. Plugins :: out_forward forward event logs Fluentd Heartbeat out_forward φ accrual failure detector in_forward Fluentd Fluentd ✓ load balancing
  • 22. Plugins :: out_copy duplicate event logs Fluentd out_copy out_mongo out_forward out_ le MongoDB File Fluentd
  • 23. Plugins :: buf_ le reliable bu ering buf_ le Fluentd le le ✓ Automatic retry le ✓ 2^N retry interval le ✓ Persistent bu er
  • 24. Plugins :: out_exec execute external programs Fluentd out_exec TSV → stdin ✓ Python external ✓ Perl program ✓ C++
  • 25. Plugins :: out_exec_ lter execute external programs out_exec_ lter stdin external Fluentd stdout program out_exec TSV → stdin ✓ Python external ✓ Perl program ✓ C++
  • 26. Plugins :: in_exec execute external programs in_exec out_exec_ lter external stdout stdin external Fluentd program stdout program out_exec TSV → stdin ✓ Python external ✓ Perl program ✓ C++
  • 27. Plugins :: in_tail Read event logs from a le Application File /var/log/access.log ✓ Apache log parser in_tail ✓ Syslog parser ✓ Custom parser Fluentd
  • 28. Plugins :: in_tail Apache log parser 87.12.1.87 - - [04/Feb/2012:00:20:11 +0900] "GET / HTTP/1.1" 200 98 87.12.1.87 - - [04/Feb/2012:00:20:11 +0900] "GET / HTTP/1.1" 200 98 ... { “host”: “87.12.1.87”, “method”: “GET”, “code”: 200, “size”: 98, “path”: “/” } ...
  • 29. Plugins • Bundled plugins > le writes event logs to les hourly or daily > forward forwards event logs (+fail-over and load balancing) > exec passes event logs to/from external commands > tail reads event logs from a le (like `tail -f`)
  • 30. Plugins • 3rd party plugins > scribe integrates Fluentd with Scribe > s3 uploads log les to Amazon S3 hourly or daily > mongo writes logs to MongoDB > hoop puts log les on Hadoop HDFS via Hoop ...
  • 31. Plugin developer API • Unit test framework (like “MRUnit”) > Fluent::Test::InputTestDriver > Fluent::Test::OutputTestDriver > Fluent::Test::BufferedOutputTestDriver • Fluent::TailInput (base class of “tail” plugin) > text parser is customizable def parse_line(line)
  • 32. Fluentd • Documents > http://fluentd.org • Source code > http://github.com/fluent • Twitter > #fluentd • Mailing list > http://groups.google.com/group/fluentd
  • 33.
  • 34. “BIG DATA ANALYTICS PLATFORM” as a Service
  • 35.
  • 36.
  • 37. Fluentd & Treasure Data Fluentd Fluentd Fluentd Realtime! Fluentd Fluentd Hadoop MongoDB Amazon Ready to / Hive S3 / EMR Analyze!
  • 38. Fluentd & Treasure Data Fluentd Fluentd Fluentd Realtime! Fluentd Fluentd Treasure Data Ready to Cloud Platform Analyze!
  • 39. Fluentd & Treasure Data Treasure Data Cloud Platform SQL Visualization SELECT users.age, COUNT(1) FROM logs LEFT JOIN users ON logs.user_id = users.id GROUP BY users.age WHERE path = “/buyItem”
  • 40.
  • 41. Contacts : sales@treasure-data.com