Splunk in integration testing

47
Copyright © 2015 Splun Inc. Splunk in integration testing Better not to make a mess than to clean it up

Transcript of Splunk in integration testing

Page 1: Splunk in integration testing

Copyright © 2015 Splunk Inc.

Splunk in integration testingBetter not to make a mess than to clean it up

Page 2: Splunk in integration testing

2

Splunk in integration testing

Better not to make a mess than to clean it up

Page 3: Splunk in integration testing

3

Leading Cable TV and internet company of the NetherlandsRecently acquired by Liberty Global

Internet, Cable TV, mobile network, Telephony

Page 4: Splunk in integration testing

4

My backgroundProgramme test manager (contracter)Experience in both test and operationsAuthor of a book on performance testing (available on Amazon)Joined a running programme in the integration phaseMy favorite Splunk tee-shirt tag line: Put that in your | and Splunk it

Page 5: Splunk in integration testing

5

Testing

Page 6: Splunk in integration testing

6

And the winner is

Page 7: Splunk in integration testing

7

Exploratory testingTesting isn’t just creating and running some scripts

Simultaneous: learn / design executeNo up front scriptsFast, effectiveRelies on feedback what about logs?

Page 8: Splunk in integration testing

8

Testing not the same

Testing or checking?Changed scene– Agile / devops / continuous delivery– SOA: chain or web?– Change based specs vs system based

Page 9: Splunk in integration testing

9

Testers

Spider in the web (integration)Manage RCAMediate solutionsLooking for troubleTrouble shooting...

Ring a bell?

Page 10: Splunk in integration testing

10

The situationLarge programme

Multiple vendorsInternal and off shore developmentInternal and off shore testing

Many new componentsMultiple teams and suppliers (off shore)Delays in integration (ticket ping pong)

Splunk guru in the team

Page 11: Splunk in integration testing

11

Introduced SplunkTibco messages indexed in SplunkCore systems logs indexed in SplunkOrder tables (rising column)Created dashboards

Screenshot here

Page 12: Splunk in integration testing

12

Application errors

12

Page 13: Splunk in integration testing

13

Validations

13

Page 14: Splunk in integration testing

14

Oracle (ORA) errors

14

Page 15: Splunk in integration testing

15

Dreaded time-outs

15

Page 16: Splunk in integration testing

16

The whip

16

Page 17: Splunk in integration testing

17

Results

Solved the integration issuesTesters very happy:Insight in the total flowSelf service on test data issuesIssues assigned to the right teamFind the overlooked issues Jump started the integration phaseAfter care was cancelled due to NO reported issues

Team rule: no issue logged that hasn't been Splunked

17

Page 18: Splunk in integration testing

18

Today’s challenges

18

Page 19: Splunk in integration testing

19

Data’s story

19

DateTime Status CustI CorID Product Unit09/30/2015 10:45:00 Success B254788 CorID12548687 Apple 1

09/30/2015 10:45:01 Pending B356489 CorID12548688 Carrot 5

09/30/2015 10:45:02 Failed B366547 CorID12548689 Banana 5

CO12548689 2015-30-9 10:43:58.001 Order placed 5 Bananas

CO12548689 2015-30-9 10:44:20.001 Reply from logistics Bananas not by piece

CO12548689 2015-30-9 10:45:02 Order registered in Order DB Status failed

Page 20: Splunk in integration testing

20

Why we do it

Testers: access, insight and first time right

(test) Management: facts and figures on quality and performance

Company: prevent embarrassing incidents, lower costs, faster time to market

20

Page 21: Splunk in integration testing

21

Do’s

Get business process information in SplunkSOA messagesOrder tables (rising column)Logs, logs, logs

Get a Splunk expert on board.Create dashboards for test teams (detail)Create dashboards for management (pretty pictures)Train testers and admins

21

Page 22: Splunk in integration testing

22

Splunk in test

Speeds up test phasesPrevents incidents in productionAn answer to today’s test challenges Facts and figures on qualityIncrease time to market Benefits increase exponentially with complexity

22

Page 23: Splunk in integration testing

23

So why in test?

first time righthandle agile development handle complexityspeed up integration

23

Page 24: Splunk in integration testing

24

Find a question?

24

Page 25: Splunk in integration testing

Diagrams, Icons and Templates

25

Page 26: Splunk in integration testing

26

Splunk Icons

Search Bar chart Lock Cloud Cloud – alt Folder Envelope

