SlideShare a Scribd company logo
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
SplDevOps
Making Splunk Development a Breeze with a
Deep Dive on DevOps, Containerization,
Version Control & Automation
Harry McLaren, Ilias Diamantakos, Tomasz Dziwok
October 2018 | Version 1.3
© 2018 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. © 2018 Splunk Inc. All rights reserved.
Forward-Looking Statements
v
© 2018 SPLUNK INC.
HARRY MCLAREN
Splunk Enablement Lead, Managing Consultant
ILIAS DIAMANTAKOS
Splunk Engineer, Associate Consultant
Who Are We?
cyberharibu
ilias-diamantakos
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Best Security
Company
of the Year
Employer: ECS (UK Splunk Elite Partner)
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
What’s It All About?
▶ Customer Challenges
▶ What Do We Want?
▶ Our Idea to Deploy Splunk
▶ Technical Deep Dive
▶ Project Roadmap
▶ Key Takeaways
~40mins
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Customer Challenges
“The expansion of
Splunk has increased
operational complexity,
as we manage it
manually and can’t
keep on top of project
change requests.”
– High-Street Retailer
“We require a full route-
to-live to maintain
system integrity and
can’t deploy changes
fast enough in our
current setup.”
– National Bank
“Multiple developers
within the same DEV
environment, causes
repeated configuration
conflicts and delays to
planned changes.”
– National Building Society
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
What Do We Want?
Enterprises Want to Respond Quickly, Safely & With Less Risk
Rapid Changes
to Splunk Software
01
Orchestrated
Deployment
02
Fragile
Route-to-Live

Fail Safe,
Fast Backout
03
Development at Scale
• Enterprise Scale Development
• Synchronous Changes /
Multiple Admins & Developers
• Splunk Defined via Code
• Familiar Approach (AKA: DevOps/Agile)
Reduction in Custom Config
• Every ’Custom’ Configuration
Introduces Disparity
• Inconsistent Dev, Test, Pre-Prod, Prod
• Testing is “Best Endeavors”
• Increased Risk, Changes Batched
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Splunk for Agility
Supporting Agile Methodology by Default
Schema at Read,
Supporting Multiple Use Cases
Analytic Tools Exposed to UI,
Empowering Users to Experiment
Plain Text Configuration Files,
Documented & Supported
Splunk API is Enumerated,
Dev Licenses, Labs Encouraged
SPL
Web UI
Plain Text Config
Open API
Monitor
InvestigateIntelligence
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Our Idea
“SplDevOps” Became the Solution
Version Control
 Git[Lab] Utilized
 Multiple Projects/Branches
 Key Releases Tagged
Full Route-to-Live
 Multi-Stage Environments
 Dev > Pre-Prod > Prod
• Automated Testing
Agile Development
 Short Sprints
 Test Driven Development
 Issue Management
& Feature Backlog
Configuration Management
 Orchestrated Deployment
 Centralized Config
 Ansible used via SSH
