SlideShare a Scribd company logo
1 of 30
Download to read offline
BW3	
Concurrent	Session	
11/8/17	11:30	AM	
	
	
	
	
	
Machine	Data	Is	EVERYWHERE:	Use	It	
for	Testing	
	
Presented	by:	
	
Tom	Chavez	
Splunk	
	
	
Brought	to	you	by:		
		
	
	
	
	
350	Corporate	Way,	Suite	400,	Orange	Park,	FL	32073		
888---268---8770	··	904---278---0524	-	info@techwell.com	-	https://www.techwell.com/
Tom	Chavez	
Splunk	
	
Tom	Chavez	has	more	than	twenty	years	of	experience	as	a	manager	and	product	
manager	in	the	software	development	tools	field.	Tom	works	in	product	
marketing	to	developers	at	Splunk,	the	leader	in	operational	intelligence.	Tom	
has	worked	across	Silicon	Valley	at	Apple,	Sun,	PalmSource,	and	Intuit,	delivering	
tools	for	Mac,	Java,	PalmOS,	Linux,	and	Android	development	and	testing.	At	
industry	conferences	and	meet-ups,	he	frequently	speaks	on	web	app	
performance	and	testing	at	large	scale,	mobile	continuous	integration	and	
testing,	automated	mobile	testing	tools,	and	Big	Data	analytics	for	business	value.	
Follow	Tom	on	Twitter	@TomChavez.
© 2017 SPLUNK INC.© 2017 SPLUNK INC.
Machine Data is EVERYWHERE!
Use it for Testing
Tom Chavez | Sr. Manager, Developer Marketing
tchavez@splunk.com @TomChavez
November 6, 2017
© 2017 SPLUNK INC.
During the course of this presentation, we may make forward-looking statements regarding future events or
the expected performance of the company. We caution you that such statements reflect our current
expectations and estimates based on factors currently known to us and that actual events or results could
differ materially. For important factors that may cause actual results to differ from those contained in our
forward-looking statements, please review our filings with the SEC.
The forward-looking statements made in this presentation are being made as of the time and date of its live
presentation. If reviewed after its live presentation, this presentation may not contain current or accurate
information. We do not assume any obligation to update any forward-looking statements we may make. In
addition, any information about our roadmap outlines our general product direction and is subject to change
at any time without notice. It is for informational purposes only and shall not be incorporated into any contract
or other commitment. Splunk undertakes no obligation either to develop the features or functionality
described or to include any such feature or functionality in a future release.
Splunk, Splunk>, Listen to Your Data, The Engine for Machine Data, Splunk Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk Inc. in
the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners. © 2017 Splunk Inc. All rights reserved.
Forward-Looking Statements
THIS SLIDE IS REQUIRED FOR ALL 3 PARTY PRESENTATIONS.
© 2017 SPLUNK INC.
Agenda
▶ What is Machine Data?
▶ Where do you find it?
▶ How do you use it in testing?
▶ What else can you do with it?
© 2017 SPLUNK INC.
What is
Machine Data?
© 2017 SPLUNK INC.
▶ Digital Exhaust
• Log files
• Log data written to database
• Log streams
• stdout / stderr
▶ Data about systems, devices, apps, network
• collectd – system stats and application perf metrics
• App crash logs, stack traces / dumps, core dumps
• Wire data – conversations between endpoints
▶ Data from an application, service via REST API, webhook
What is Machine Data?
System and app data that is created and collected
© 2017 SPLUNK INC.
▶ Hardware does –
• Time, temperature, memory, devices, physical state …
▶ Operating systems do –
• Filesystem, memory allocation, threads, stack, …
▶ Software stacks do –
• App server, web server, database, Java, …
▶ Apps do –
• Log and event data, …
▶ Devices do –
• Any sort of log or event data from a device, sensor, …
What Produces Machine Data?
© 2017 SPLUNK INC.
▶ nginx log entry
• 150.128.102.148 - - [07/Aug/2014:00:59:52 +0000] "GET /images/web/2009/banner.png
HTTP/1.1" 200 52315 "http://www.semicomplete.com/blog/articles/week-of-unix-tools/day-
1-sed.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/32.0.1700.107 Safari/537.36
▶ Twitter tweet
• {actor:{displayName: “Go Boys!!”,followersCount:1366,friendsCount:789,
link:http://dallascowboys.com/,location:{displayName:“Dallas, TX”,objectType:“place”},
body: “Can’t buy this device from @ACME. Site doesn’t work! Called, gave up on waiting
for them to answer! RT if you hate @ACME!!”, objectType:“activity”, postedTime: “2016-
05-21T16:39:40.647-0600”}
▶ Java Service Error Log
• 2017-07-12T18:14:50.661995+00:00 ERROR [com.zillow.db.InnerPool] Connection hard closed due to
exception:java.sql.SQLException: Invalid state, the Connection object is closed. src:{ call
dbo.XXXXXXXXXX(XXXXXXXXXX) } on jdbc:jtds:sqlserver://XXXXXXXXXX
What Does Machine Data Look Like?
Sample Log Entries
© 2017 SPLUNK INC.
How does
Machine Data
provide value?
© 2017 SPLUNK INC.
Machine Data Provides Visibility Across Dev and Ops
© 2017 SPLUNK INC.
Machine Data Drives Analytics for Every Phase
© 2017 SPLUNK INC.
▶ Machine data gives a view into an application while it is executing and after
• When did it start, when did it terminate
• What happened in the application while it was running
▶ And of the environment in which the application was run
• What was the state of the environment in which the application was running
• What other systems were running at the time
• How did the environment change while the application was running
▶ Which makes it easier to test, and understand, the app under test
How does Machine Data apply to Testing?
© 2017 SPLUNK INC.
How should we create
Machine Data?
© 2017 SPLUNK INC.
▶ It has to exist – you are logging, right?
▶ It has to be correctly formatted and usable
▶ It has to be consumable by your log capture tools
▶ It has to be complete
Four Rules of Machine Data
© 2017 SPLUNK INC.
▶ Log at the beginning and end of a function denoting its start and successful end.
▶ Log at the beginning and end of any external utility/function being called.
▶ If there is an error, log it only at the lowest level where the error actually
happened, otherwise just return.
▶ At the higher levels just return the error.
▶ While logging errors, always provide a error message too.
Example Project Logging Rules
© 2017 SPLUNK INC.
▶ Use timestamps for every event
• Use the most verbose time granularity possible – time should be rendered to microseconds
• Put the timestamp at the beginning of the line, so not to confuse it with other data
• Include a four-digit year
• Include a time zone, preferably a GMT/UTC offset
▶ Examples:
• 00:00:00.000 Start of test – seen in performance testing
• On what date did this test start? At what time? File creation date might tell, might not.
• Bad: cannot correlate by time with data from other systems.
▶ Source: http://dev.splunk.com/view/logging-best-practices/SP-CAAAFCK
Logging Best Practices
Tips for what to include in data you log
© 2017 SPLUNK INC.
▶ Create events that humans can read
• Avoid using complex encodings. If logs are binary, provide tools to convert to ASCII
• Don’t log a binary file but log the meta for it: file locator + relevant data
• E.g. for a JPG file, include image size, creation tool, username, camera, GPS location, etc.
▶ Use unique identifiers (IDs) such as transaction IDs and user IDs
• Provide greater granularity than time alone
• Can be shared across services, system, machines, networks for easier correlation
Logging Best Practices
© 2017 SPLUNK INC.
▶ Use clear key-value pairs
• key1=value1, key2=value2, key3=value3
• If values contain spaces, quote them: username=”bob smith”
▶ Use a developer-friendly, structured format
• JavaScript Object Notation (JSON):
• { "sender" : "michael”
"recipient": { "name" : "michael", "name" : "andrea", "name" : "itay" }
subject:"I heart logs" }
Logging Best Practices
© 2017 SPLUNK INC.
▶ Identify the source
• Class, function or filename
▶ Use categories
• E.g. severity: INFO, WARN, ERROR, DEBUG
▶ Log more than just debugging events
• Audit trails, what users are doing, transactions, timing information, etc.
Logging Best Practices
© 2017 SPLUNK INC.
How do you consume
Machine Data
in testing?
© 2017 SPLUNK INC.
▶ Free tools for gathering machine data
• Splunk – commercial big data logging and analytics platform, free up to 500Mb data/day
• DataDog – commercial monitoring and analytics tools, free tier
• ELK/Elastic – Open source project to gather data from any source
• Sumo Logic – machine data analytics, free tier
• Loggly – unified log analysis & log monitoring, free lite tier
• Others….
Capturing and Consuming Machine Data
© 2017 SPLUNK INC.
▶ Getting data into your machine data tool
• Look for a marketplace – pre-built add-ons or plug-ins to push, pull, and ingest data
• Code samples to transform data from raw to JSON, or other formats
• Webhooks and REST APIs to push and pull data
• Google for (tool-name) and (data-type), e.g. Jenkins Splunk
Capturing and Consuming Machine Data
© 2017 SPLUNK INC.
▶ Build information
▶ o Queue time
▶ o Build duration
▶ o Job status
▶ o Who started the job
▶ o Console logs
▶ o Artifacts
▶ o Environment /
injected variables
▶ o Testing
▶ § X-unit style report
processing
▶ § TestNG reports
▶ § Cucumber reports
▶ § Data to make test
result triaging (how long
is a test failing, test
duration, etc.)
▶ o Code Coverage
▶ o Build name, id, etc
▶ - Audits (who
changed what)
▶ o Job configs
▶ o Plugin configs
▶ o Master config
▶ - Logs
▶ Slaves logs
▶ o Master logs
▶ o Build/console logs
▶ - Health
▶ o JVM information
▶ o Queuing information
▶ o Slave health stats
▶ o Build distributions
across slaves
▶ o Label distribution
across slaves
Information from the Jenkins plug-in for Splunk
© 2017 SPLUNK INC.
What can you do
with Machine Data?
Graph it, Analyze it, Track it, Test it
© 2017 SPLUNK INC.
Murex talk from .conf2017
Major Financial Trading Platform
© 2017 SPLUNK INC.
▶ How you display machine data – as separate events, look fine
▶ But over time, they can
really add up!
Murex talk from .conf2017
Major Financial Trading Platform
© 2017 SPLUNK INC.
▶ After a test is complete, use the search in your machine data logging tool to
validate that the test was complete, e.g.
• Were all requires tests performed?
• Did results fall within acceptable parameters?
• Did tests perform as expected?
• Did tests create the expected outcomes?
▶ And analyze that the tests were validly performed
• Was the test environment set up to defined specifications?
Analyze the Test Results
© 2017 SPLUNK INC.
▶ Test results over time
▶ Rate of bugs found over time
▶ Rate of bugs closed over time
▶ Average time to close a bug
▶ Time per engineer to close a bug
▶ Sprint Data
• Stories assigned, closed by staff member
• Overview of multiple teams for manager, director, VP view
Splunk Test Automation
Getting Data out of Jira
© 2017 SPLUNK INC.
▶ Zillow at .conf2017
▶ http://conf.splunk.com/sessions/2017-sessions.html#search=jira&
Automatically Categorize Your New Bugs
© 2017 SPLUNK INC.
Getting Data from Jira
© 2017 SPLUNK INC.
Getting Data from Jira
© 2017 SPLUNK INC.
Getting Data from Jira
Monitoring for appropriate behavior
Branch to create new work
© 2017 SPLUNK INC.
▶ Data about your test environment
• Configuration information – changes since last tests
• Logging and data from the environment during the test – looking for changes
Splunk Test Automation
© 2017 SPLUNK INC.
▶ Free data logging & analytics products:
• Splunk: splunk.com
• Elastic: elastic.co
• Datadog: datadoghq.com
▶ Getting Data into tools
• Splunkbase: splunkbase.com
• Google (toolname) and (datatype/source)!
Resources
Where to go now?
© 2017 SPLUNK INC.
▶ Zillow and auto-categorizing of Jira defect tickets
• Finds regressions & automatically identifies up to 80% of daily defects
• http://conf.splunk.com/sessions/2017-sessions.html#search=jira
▶ If You Graph It, They Will See It: Identifying Root Issues from Product Testing to
Production Crisis. (Splunk@Murex For Test and Development)
• Visualizing Data to find Insights
• http://conf.splunk.com/sessions/2017-sessions.html#search=murex&
Public Presentations
© 2017 SPLUNK INC.© 2017 SPLUNK INC.
Thank you!
© 2017 SPLUNK INC.© 2017 SPLUNK INC.
Additional
Content
© 2017 SPLUNK INC.© 2017 SPLUNK INC.
Splunking Jenkins
Getting Awesome Insights about Your Jobs
and Infrastructure
Tom Chavez | Sr. Manager, Developer Marketing
@TomChavez
August 30, 2017
© 2017 SPLUNK INC.
More DevOps Metrics that Might Matter
Culture Process Quality ImpactSystems Activity
• Retention
• Work hours
• Callouts
• Idea-to-cash
• MTTR
• Deliver time
• Tests passed
• Tests failed
• Best/worst
• Throughput
• Uptime
• Build times
• Commits
• Test run
• Releases
• Signups
• Checkouts
• Revenue
© 2017 SPLUNK INC.
▶ Key Benefits
• Simplifies software delivery
• Automates builds and tests
• Extensible with a vast ecosystem
• Adopted widely
Jenkins Platform Accelerates Software Delivery
© 2017 SPLUNK INC.
▶ Processing large amounts of data (test and build results, logs artifacts)
▶ Troubleshooting and triaging can be complex
▶ Correlating data across multiple data sources not easy
▶ Proactive alerting can be difficult
But Monitoring CI/CD Can Be Challenging!
© 2017 SPLUNK INC.
▶ Continuous visibility into builds
progress
▶ Gain instant visibility into test results
▶ Monitor the health of Jenkins
infrastructure
Splunk App for Jenkins
Real-time insight into your CI/CD pipelines
© 2017 SPLUNK INC.
Successful Businesses Use Splunk for DevOps
© 2017 SPLUNK INC.
1. The story of Jenkins at Splunk
2. How we tamed our Jenkins infrastructure
3. What you can do to tame your Jenkins!
Agenda
© 2017 SPLUNK INC.
▶ Jenkins sprawl – Every team was running their own
▶ Ownership – Who owns all the Jenkins slaves?
▶ Jenkins Health – Hardware and software problems
▶ Data overload -- Too much Jenkins data for engineers
▶ Jenkins ROI – “Black hole” to upper management
Moving to Jenkins Automation Wasn’t Easy.
© 2017 SPLUNK INC.
​Jenkins
​Masters
​Slaves
​per Master
​Slaves
​during
​Peak usage
​Builds
per day
​Tests
per day
​>6 ​>400 ​>2400 ​7000+ ​250k
More Jenkins Didn’t Solve the Problem
3 to 4 weeks to go through all the Jenkins data to certify the build !!
© 2017 SPLUNK INC.
▶ 1. Centralize Jenkins data and Splunk EVERYTHING !!!!
▶ 2. Use Splunk Alert workflow for monitoring critical conditions
▶ 3. Shorten build certification times
▶ 4. Get engineers out of Jenkins
• Deep analytics for engineers
• Real-time KPIs for managers
▶ Deliver Jenkins + Splunk solution for the general community
• Must see ROI in 5 minutes!
We Set Goals to Manage Jenkins
© 2017 SPLUNK INC.
▶ 1. Jenkins plugin to get data into Splunk
• Intercepts and sends all sorts of Jenkins data to Splunk
• Highly configurable -- send as little or as much data as you want
• Installs and configures in 5 minutes!
▶ 2. Jenkins App for Splunk
• Typical Splunk app with a bunch of pre-configured dashboards
• Easy way to view Jenkins infrastructure, builds, test results, console logs, etc.
• Create powerful Splunk Alerts on any problematic pattern
• Job failing, critical tests failing, slave offline, queue size too big, etc.
Our Solution Required Two Components
© 2017 SPLUNK INC.
Single View of Jenkins Infrastructure
▶ Visualize multiple masters and
associated slaves in a single page
▶ View build status trends and drill
down and get details information
about any build
© 2017 SPLUNK INC.
Build Analysis
▶ Find any Jenkins build using a
variety of easy to use filters
▶ View build summary or drill down to
see:
• build status trends
• build time and queue time analysis
• tests pass/fail trends
• test runtime distribution
• console logs couple with Splunk's
powerful search interface
© 2017 SPLUNK INC.
Test Results
▶ Test Results:
• Shows all the failing tests with stack traces
• flags regression failures
• groups test failures by errors
• captures Jenkin's environment variables
• provides nifty filters to find tests with long
run times, particular errors, testsuites, etc.
© 2017 SPLUNK INC.
Jenkins Health
▶ Splunk Jenkins App captures Jenkins
internal JVM information as well as
keys metrics like queue size,
executors and slaves stats, Jenkins
master logs, and Jenkins slave stats.
▶ Information is captured in real-time,
allowing you to quickly discover hard
to find issues and fix them before
they become a bottleneck for
development teams.
▶ No more ssh-ing into Jenkins
systems to find issues.
© 2017 SPLUNK INC.
Jenkins Slaves
▶ Analyze all activity on a particular
slave.
▶ View builds executed on a slave,
view real-time slave logs, build
activity across all slaves, and check
connection history to find out
unstable Jenkins slaves.
▶ Identify problematic components in a
Jenkins cluster and optimize your
team's throughput.
© 2017 SPLUNK INC.
Audit Trail
▶ See who has logged into your
Jenkins system and performed any
activity like starting, aborting,
changing jobs.
▶ Examine which configs have been
changed by some user and can view
the config xml directly in Splunk.
Useful for organization with security and compliance use cases
© 2017 SPLUNK INC.
▶ First: Download free Splunk trial: www.splunk.com/download
▶ Then: Download Splunk App for Jenkins: splunkbase.splunk.com/app/3332
▶ DevOps solutions on Splunk for DevOps webpage: www.splunk.com/devops
▶ Free Splunk DevOps ecosystem apps: splunkbase.splunk.com
▶ Splunk Community: www.splunk.com/community
You Can Get Started for Free!
© 2017 SPLUNK INC.
• The story of Jenkins at Splunk
• How we tamed our Jenkins infrastructure
• What you can do to tame your Jenkins!
Summary

More Related Content

Similar to Machine Data Is EVERYWHERE: Use It for Testing

Splunk Data Onboarding Overview - Splunk Data Collection Architecture
Splunk Data Onboarding Overview - Splunk Data Collection ArchitectureSplunk Data Onboarding Overview - Splunk Data Collection Architecture
Splunk Data Onboarding Overview - Splunk Data Collection ArchitectureSplunk
 
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!Harry McLaren
 
SplunkLive! Munich 2018: Data Onboarding Overview
SplunkLive! Munich 2018: Data Onboarding OverviewSplunkLive! Munich 2018: Data Onboarding Overview
SplunkLive! Munich 2018: Data Onboarding OverviewSplunk
 
Machine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightMachine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightSplunk
 
Machine Data 101
Machine Data 101Machine Data 101
Machine Data 101Splunk
 
Splunk Forum Frankfurt - 15th Nov 2017 - .conf2017 Update
Splunk Forum Frankfurt - 15th Nov 2017 - .conf2017 UpdateSplunk Forum Frankfurt - 15th Nov 2017 - .conf2017 Update
Splunk Forum Frankfurt - 15th Nov 2017 - .conf2017 UpdateSplunk
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Piyush Kumar
 
SplunkLive! London 2017 - Happy Apps, Happy Users
SplunkLive! London 2017 - Happy Apps, Happy UsersSplunkLive! London 2017 - Happy Apps, Happy Users
SplunkLive! London 2017 - Happy Apps, Happy UsersSplunk
 
SplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with SplunkSplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with SplunkSplunk
 
Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements Harry McLaren
 
SplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and LogsSplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and LogsSplunk
 
Machine Data 101 Workshop
Machine Data 101 Workshop Machine Data 101 Workshop
Machine Data 101 Workshop Splunk
 
Splunk workshop-Machine Data 101
Splunk workshop-Machine Data 101Splunk workshop-Machine Data 101
Splunk workshop-Machine Data 101Splunk
 
Machine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightMachine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightSplunk
 
Machine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightMachine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightSplunk
 
SplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
SplunkLive! Frankfurt 2018 - Integrating Metrics & LogsSplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
SplunkLive! Frankfurt 2018 - Integrating Metrics & LogsSplunk
 
Getting Started with Splunk Enterprise Hands-On
Getting Started with Splunk Enterprise Hands-OnGetting Started with Splunk Enterprise Hands-On
Getting Started with Splunk Enterprise Hands-OnSplunk
 
SplunkLive! Munich 2018: Monitoring the End-User Experience with Splunk
SplunkLive! Munich 2018: Monitoring the End-User Experience with SplunkSplunkLive! Munich 2018: Monitoring the End-User Experience with Splunk
SplunkLive! Munich 2018: Monitoring the End-User Experience with SplunkSplunk
 
Machine Data 101
Machine Data 101Machine Data 101
Machine Data 101Splunk
 

Similar to Machine Data Is EVERYWHERE: Use It for Testing (20)

Splunk Data Onboarding Overview - Splunk Data Collection Architecture
Splunk Data Onboarding Overview - Splunk Data Collection ArchitectureSplunk Data Onboarding Overview - Splunk Data Collection Architecture
Splunk Data Onboarding Overview - Splunk Data Collection Architecture
 
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
 
SplunkLive! Munich 2018: Data Onboarding Overview
SplunkLive! Munich 2018: Data Onboarding OverviewSplunkLive! Munich 2018: Data Onboarding Overview
SplunkLive! Munich 2018: Data Onboarding Overview
 
Machine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightMachine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into Insight
 
Machine Data 101
Machine Data 101Machine Data 101
Machine Data 101
 
Splunk Forum Frankfurt - 15th Nov 2017 - .conf2017 Update
Splunk Forum Frankfurt - 15th Nov 2017 - .conf2017 UpdateSplunk Forum Frankfurt - 15th Nov 2017 - .conf2017 Update
Splunk Forum Frankfurt - 15th Nov 2017 - .conf2017 Update
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
 
SplunkLive! London 2017 - Happy Apps, Happy Users
SplunkLive! London 2017 - Happy Apps, Happy UsersSplunkLive! London 2017 - Happy Apps, Happy Users
SplunkLive! London 2017 - Happy Apps, Happy Users
 
SplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with SplunkSplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
 
Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements
 
SplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and LogsSplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and Logs
 
Machine Data 101 Workshop
Machine Data 101 Workshop Machine Data 101 Workshop
Machine Data 101 Workshop
 
Splunk workshop-Machine Data 101
Splunk workshop-Machine Data 101Splunk workshop-Machine Data 101
Splunk workshop-Machine Data 101
 
Machine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightMachine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into Insight
 
Machine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into InsightMachine Data 101: Turning Data Into Insight
Machine Data 101: Turning Data Into Insight
 
SplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
SplunkLive! Frankfurt 2018 - Integrating Metrics & LogsSplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
SplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
 
Getting Started with Splunk Enterprise Hands-On
Getting Started with Splunk Enterprise Hands-OnGetting Started with Splunk Enterprise Hands-On
Getting Started with Splunk Enterprise Hands-On
 
SplunkLive! Munich 2018: Monitoring the End-User Experience with Splunk
SplunkLive! Munich 2018: Monitoring the End-User Experience with SplunkSplunkLive! Munich 2018: Monitoring the End-User Experience with Splunk
SplunkLive! Munich 2018: Monitoring the End-User Experience with Splunk
 
J sai subrahmanyam_Resume
J sai subrahmanyam_ResumeJ sai subrahmanyam_Resume
J sai subrahmanyam_Resume
 
Machine Data 101
Machine Data 101Machine Data 101
Machine Data 101
 

More from TechWell

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and RecoveringTechWell
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization TechWell
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTechWell
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartTechWell
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyTechWell
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTechWell
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowTechWell
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityTechWell
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyTechWell
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTechWell
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipTechWell
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsTechWell
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GameTechWell
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsTechWell
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationTechWell
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessTechWell
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateTechWell
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessTechWell
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTechWell
 

More from TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 

Recently uploaded

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 

Recently uploaded (20)

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 

Machine Data Is EVERYWHERE: Use It for Testing

  • 3. © 2017 SPLUNK INC.© 2017 SPLUNK INC. Machine Data is EVERYWHERE! Use it for Testing Tom Chavez | Sr. Manager, Developer Marketing tchavez@splunk.com @TomChavez November 6, 2017 © 2017 SPLUNK INC. During the course of this presentation, we may make forward-looking statements regarding future events or the expected performance of the company. We caution you that such statements reflect our current expectations and estimates based on factors currently known to us and that actual events or results could differ materially. For important factors that may cause actual results to differ from those contained in our forward-looking statements, please review our filings with the SEC. The forward-looking statements made in this presentation are being made as of the time and date of its live presentation. If reviewed after its live presentation, this presentation may not contain current or accurate information. We do not assume any obligation to update any forward-looking statements we may make. In addition, any information about our roadmap outlines our general product direction and is subject to change at any time without notice. It is for informational purposes only and shall not be incorporated into any contract or other commitment. Splunk undertakes no obligation either to develop the features or functionality described or to include any such feature or functionality in a future release. Splunk, Splunk>, Listen to Your Data, The Engine for Machine Data, Splunk Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners. © 2017 Splunk Inc. All rights reserved. Forward-Looking Statements THIS SLIDE IS REQUIRED FOR ALL 3 PARTY PRESENTATIONS.
  • 4. © 2017 SPLUNK INC. Agenda ▶ What is Machine Data? ▶ Where do you find it? ▶ How do you use it in testing? ▶ What else can you do with it? © 2017 SPLUNK INC. What is Machine Data?
  • 5. © 2017 SPLUNK INC. ▶ Digital Exhaust • Log files • Log data written to database • Log streams • stdout / stderr ▶ Data about systems, devices, apps, network • collectd – system stats and application perf metrics • App crash logs, stack traces / dumps, core dumps • Wire data – conversations between endpoints ▶ Data from an application, service via REST API, webhook What is Machine Data? System and app data that is created and collected © 2017 SPLUNK INC. ▶ Hardware does – • Time, temperature, memory, devices, physical state … ▶ Operating systems do – • Filesystem, memory allocation, threads, stack, … ▶ Software stacks do – • App server, web server, database, Java, … ▶ Apps do – • Log and event data, … ▶ Devices do – • Any sort of log or event data from a device, sensor, … What Produces Machine Data?
  • 6. © 2017 SPLUNK INC. ▶ nginx log entry • 150.128.102.148 - - [07/Aug/2014:00:59:52 +0000] "GET /images/web/2009/banner.png HTTP/1.1" 200 52315 "http://www.semicomplete.com/blog/articles/week-of-unix-tools/day- 1-sed.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36 ▶ Twitter tweet • {actor:{displayName: “Go Boys!!”,followersCount:1366,friendsCount:789, link:http://dallascowboys.com/,location:{displayName:“Dallas, TX”,objectType:“place”}, body: “Can’t buy this device from @ACME. Site doesn’t work! Called, gave up on waiting for them to answer! RT if you hate @ACME!!”, objectType:“activity”, postedTime: “2016- 05-21T16:39:40.647-0600”} ▶ Java Service Error Log • 2017-07-12T18:14:50.661995+00:00 ERROR [com.zillow.db.InnerPool] Connection hard closed due to exception:java.sql.SQLException: Invalid state, the Connection object is closed. src:{ call dbo.XXXXXXXXXX(XXXXXXXXXX) } on jdbc:jtds:sqlserver://XXXXXXXXXX What Does Machine Data Look Like? Sample Log Entries © 2017 SPLUNK INC. How does Machine Data provide value?
  • 7. © 2017 SPLUNK INC. Machine Data Provides Visibility Across Dev and Ops © 2017 SPLUNK INC. Machine Data Drives Analytics for Every Phase
  • 8. © 2017 SPLUNK INC. ▶ Machine data gives a view into an application while it is executing and after • When did it start, when did it terminate • What happened in the application while it was running ▶ And of the environment in which the application was run • What was the state of the environment in which the application was running • What other systems were running at the time • How did the environment change while the application was running ▶ Which makes it easier to test, and understand, the app under test How does Machine Data apply to Testing? © 2017 SPLUNK INC. How should we create Machine Data?
  • 9. © 2017 SPLUNK INC. ▶ It has to exist – you are logging, right? ▶ It has to be correctly formatted and usable ▶ It has to be consumable by your log capture tools ▶ It has to be complete Four Rules of Machine Data © 2017 SPLUNK INC. ▶ Log at the beginning and end of a function denoting its start and successful end. ▶ Log at the beginning and end of any external utility/function being called. ▶ If there is an error, log it only at the lowest level where the error actually happened, otherwise just return. ▶ At the higher levels just return the error. ▶ While logging errors, always provide a error message too. Example Project Logging Rules
  • 10. © 2017 SPLUNK INC. ▶ Use timestamps for every event • Use the most verbose time granularity possible – time should be rendered to microseconds • Put the timestamp at the beginning of the line, so not to confuse it with other data • Include a four-digit year • Include a time zone, preferably a GMT/UTC offset ▶ Examples: • 00:00:00.000 Start of test – seen in performance testing • On what date did this test start? At what time? File creation date might tell, might not. • Bad: cannot correlate by time with data from other systems. ▶ Source: http://dev.splunk.com/view/logging-best-practices/SP-CAAAFCK Logging Best Practices Tips for what to include in data you log © 2017 SPLUNK INC. ▶ Create events that humans can read • Avoid using complex encodings. If logs are binary, provide tools to convert to ASCII • Don’t log a binary file but log the meta for it: file locator + relevant data • E.g. for a JPG file, include image size, creation tool, username, camera, GPS location, etc. ▶ Use unique identifiers (IDs) such as transaction IDs and user IDs • Provide greater granularity than time alone • Can be shared across services, system, machines, networks for easier correlation Logging Best Practices
  • 11. © 2017 SPLUNK INC. ▶ Use clear key-value pairs • key1=value1, key2=value2, key3=value3 • If values contain spaces, quote them: username=”bob smith” ▶ Use a developer-friendly, structured format • JavaScript Object Notation (JSON): • { "sender" : "michael” "recipient": { "name" : "michael", "name" : "andrea", "name" : "itay" } subject:"I heart logs" } Logging Best Practices © 2017 SPLUNK INC. ▶ Identify the source • Class, function or filename ▶ Use categories • E.g. severity: INFO, WARN, ERROR, DEBUG ▶ Log more than just debugging events • Audit trails, what users are doing, transactions, timing information, etc. Logging Best Practices
  • 12. © 2017 SPLUNK INC. How do you consume Machine Data in testing? © 2017 SPLUNK INC. ▶ Free tools for gathering machine data • Splunk – commercial big data logging and analytics platform, free up to 500Mb data/day • DataDog – commercial monitoring and analytics tools, free tier • ELK/Elastic – Open source project to gather data from any source • Sumo Logic – machine data analytics, free tier • Loggly – unified log analysis & log monitoring, free lite tier • Others…. Capturing and Consuming Machine Data
  • 13. © 2017 SPLUNK INC. ▶ Getting data into your machine data tool • Look for a marketplace – pre-built add-ons or plug-ins to push, pull, and ingest data • Code samples to transform data from raw to JSON, or other formats • Webhooks and REST APIs to push and pull data • Google for (tool-name) and (data-type), e.g. Jenkins Splunk Capturing and Consuming Machine Data © 2017 SPLUNK INC. ▶ Build information ▶ o Queue time ▶ o Build duration ▶ o Job status ▶ o Who started the job ▶ o Console logs ▶ o Artifacts ▶ o Environment / injected variables ▶ o Testing ▶ § X-unit style report processing ▶ § TestNG reports ▶ § Cucumber reports ▶ § Data to make test result triaging (how long is a test failing, test duration, etc.) ▶ o Code Coverage ▶ o Build name, id, etc ▶ - Audits (who changed what) ▶ o Job configs ▶ o Plugin configs ▶ o Master config ▶ - Logs ▶ Slaves logs ▶ o Master logs ▶ o Build/console logs ▶ - Health ▶ o JVM information ▶ o Queuing information ▶ o Slave health stats ▶ o Build distributions across slaves ▶ o Label distribution across slaves Information from the Jenkins plug-in for Splunk
  • 14. © 2017 SPLUNK INC. What can you do with Machine Data? Graph it, Analyze it, Track it, Test it © 2017 SPLUNK INC. Murex talk from .conf2017 Major Financial Trading Platform
  • 15. © 2017 SPLUNK INC. ▶ How you display machine data – as separate events, look fine ▶ But over time, they can really add up! Murex talk from .conf2017 Major Financial Trading Platform © 2017 SPLUNK INC. ▶ After a test is complete, use the search in your machine data logging tool to validate that the test was complete, e.g. • Were all requires tests performed? • Did results fall within acceptable parameters? • Did tests perform as expected? • Did tests create the expected outcomes? ▶ And analyze that the tests were validly performed • Was the test environment set up to defined specifications? Analyze the Test Results
  • 16. © 2017 SPLUNK INC. ▶ Test results over time ▶ Rate of bugs found over time ▶ Rate of bugs closed over time ▶ Average time to close a bug ▶ Time per engineer to close a bug ▶ Sprint Data • Stories assigned, closed by staff member • Overview of multiple teams for manager, director, VP view Splunk Test Automation Getting Data out of Jira © 2017 SPLUNK INC. ▶ Zillow at .conf2017 ▶ http://conf.splunk.com/sessions/2017-sessions.html#search=jira& Automatically Categorize Your New Bugs
  • 17. © 2017 SPLUNK INC. Getting Data from Jira © 2017 SPLUNK INC. Getting Data from Jira
  • 18. © 2017 SPLUNK INC. Getting Data from Jira Monitoring for appropriate behavior Branch to create new work © 2017 SPLUNK INC. ▶ Data about your test environment • Configuration information – changes since last tests • Logging and data from the environment during the test – looking for changes Splunk Test Automation
  • 19. © 2017 SPLUNK INC. ▶ Free data logging & analytics products: • Splunk: splunk.com • Elastic: elastic.co • Datadog: datadoghq.com ▶ Getting Data into tools • Splunkbase: splunkbase.com • Google (toolname) and (datatype/source)! Resources Where to go now? © 2017 SPLUNK INC. ▶ Zillow and auto-categorizing of Jira defect tickets • Finds regressions & automatically identifies up to 80% of daily defects • http://conf.splunk.com/sessions/2017-sessions.html#search=jira ▶ If You Graph It, They Will See It: Identifying Root Issues from Product Testing to Production Crisis. (Splunk@Murex For Test and Development) • Visualizing Data to find Insights • http://conf.splunk.com/sessions/2017-sessions.html#search=murex& Public Presentations
  • 20. © 2017 SPLUNK INC.© 2017 SPLUNK INC. Thank you! © 2017 SPLUNK INC.© 2017 SPLUNK INC. Additional Content
  • 21. © 2017 SPLUNK INC.© 2017 SPLUNK INC. Splunking Jenkins Getting Awesome Insights about Your Jobs and Infrastructure Tom Chavez | Sr. Manager, Developer Marketing @TomChavez August 30, 2017 © 2017 SPLUNK INC. More DevOps Metrics that Might Matter Culture Process Quality ImpactSystems Activity • Retention • Work hours • Callouts • Idea-to-cash • MTTR • Deliver time • Tests passed • Tests failed • Best/worst • Throughput • Uptime • Build times • Commits • Test run • Releases • Signups • Checkouts • Revenue
  • 22. © 2017 SPLUNK INC. ▶ Key Benefits • Simplifies software delivery • Automates builds and tests • Extensible with a vast ecosystem • Adopted widely Jenkins Platform Accelerates Software Delivery © 2017 SPLUNK INC. ▶ Processing large amounts of data (test and build results, logs artifacts) ▶ Troubleshooting and triaging can be complex ▶ Correlating data across multiple data sources not easy ▶ Proactive alerting can be difficult But Monitoring CI/CD Can Be Challenging!
  • 23. © 2017 SPLUNK INC. ▶ Continuous visibility into builds progress ▶ Gain instant visibility into test results ▶ Monitor the health of Jenkins infrastructure Splunk App for Jenkins Real-time insight into your CI/CD pipelines © 2017 SPLUNK INC. Successful Businesses Use Splunk for DevOps
  • 24. © 2017 SPLUNK INC. 1. The story of Jenkins at Splunk 2. How we tamed our Jenkins infrastructure 3. What you can do to tame your Jenkins! Agenda © 2017 SPLUNK INC. ▶ Jenkins sprawl – Every team was running their own ▶ Ownership – Who owns all the Jenkins slaves? ▶ Jenkins Health – Hardware and software problems ▶ Data overload -- Too much Jenkins data for engineers ▶ Jenkins ROI – “Black hole” to upper management Moving to Jenkins Automation Wasn’t Easy.
  • 25. © 2017 SPLUNK INC. ​Jenkins ​Masters ​Slaves ​per Master ​Slaves ​during ​Peak usage ​Builds per day ​Tests per day ​>6 ​>400 ​>2400 ​7000+ ​250k More Jenkins Didn’t Solve the Problem 3 to 4 weeks to go through all the Jenkins data to certify the build !! © 2017 SPLUNK INC. ▶ 1. Centralize Jenkins data and Splunk EVERYTHING !!!! ▶ 2. Use Splunk Alert workflow for monitoring critical conditions ▶ 3. Shorten build certification times ▶ 4. Get engineers out of Jenkins • Deep analytics for engineers • Real-time KPIs for managers ▶ Deliver Jenkins + Splunk solution for the general community • Must see ROI in 5 minutes! We Set Goals to Manage Jenkins
  • 26. © 2017 SPLUNK INC. ▶ 1. Jenkins plugin to get data into Splunk • Intercepts and sends all sorts of Jenkins data to Splunk • Highly configurable -- send as little or as much data as you want • Installs and configures in 5 minutes! ▶ 2. Jenkins App for Splunk • Typical Splunk app with a bunch of pre-configured dashboards • Easy way to view Jenkins infrastructure, builds, test results, console logs, etc. • Create powerful Splunk Alerts on any problematic pattern • Job failing, critical tests failing, slave offline, queue size too big, etc. Our Solution Required Two Components © 2017 SPLUNK INC. Single View of Jenkins Infrastructure ▶ Visualize multiple masters and associated slaves in a single page ▶ View build status trends and drill down and get details information about any build
  • 27. © 2017 SPLUNK INC. Build Analysis ▶ Find any Jenkins build using a variety of easy to use filters ▶ View build summary or drill down to see: • build status trends • build time and queue time analysis • tests pass/fail trends • test runtime distribution • console logs couple with Splunk's powerful search interface © 2017 SPLUNK INC. Test Results ▶ Test Results: • Shows all the failing tests with stack traces • flags regression failures • groups test failures by errors • captures Jenkin's environment variables • provides nifty filters to find tests with long run times, particular errors, testsuites, etc.
  • 28. © 2017 SPLUNK INC. Jenkins Health ▶ Splunk Jenkins App captures Jenkins internal JVM information as well as keys metrics like queue size, executors and slaves stats, Jenkins master logs, and Jenkins slave stats. ▶ Information is captured in real-time, allowing you to quickly discover hard to find issues and fix them before they become a bottleneck for development teams. ▶ No more ssh-ing into Jenkins systems to find issues. © 2017 SPLUNK INC. Jenkins Slaves ▶ Analyze all activity on a particular slave. ▶ View builds executed on a slave, view real-time slave logs, build activity across all slaves, and check connection history to find out unstable Jenkins slaves. ▶ Identify problematic components in a Jenkins cluster and optimize your team's throughput.
  • 29. © 2017 SPLUNK INC. Audit Trail ▶ See who has logged into your Jenkins system and performed any activity like starting, aborting, changing jobs. ▶ Examine which configs have been changed by some user and can view the config xml directly in Splunk. Useful for organization with security and compliance use cases © 2017 SPLUNK INC. ▶ First: Download free Splunk trial: www.splunk.com/download ▶ Then: Download Splunk App for Jenkins: splunkbase.splunk.com/app/3332 ▶ DevOps solutions on Splunk for DevOps webpage: www.splunk.com/devops ▶ Free Splunk DevOps ecosystem apps: splunkbase.splunk.com ▶ Splunk Community: www.splunk.com/community You Can Get Started for Free!
  • 30. © 2017 SPLUNK INC. • The story of Jenkins at Splunk • How we tamed our Jenkins infrastructure • What you can do to tame your Jenkins! Summary