Storage - 3Storage

Server Indexer Forwarder Search head

Datacenters

Splunk serverFirewall

Desktop Laptop

Failed server

Hadoop storage Datacenter

Page 27: Splunk in integration testing

27

Splunk Icons

Application - alt Virtual machine Virtual server Network www or Global Tools

Log file Router Load balancer Script

Pie chart Gears/Settings Gear Messaging Tag/ticket

Document

Application

Analyze

Network Switch

Shield

Active Directory

Page 28: Splunk in integration testing

28

Splunk Icons

Checkmark InfoAlert StopiPhoneiPadAndroid

Twitter Facebook LinkedIn RSS You Tube Shopping cartGPS Tower

Healthcare Hospital Office building VoIP Phone Support POS Card Reader RFID

Page 29: Splunk in integration testing

29

Splunk Icons

Forwarder - AIX Forwarder- Datastore Forwarder- Free BSD Forwarder- Linux Forwarder- Windows Forwarder- Web Forwarder- OSX

Forwarder- Solaris Splunk server - AIX Splunk server - Datastore

Splunk server - Gear

Splunk server - Linux

Splunk server - Network

Splunk server - Web

Splunk server - OSX Splunk server – Free BSD

Splunk server – Solaris Splunk search Failed Splunk server

Page 30: Splunk in integration testing

30

Splunk Icons

Page 31: Splunk in integration testing

31

Splunk Icons

Pivot

Cluster management

Analytics Store Data model

Forwardermanagement

HomeMaps

Predictiveanalytics

Simpledashboard

Webframework

Customdashboard

Enhanced search

Page 32: Splunk in integration testing

32

Arrows

Page 33: Splunk in integration testing

33

Boxes

Page 34: Splunk in integration testing

34

Assign Default Object Style

Page 35: Splunk in integration testing

35

Splunk Object Style and Color

Hardware ProductBusiness/Corporate

Highlight OnlyGenericVirtualization

Generic

These are suggested uses for colors only.

Page 36: Splunk in integration testing

36

Applying Splunk Object Style

To apply the Splunk object style to any shape:1. Select the shape (Object A) with the desired style2. Click on Format Painter (paintbrush) tool in toolbar3. Click on new shape (Object B) to apply style

Page 37: Splunk in integration testing

37

Logos

Corporate logo Product logo Product logo with Version Number

Page 38: Splunk in integration testing

38

Logos

Page 39: Splunk in integration testing

39

Logos

Page 40: Splunk in integration testing

40

App Icons

Page 41: Splunk in integration testing

41

Splunk Enterprise Overview

AlertsMessages Metrics ChangesScriptsConfigurationsLog Files

Indexes Any Data from Any Source

DatabasesNetworks Servers Virtual Machines

Smartphones and Devices

CustomApplicationsSecurity

Tickets

WebServerSensors

Page 42: Splunk in integration testing

42

Splunk Enterprise ScalabilityEnterprise-class Scale, Resilience and Interoperability

Send data from thousands of servers using any combination of Splunk forwarders

Auto load-balanced forwarding to Splunk Indexers

Offload search load to Splunk Search Heads

Page 43: Splunk in integration testing

43

Integrated Analytics Platform for Hadoop Data

43

Full-featured, Integrated Product

Insights for Everyone

Works with What You Have Today

Explore Visualize Dashboards ShareAnalyze

Hadoop (MapReduce &

HDFS)

NoSQL Data Stores

Page 44: Splunk in integration testing

44

Industry Leading Platform for Machine DataAny Machine Data Operational Intelligence

HA Indexes and Storage

Search and Investigation

Proactive Monitoring

Operational Visibility

Real-time Business Insights

CommodityServers

Online Services Web

Services

ServersSecurity GPS

Location

StorageDesktops

Networks

Packaged Applications

CustomApplicationsMessaging

TelecomsOnline

Shopping Cart

Web Clickstreams

Databases

Energy Meters

Call Detail Records

Smartphones and Devices

RFID

Page 45: Splunk in integration testing

45

Table ExampleColumn Title Column Title Column Title Column Title

Text Text Text Text

Text Text Text Text

Text Text Text Text

Text Text Text Text

Text Text Text Text

Page 46: Splunk in integration testing

46

Quote Box

Our mission is to make machine data accessible, useable and valuable to everyone.

Page 47: Splunk in integration testing

Thank You