© 2018 SPLUNK INC.
Project: Internal Monitoring
Ask: Deploy Splunk Internally for SecOps & ITOps Use Cases
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Automation Engine Containerization Version Control
Brief Background
Let’s talk tools!
© 2018 SPLUNK INC.
What Tool Fits Where?
a new Splunk infrastructure the DevOps way!
▶ Identical environments & route-to-live
• Development, Pre-production, Production
▶ Eliminate fear driven development
• It’s ok to make mistakes!
▶ Minimize direct production changes
• Always go through route-to-live
• Transparent change control
▶ Modern means of disaster recovery
▶ Security driven
← Ansible + Git + Docker + Python
← Docker + Git
← GitLab
← Ansible (IaC)
← Ansible Vault
© 2018 SPLUNK INC.
How We Wanted It To Look
Spoiler Alert: This is also the end result
dev pre-prod prod
IX: Splunk Indexer SH: Splunk Search Head DS: Splunk Deployment Server AS: Ansible Server
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Multiple Repositories
Of /opt/splunk/etc for each instance
Ansible & DS
IX
splunk_ix
SH
splunk_sh
Syslog Collector
syslog
ansible splunk_ds
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Git Workflow
aka “the change process”
© 2018 SPLUNK INC.
Everything starts from
our DevEnv
So let’s spin one up
© 2018 SPLUNK INC.
What’s going on in the background
© 2018 SPLUNK INC.
What’s going on in the background
© 2018 SPLUNK INC.
How It Looks
© 2018 SPLUNK INC.
How It Looks
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Let’s Share Secrets
No really, we are sharing!
▶ How to version sensitive information
• Encryption
▶ How to decrypt automatically
• Ansible Vault
▶ How to store Ansible Vault Password
• More encryption
© 2018 SPLUNK INC.
Let’s Decrypt
One password to rule them all
Ansible Server
© 2018 SPLUNK INC.
Use Case Scenario
Demo time
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
How it should have been done
Integrating with our change process
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
How it should have been done
Integrating with our change process
© 2018 SPLUNK INC.
How it gets deployed
© 2018 SPLUNK INC.
How it gets deployed
© 2018 SPLUNK INC.
How it gets deployed
© 2018 SPLUNK INC.
Lessons We Learned
Not everything was easy…
▶ Multiple repositories
• What goes where?
• Many lines of history
▶ Identical code for different environments
• There are always exceptions (Eventgen, production API calls)
▶ Data for different environments
• Production data is sensitive
▶ Automated deployment of code
• When do you restart?
© 2018 SPLUNK INC.
Deployment Results
Did it work!?
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Full
Route-to-Live
Implemented
in Production
Users &
Admins
Educated &
Empowered
Everything
Under Version
Control
Promoting
Changes in
~ 5mins
(Dev>Prod)
Foundations
Built for Future
Development
End Result
Prototype Success, Production Rollout
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Adaptable Framework
Expressed in Software
(Python + Git + Ansible)
Environment Agnostic &
Scales to Clustered
Deployments& Hybrid
Cloud Architecture
User Friendly &
End-to-End Integrated
with Issue/Change
Management
Roadmap
Introducing “Splunk Compiler” (v2.0+)
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Splunk Supports
Experimentation
by Default
Agile/DevOps
Methodologies
are Compatible
Doesn’t Require
Automation
Expertise
Version Control
BEFORE
Software
Orchestration
Key Takeaways
Remember Four Things…
© 2018 SPLUNK INC.
Don't forget to rate this session
in the .conf18 mobile app
Thank You

More Related Content

What's hot (20)

PDF
E mail Id of Collectorates RDO offices Taluk offices & Village offices Kerala...
Jamesadhikaram land matter consultancy 9447464502
 
PDF
The Two United States Constitutions
Rauthschild, Chua & Associates, LTD
 
PDF
Justice Hegde Report.pdf
Hindenburg Research
 
PDF
Kerala government employees-TA ceiling-Go(p) no 137 2016-fin dated 09-09-2016
Jamesadhikaram land matter consultancy 9447464502
 
PDF
Marti Misterija Libellus Almanah 003 - Povratak u raj - Devetoruka oštrica
StripovizijaStripovi
 
PDF
Adani Estates Private Limited Debentures 2020.pdf
Hindenburg Research
 
PPTX
οι ελληνικοι μυθοι
hellenicinfluences
 
PDF
Rehvar Infrastructure 2021 Annual Report.pdf
Hindenburg Research
 
PDF
Kerala Service Rules- Part 2
Jamesadhikaram land matter consultancy 9447464502
 
PDF
CESTAT Ruling Power Equipment 2022.pdf
Hindenburg Research
 
PDF
Abdelrhaman Sayed - Experience Letter
Abdelrhman Allam
 
PPTX
Ο κύκλος του ψωμιού
George Markatatos
 
PDF
Φύλλα Εργασίας" Στα Μονοπάτια της Μυθολογίας"
Linda Mamanou
 
PDF
Adicorp Enterprises 2020 Annual Report.pdf
Hindenburg Research
 
PDF
Kerala land conservancy-Bhoomi Kayyettam reporting Form A
Jamesadhikaram land matter consultancy 9447464502
 
