Top Banner
Automating Splunk Configuration Mark Phillips
14

Splunk user group - automating Splunk with Ansible

May 10, 2015

Download

Technology

Mark Phillips

A talk I gave at the London Splunk User Group in July of 2014. A brief overview of why choose Ansible over the other options, then some live demos of configuring certain bits of Splunk with Ansible. Intended to be a taster of what's possible. All the Ansible playbooks are shared on Github, the link to which is in the presentation.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Splunk user group - automating Splunk with Ansible

Automating Splunk Configuration

Mark Phillips

Page 2: Splunk user group - automating Splunk with Ansible

Topics• Which tool?

• Demo: Configuration storage

• Demo: Enabling forwarding

• Demo: Installing and managing forwarders

• Demo: Maintaining apps

Page 3: Splunk user group - automating Splunk with Ansible

About Me

• Linux tinkerer since 1992

• Automating stuff since 1993

• “Done time” in small organisations through to Investment Banks

• I’m lazy

Page 4: Splunk user group - automating Splunk with Ansible

–Albert Einstein

“Make everything as simple as possible, but not simpler”

Page 5: Splunk user group - automating Splunk with Ansible

Infrastructure as code

Page 6: Splunk user group - automating Splunk with Ansible

Ansible• Agent less

• SSH for transport

• Common language - YAML

• Easy to learn quickly

Page 7: Splunk user group - automating Splunk with Ansible

Learn More• Slides from DevOps Cardif (Puppet vs Chef vs Ansible)

• Blog post I wrote last year

• Splunk's recent blog on Splunk + Ansible

• Get started with Ansible

Page 8: Splunk user group - automating Splunk with Ansible
Page 9: Splunk user group - automating Splunk with Ansible

El Reg: "Are your servers PETS or CATTLE?"

Page 10: Splunk user group - automating Splunk with Ansible

(The Splunk GUI is fine for managing a small estate)

Page 11: Splunk user group - automating Splunk with Ansible

(But as you get larger, really you need more help: automation)

Page 12: Splunk user group - automating Splunk with Ansible

Demos

Github repo used to build the demos: http://github.com/phips/splunkbox/tree/jldemo

Page 13: Splunk user group - automating Splunk with Ansible

Ansible Tower

http://www.ansible.com/tower

Page 14: Splunk user group - automating Splunk with Ansible

Mark Phillips [email protected]

@vntxuk

Blog: probably.co.uk