Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tool Time with John
Search
John Vincent
February 16, 2012
Technology
460
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Tool Time with John
Presentation at Atlanta Puppet User's Group
John Vincent
February 16, 2012
More Decks by John Vincent
See All by John Vincent
Configuration management is a solved problem?
lusis
1
920
Everything about devops from metal
lusis
0
390
The Magic Omnibus
lusis
7
1.9k
Why Riak Matters
lusis
1
320
Monitorama 2013
lusis
7
1.9k
A Boy and His Logs
lusis
5
2.1k
Cross node orchestration with Chef and Noah
lusis
3
1.9k
Logging Patterns with Logstash and Chef
lusis
14
5.3k
The UnNamed Talk
lusis
7
1.4k
Other Decks in Technology
See All in Technology
Digitization部 紹介資料
sansan33
PRO
2
7.7k
関東Kaggler会発表資料
takoi
1
260
tamachi.go 誕生の裏側
rymiyamoto
1
110
猫付きpingコマンドを自作
uyuki234
0
260
20分でわかるセキュアAPI
nwiizo
2
310
コネクションをピン留めさせずに SELECTクエリのタイムアウトを設定した話
codmoninc
0
160
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
230
AI開発に用いられるHPC技術について
gpuunite_official
0
120
老害フォレンジッカーはAI羊の夢を見るか?
tadmaddad
0
350
Model Studio CLI × Token Plan
maigo999
0
190
案件に一番詳しいAIを Amazon Bedrock AgentCore で作る ― 知見が知見を生むチームへ / Compounding Knowledge with AgentCore
yusukeshimizu
1
150
Software Supply Chain Attackからクラウド環境を守るためにできること
lhazy
2
280
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
First, design no harm
axbom
PRO
2
1.3k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
So, you think you're a good person
axbom
PRO
2
2.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
640
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
490
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Fireside Chat
paigeccino
42
4k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
250
WENDY [Excerpt]
tessaabrams
11
39k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Transcript
Tool Time with John! SE Puppet Users Group 02/16/2012
Everyone needs a tool belt
Why? • To fix things • To make things •
To keep your pants up
Caveats
There are tools
There are the right tools for a given job
Then there's “butterknifing a phillips head”
Fixing Things
Logging is Broken(ish) • Commercial options are expensive • Syslog
isn't flexible enough • Log lines are just data points with a timestamp (event)
Enter Logstash
Logstash • Unix pipe on steroids • If it has
a timestamp, send it to Logstash • Slice it, Dice it, Munge it, Transform it • Now spit it out • This isn't a Logstash talk.
Simple Sample Configuration
More complex (inputs)
More complex (filters)
More complex (outputs)
12 inputs, 11 filters, 21 outputs
Building stuff
Build something • Sockets the way you think sockets should
work • Usable from almost every language • Flow independent • Captures common patterns • Freaking fast
Logstash Filters with ZeroMQ • You need to do something
unique? • There's not a plugin yet? • Specific to your company? • Don't know Ruby? Write your own! (in whatever language you like)
Example – Logstash config
Example – External Filter
End Result
(don't get caught with your) Pants on the Ground
Statsd • Open sourced by Etsy last year • Simple
UDP proxy to Graphite • Different “data types” • Client and Server implementations in almost every language
Graphite • Open sourced by Orbitz • Makes pretty pictures
of data • Does dashboards • Simple API • Does realtime updates • Alternate dashboards available and easy to create
Logstash Configuration
End Result
Recap • Always be adding tools to your toolbelt •
See a cool project? Bookmark it • Evernote/Read it Later are your friends • Always be hacking. Keep your skills fresh.
Links! • Logstash – http://logstash.net • ZeroMQ – http://zeromq.org •
Statsd – http://github.com/etsy/statsd • Graphite – http://graphite.wikidot.com • Evernote – http://evernote.com
Thanks! • Twitter - @lusis • Github – lusis •
Email –
[email protected]