PPTX
Οι ποταμοί της ευρώπης -ΚΕΦ 24 - ΓΕΩΓΡΑΦΙΑ Η ΘΕΣΗ ΤΗΣ ΕΥΡΩΠΗΣ
2ο Δημοτικό Σχολείο Ξάνθης
 
PDF
ισοβίτης γιατρέ έχω ένα βάρος
pinnokio.gr
 
PPTX
λυπη προγραμμα συναισθηματα
Guernikaki
 
PDF
Selemani CV
selemani rashid
 
PDF
Kerala Service Rules part I Note uploaded by T james Joseph Adhikarathil
Jamesadhikaram land matter consultancy 9447464502
 
E mail Id of Collectorates RDO offices Taluk offices & Village offices Kerala...
Jamesadhikaram land matter consultancy 9447464502
 
The Two United States Constitutions
Rauthschild, Chua & Associates, LTD
 
Justice Hegde Report.pdf
Hindenburg Research
 
Kerala government employees-TA ceiling-Go(p) no 137 2016-fin dated 09-09-2016
Jamesadhikaram land matter consultancy 9447464502
 
Marti Misterija Libellus Almanah 003 - Povratak u raj - Devetoruka oštrica
StripovizijaStripovi
 
Adani Estates Private Limited Debentures 2020.pdf
Hindenburg Research
 
οι ελληνικοι μυθοι
hellenicinfluences
 
Rehvar Infrastructure 2021 Annual Report.pdf
Hindenburg Research
 
CESTAT Ruling Power Equipment 2022.pdf
Hindenburg Research
 
Abdelrhaman Sayed - Experience Letter
Abdelrhman Allam
 
Ο κύκλος του ψωμιού
George Markatatos
 
Φύλλα Εργασίας" Στα Μονοπάτια της Μυθολογίας"
Linda Mamanou
 
Adicorp Enterprises 2020 Annual Report.pdf
Hindenburg Research
 
Kerala land conservancy-Bhoomi Kayyettam reporting Form A
Jamesadhikaram land matter consultancy 9447464502
 
Οι ποταμοί της ευρώπης -ΚΕΦ 24 - ΓΕΩΓΡΑΦΙΑ Η ΘΕΣΗ ΤΗΣ ΕΥΡΩΠΗΣ
2ο Δημοτικό Σχολείο Ξάνθης
 
ισοβίτης γιατρέ έχω ένα βάρος
pinnokio.gr
 
λυπη προγραμμα συναισθηματα
Guernikaki
 
Selemani CV
selemani rashid
 
Kerala Service Rules part I Note uploaded by T james Joseph Adhikarathil
Jamesadhikaram land matter consultancy 9447464502
 

Similar to SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Containerization, Version Control and Automation (20)

PPTX
SplunkLive! London 2017 - DevOps Powered by Splunk
Splunk
 
PPTX
Splunk .conf18 Updates, Config Add-on, SplDevOps
Harry McLaren
 
PPTX
SplunkLive! London 2016 Splunk for Devops
Splunk
 
PPTX
Innovate Better Through Machine data Analytics
Hal Rottenberg
 
PDF
SplunkLive! London 2015 - DevOps Breakout
Splunk
 
PDF
Throw Your Future Self a Lifeline with a Little DevOps Data!
merbla
 
PPTX
Delivering New Visibility and Analytics for IT Operations
Splunk
 
PPTX
Customer Presentation - Financial Services Organization
Splunk
 
PPTX
Partner Exec Summit 2018 - Frankfurt: Analytics-driven Security und SOAR
Splunk
 
PPTX
Splunk User Group Edinburgh - September Event
Harry McLaren
 
PPTX
Splunk enterprise security_splunk_bengaluru_user_group_2020_10_03
NiketNilay
 
PPTX
Machine Data 101: Turning Data Into Insight
Splunk
 
PPTX
The DevOps Promise: Helping Management Realise the Quality, Velocity & Effici...
Splunk
 
PDF
SFBA Splunk Usergroup meeting Nov 20, 2024
Becky Burwell
 
PDF
March 2023 PNW User Group
Amanda Richardson
 
