Top Banner
Open source network and application tracing Monica Sarbu & Tudor Golubenco
15

Packetbeat at GDG Berlin meetup

Jul 16, 2015

Download

Technology

Tudor Golubenco
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Packetbeat at GDG Berlin meetup

Open source network and application tracing

Monica Sarbu & Tudor Golubenco

Page 2: Packetbeat at GDG Berlin meetup

• Sniffs and dissects packets on the network

• { “method”: “GET”, “path”: “/users/“, “status”: “OK”, “http.code”: 200, “http.phrase”: “OK” …}

• {“responsetime”: 12000, “bytes_out”: 578 …}

• {“service”: “Service15”, “host”: “alpha” … }

• Inserts this data in Elasticsearch

Page 3: Packetbeat at GDG Berlin meetup

Imagine having the Firebug network tab not only when developing

but also in production

Page 4: Packetbeat at GDG Berlin meetup

For all users, all the time

Page 5: Packetbeat at GDG Berlin meetup

And between servers as well

even between processes on the same host

Page 6: Packetbeat at GDG Berlin meetup

All of this with history, indexed and searchable

So you can troubleshoot an error from yesterday

Page 7: Packetbeat at GDG Berlin meetup

Visualise your topology

Page 8: Packetbeat at GDG Berlin meetup

Visualise response times

Page 9: Packetbeat at GDG Berlin meetup

Find problematic hosts / URLs / queries / services / methods / …

Page 10: Packetbeat at GDG Berlin meetup

Compare different services / servers / URLs / methods / …

Graphs have sub-second resolution

Page 11: Packetbeat at GDG Berlin meetup

Protocol support

• HTTP

• MySQL

• PostgreSQL

• REDIS

• Thrift-RPC

• DNS

• Memcache

• Oracle

• MSSQL

• Sybase

• MongoDB

• Cassandra

soon™:

Page 12: Packetbeat at GDG Berlin meetup

Plans for 2015• New inputs (besides sniffing):

• Middleware agents for Revel, Martini, Rails, Django

• JVM byte-code-injection agent

• API gateway for 3rd party services

• Y! Boomerang for RUM

• Nginx/Apache log files

• Your own instrumentation code

Page 13: Packetbeat at GDG Berlin meetup

processorsinputs outputs

Page 14: Packetbeat at GDG Berlin meetup

Normalise URLs / Queries Obfuscate parameters

• Transforms:

• SELECT * FROM table WHERE name=“Foobar” AND value=123;

• To

• SELECT * FROM table WHERE name=[S8] AND value=[N128];

Page 15: Packetbeat at GDG Berlin meetup

We’re hiring*

• http://packetbeat.com

• @packetbeat

*We’re not paying