PDF
Splunk Data Onboarding Overview - Splunk Data Collection Architecture
Splunk
 
PPTX
.conf Go Zurich 2022 - Platform Session
Splunk
 
PDF
SFBA Splunk User Group Meeting February 2023
Becky Burwell
 
PDF
sfbaug20230215-230310221623-88beae19.pdf
JeffForrest8
 
PPTX
SplunkLive! London 2017 - Splunk Enterprise for IT Troubleshooting
Splunk
 
SplunkLive! London 2017 - DevOps Powered by Splunk
Splunk
 
Splunk .conf18 Updates, Config Add-on, SplDevOps
Harry McLaren
 
SplunkLive! London 2016 Splunk for Devops
Splunk
 
Innovate Better Through Machine data Analytics
Hal Rottenberg
 
SplunkLive! London 2015 - DevOps Breakout
Splunk
 
Throw Your Future Self a Lifeline with a Little DevOps Data!
merbla
 
Delivering New Visibility and Analytics for IT Operations
Splunk
 
Customer Presentation - Financial Services Organization
Splunk
 
Partner Exec Summit 2018 - Frankfurt: Analytics-driven Security und SOAR
Splunk
 
Splunk User Group Edinburgh - September Event
Harry McLaren
 
Splunk enterprise security_splunk_bengaluru_user_group_2020_10_03
NiketNilay
 
Machine Data 101: Turning Data Into Insight
Splunk
 
The DevOps Promise: Helping Management Realise the Quality, Velocity & Effici...
Splunk
 
SFBA Splunk Usergroup meeting Nov 20, 2024
Becky Burwell
 
March 2023 PNW User Group
Amanda Richardson
 
Splunk Data Onboarding Overview - Splunk Data Collection Architecture
Splunk
 
.conf Go Zurich 2022 - Platform Session
Splunk
 
SFBA Splunk User Group Meeting February 2023
Becky Burwell
 
sfbaug20230215-230310221623-88beae19.pdf
JeffForrest8
 
SplunkLive! London 2017 - Splunk Enterprise for IT Troubleshooting
Splunk
 
Ad

More from Harry McLaren (20)

PPTX
Security Operations, MITRE ATT&CK, SOC Roles / Competencies
Harry McLaren
 
PPTX
Modern Security Operations & Common Roles/Competencies
Harry McLaren
 
PPTX
Becoming a Defender (Blue Teams FTW!)
Harry McLaren
 
PPTX
Virtual Splunk User Group - Phantom Workbook Automation & Threat Hunting with...
Harry McLaren
 
PPTX
SOC Fundamental Roles & Skills
Harry McLaren
 
PPTX
Hunting Hard & Failing Fast (ScotSoft 2019)
Harry McLaren
 
PPTX
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
Harry McLaren
 
PPTX
Collecting AWS Logs & Introducing Splunk New S3 Compatible Storage (SmartStore)
Harry McLaren
 
PPTX
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Harry McLaren
 
PPTX
Lessons on Human Vulnerability within InfoSec/Cyber
Harry McLaren
 
PPTX
Big Data For Threat Detection & Response
Harry McLaren
 
PPTX
OWASP - Analyst, Engineer or Consultant?
Harry McLaren
 
PPTX
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
Harry McLaren
 
PPTX
Cyber Scotland Connect: What is Security Engineering?
Harry McLaren
 
PPTX
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
Harry McLaren
 
PPTX
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
Harry McLaren
 
PPTX
Cyber Scotland Connect: Welcome & Purpose Statement
Harry McLaren
 
PPTX
Latest Updates to Splunk from .conf 2017 Announcements
Harry McLaren
 
PPTX
Securing the Enterprise/Cloud with Splunk at the Centre
Harry McLaren
 
PPTX
Security Meetup Scotland - August 2017 (Deconstructing SIEM)
Harry McLaren
 
Security Operations, MITRE ATT&CK, SOC Roles / Competencies
Harry McLaren
 
Modern Security Operations & Common Roles/Competencies
Harry McLaren
 
Becoming a Defender (Blue Teams FTW!)
Harry McLaren
 
Virtual Splunk User Group - Phantom Workbook Automation & Threat Hunting with...
Harry McLaren
 
SOC Fundamental Roles & Skills
Harry McLaren
 
Hunting Hard & Failing Fast (ScotSoft 2019)
Harry McLaren
 
Splunk Phantom, the Endpoint Data Model & Splunk Security Essentials App!
Harry McLaren
 
Collecting AWS Logs & Introducing Splunk New S3 Compatible Storage (SmartStore)
Harry McLaren
 
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Harry McLaren
 
Lessons on Human Vulnerability within InfoSec/Cyber
Harry McLaren
 
Big Data For Threat Detection & Response
Harry McLaren
 
OWASP - Analyst, Engineer or Consultant?
Harry McLaren
 
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
Harry McLaren
 
Cyber Scotland Connect: What is Security Engineering?
Harry McLaren
 
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
Harry McLaren
 
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
Harry McLaren
 
Cyber Scotland Connect: Welcome & Purpose Statement
Harry McLaren
 
Latest Updates to Splunk from .conf 2017 Announcements
Harry McLaren
 
Securing the Enterprise/Cloud with Splunk at the Centre
Harry McLaren
 
Security Meetup Scotland - August 2017 (Deconstructing SIEM)
Harry McLaren
 
Ad

Recently uploaded (20)

PPTX
Numbers of a nation: how we estimate population statistics | Accessible slides
Office for National Statistics
 
PDF
Copia de Strategic Roadmap Infographics by Slidesgo.pptx (1).pdf
ssuserd4c6911
 
PDF
Context Engineering for AI Agents, approaches, memories.pdf
Tamanna
 
PPTX
Dr djdjjdsjsjsjsjsjsjjsjdjdjdjdjjd1.pptx
Nandy31
 
PPTX
ER_Model_with_Diagrams_Presentation.pptx
dharaadhvaryu1992
 
PPTX
apidays Singapore 2025 - From Data to Insights: Building AI-Powered Data APIs...
apidays
 
PPTX
recruitment Presentation.pptxhdhshhshshhehh
devraj40467
 
PDF
Early_Diabetes_Detection_using_Machine_L.pdf
maria879693
 
PPTX
ER_Model_Relationship_in_DBMS_Presentation.pptx
dharaadhvaryu1992
 
PDF
Building Production-Ready AI Agents with LangGraph.pdf
Tamanna
 
PDF
apidays Helsinki & North 2025 - APIs in the healthcare sector: hospitals inte...
apidays
 
PDF
R Cookbook - Processing and Manipulating Geological spatial data with R.pdf
OtnielSimopiaref2
 
PPTX
Aict presentation on dpplppp sjdhfh.pptx
vabaso5932
 
PDF
WEF_Future_of_Global_Fintech_Second_Edition_2025.pdf
AproximacionAlFuturo
 
PDF
apidays Helsinki & North 2025 - API-Powered Journeys: Mobility in an API-Driv...
apidays
 
PDF
apidays Helsinki & North 2025 - How (not) to run a Graphql Stewardship Group,...
apidays
 
PDF
Product Management in HealthTech (Case Studies from SnappDoctor)
Hamed Shams
 
PPTX
apidays Helsinki & North 2025 - From Chaos to Clarity: Designing (AI-Ready) A...
apidays
 
PPTX
Advanced_NLP_with_Transformers_PPT_final 50.pptx
Shiwani Gupta
 
PPTX
apidays Helsinki & North 2025 - APIs at Scale: Designing for Alignment, Trust...
apidays
 
Numbers of a nation: how we estimate population statistics | Accessible slides
Office for National Statistics
 
Copia de Strategic Roadmap Infographics by Slidesgo.pptx (1).pdf
ssuserd4c6911
 
Context Engineering for AI Agents, approaches, memories.pdf
Tamanna
 
Dr djdjjdsjsjsjsjsjsjjsjdjdjdjdjjd1.pptx
Nandy31
 
ER_Model_with_Diagrams_Presentation.pptx
dharaadhvaryu1992
 
apidays Singapore 2025 - From Data to Insights: Building AI-Powered Data APIs...
apidays
 
recruitment Presentation.pptxhdhshhshshhehh
devraj40467
 
Early_Diabetes_Detection_using_Machine_L.pdf
maria879693
 
ER_Model_Relationship_in_DBMS_Presentation.pptx
dharaadhvaryu1992
 
Building Production-Ready AI Agents with LangGraph.pdf
Tamanna
 
apidays Helsinki & North 2025 - APIs in the healthcare sector: hospitals inte...
apidays
 
R Cookbook - Processing and Manipulating Geological spatial data with R.pdf
OtnielSimopiaref2
 
Aict presentation on dpplppp sjdhfh.pptx
vabaso5932
 
WEF_Future_of_Global_Fintech_Second_Edition_2025.pdf
AproximacionAlFuturo
 
apidays Helsinki & North 2025 - API-Powered Journeys: Mobility in an API-Driv...
apidays
 
apidays Helsinki & North 2025 - How (not) to run a Graphql Stewardship Group,...
apidays
 
Product Management in HealthTech (Case Studies from SnappDoctor)
Hamed Shams
 
apidays Helsinki & North 2025 - From Chaos to Clarity: Designing (AI-Ready) A...
apidays
 
Advanced_NLP_with_Transformers_PPT_final 50.pptx
Shiwani Gupta
 
apidays Helsinki & North 2025 - APIs at Scale: Designing for Alignment, Trust...
apidays
 

SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Containerization, Version Control and Automation

  • 1. © 2018 SPLUNK INC.© 2018 SPLUNK INC. SplDevOps Making Splunk Development a Breeze with a Deep Dive on DevOps, Containerization, Version Control & Automation Harry McLaren, Ilias Diamantakos, Tomasz Dziwok October 2018 | Version 1.3
  • 2. © 2018 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. © 2018 Splunk Inc. All rights reserved. Forward-Looking Statements
  • 3. v © 2018 SPLUNK INC. HARRY MCLAREN Splunk Enablement Lead, Managing Consultant ILIAS DIAMANTAKOS Splunk Engineer, Associate Consultant Who Are We? cyberharibu ilias-diamantakos
  • 4. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Best Security Company of the Year Employer: ECS (UK Splunk Elite Partner)
  • 5. © 2018 SPLUNK INC.© 2018 SPLUNK INC. What’s It All About? ▶ Customer Challenges ▶ What Do We Want? ▶ Our Idea to Deploy Splunk ▶ Technical Deep Dive ▶ Project Roadmap ▶ Key Takeaways ~40mins
  • 6. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Customer Challenges “The expansion of Splunk has increased operational complexity, as we manage it manually and can’t keep on top of project change requests.” – High-Street Retailer “We require a full route- to-live to maintain system integrity and can’t deploy changes fast enough in our current setup.” – National Bank “Multiple developers within the same DEV environment, causes repeated configuration conflicts and delays to planned changes.” – National Building Society
  • 7. © 2018 SPLUNK INC.© 2018 SPLUNK INC. What Do We Want? Enterprises Want to Respond Quickly, Safely & With Less Risk Rapid Changes to Splunk Software 01 Orchestrated Deployment 02 Fragile Route-to-Live  Fail Safe, Fast Backout 03 Development at Scale • Enterprise Scale Development • Synchronous Changes / Multiple Admins & Developers • Splunk Defined via Code • Familiar Approach (AKA: DevOps/Agile) Reduction in Custom Config • Every ’Custom’ Configuration Introduces Disparity • Inconsistent Dev, Test, Pre-Prod, Prod • Testing is “Best Endeavors” • Increased Risk, Changes Batched
  • 8. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Splunk for Agility Supporting Agile Methodology by Default Schema at Read, Supporting Multiple Use Cases Analytic Tools Exposed to UI, Empowering Users to Experiment Plain Text Configuration Files, Documented & Supported Splunk API is Enumerated, Dev Licenses, Labs Encouraged SPL Web UI Plain Text Config Open API Monitor InvestigateIntelligence
  • 9. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Our Idea “SplDevOps” Became the Solution Version Control  Git[Lab] Utilized  Multiple Projects/Branches  Key Releases Tagged Full Route-to-Live  Multi-Stage Environments  Dev > Pre-Prod > Prod • Automated Testing Agile Development  Short Sprints  Test Driven Development  Issue Management & Feature Backlog Configuration Management  Orchestrated Deployment  Centralized Config  Ansible used via SSH
  • 10. © 2018 SPLUNK INC. Project: Internal Monitoring Ask: Deploy Splunk Internally for SecOps & ITOps Use Cases
  • 11. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Automation Engine Containerization Version Control Brief Background Let’s talk tools!
  • 12. © 2018 SPLUNK INC. What Tool Fits Where? a new Splunk infrastructure the DevOps way! ▶ Identical environments & route-to-live • Development, Pre-production, Production ▶ Eliminate fear driven development • It’s ok to make mistakes! ▶ Minimize direct production changes • Always go through route-to-live • Transparent change control ▶ Modern means of disaster recovery ▶ Security driven ← Ansible + Git + Docker + Python ← Docker + Git ← GitLab ← Ansible (IaC) ← Ansible Vault
  • 13. © 2018 SPLUNK INC. How We Wanted It To Look Spoiler Alert: This is also the end result dev pre-prod prod IX: Splunk Indexer SH: Splunk Search Head DS: Splunk Deployment Server AS: Ansible Server
  • 14. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Multiple Repositories Of /opt/splunk/etc for each instance Ansible & DS IX splunk_ix SH splunk_sh Syslog Collector syslog ansible splunk_ds
  • 15. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Git Workflow aka “the change process”
  • 16. © 2018 SPLUNK INC. Everything starts from our DevEnv So let’s spin one up
  • 17. © 2018 SPLUNK INC. What’s going on in the background
  • 18. © 2018 SPLUNK INC. What’s going on in the background
  • 19. © 2018 SPLUNK INC. How It Looks
  • 20. © 2018 SPLUNK INC. How It Looks
  • 21. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Let’s Share Secrets No really, we are sharing! ▶ How to version sensitive information • Encryption ▶ How to decrypt automatically • Ansible Vault ▶ How to store Ansible Vault Password • More encryption
  • 22. © 2018 SPLUNK INC. Let’s Decrypt One password to rule them all Ansible Server
  • 23. © 2018 SPLUNK INC. Use Case Scenario Demo time
  • 24. © 2018 SPLUNK INC.© 2018 SPLUNK INC. How it should have been done Integrating with our change process
  • 25. © 2018 SPLUNK INC.© 2018 SPLUNK INC. How it should have been done Integrating with our change process
  • 26. © 2018 SPLUNK INC. How it gets deployed
  • 27. © 2018 SPLUNK INC. How it gets deployed
  • 28. © 2018 SPLUNK INC. How it gets deployed
  • 29. © 2018 SPLUNK INC. Lessons We Learned Not everything was easy… ▶ Multiple repositories • What goes where? • Many lines of history ▶ Identical code for different environments • There are always exceptions (Eventgen, production API calls) ▶ Data for different environments • Production data is sensitive ▶ Automated deployment of code • When do you restart?
  • 30. © 2018 SPLUNK INC. Deployment Results Did it work!?
  • 31. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Full Route-to-Live Implemented in Production Users & Admins Educated & Empowered Everything Under Version Control Promoting Changes in ~ 5mins (Dev>Prod) Foundations Built for Future Development End Result Prototype Success, Production Rollout
  • 32. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Adaptable Framework Expressed in Software (Python + Git + Ansible) Environment Agnostic & Scales to Clustered Deployments& Hybrid Cloud Architecture User Friendly & End-to-End Integrated with Issue/Change Management Roadmap Introducing “Splunk Compiler” (v2.0+)
  • 33. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Splunk Supports Experimentation by Default Agile/DevOps Methodologies are Compatible Doesn’t Require Automation Expertise Version Control BEFORE Software Orchestration Key Takeaways Remember Four Things…
  • 34. © 2018 SPLUNK INC. Don't forget to rate this session in the .conf18 mobile app Thank You