SlideShare a Scribd company logo
Copyright © 2015 Splunk Inc.
Getting Started with
Splunk Enterprise
Tour
Bjorn Graabek
Sr. Splunk Sales Engineer
2
Download Splunk Enterprise for your OS and Architecture.
3
Download tutorialdata.zip
4
Text
For OSX (from terminal):
mkdir /opt/splunk_live_sd
cd /opt/splunk_live_sd
Tar-xzvf ~/Downloads/splunk-
6.3.3-f44afce176d0-darwin-64.tgz
cd splunk/bin
For WIN: Install MSI
For OSX: Start Splunk via
./splunk start
For WIN: Services -> Splunk -> Start
5
Starting Splunk, Accept License.
6
Text
With Firefox, Chrome, or Safari – head to http://127.0.0.1:8000 . User=admin password=changeme
7
You’ve successfully installed Splunk, and logged in! Let’s add the tutorialdata.zip via “Add Data”
8
You can also “Add Data” from Settings at the top.
9
Click on upload.
10
Let’s drag tutorialdata.zip into “Drop your data file here”.
11
Click Next
12
Splunk can auto detect the sourcetype. Lets change host field to buttercup-web01, and then click Review.
13
Looks good, click Submit.
14
Let’s Start Searching our data.
15
We’re brought into a search with filters applied to search the data we just uploaded.
16
Let’s type “buttercupgames” in the search bar, and double click into a bar on the histogram.
17
Notice the time picker changed with our drill into the histogram bar.
18
Given that this data is web access, lets do a string search for 400, which is a “Bad Request” code.
Notice that there’s 188 events returned. (number will vary for you).
19
Lets also add 300 into the mix, and notice that my event count is higher now.
20
We can see the 400 status codes, but not 300’s. That’s because the string search of 300 doesn’t explicitly
search for status code of 300 – it’ll string match any event that contains “300”.
21
Lets explicitly search for status codes equaling values we want to see returned.
22
Great, we’re now returned all the events containing the two status codes we searched for.
Click on “Top values by time”, which will build out a timechart for us.
23
Notice how our search query changed, there’s a | (pipe), and a timechart command added.
The pipe followed by a command allows further operation on your filtered data set.
24
Let’s change our search to: buttercupgames status=*
And – drill into one bar on the histogram.
25
Click on “top values by time” under the status field on the left, which will produce the timechart above.
26
Let’s exclude 200 status codes by adding AND status!=200, and change Line to Column.
27
After changing from Line to Column, lets Stack the results (middle stack under Stack Mode). Much better!
28
Lets now save this to a dashboard, a place we can go to view this search without having to remember
what we had just searched for. Click Save AS -> Dashboard Panel. Fill in, and click Save. Then View dashboard.
29
Click on Search to get us back to our search bar, and lets key in: buttercupgames.
Development wants to know what web browsers are being used to access the site, but no fields currently
exist. No problem – lets extract the browser field.
Find an event that contains a value that you’re looking for, and click the “>” arrow just to the left of “Time”.
The event will expand with a down arrow, and Extract Fields will be under Event Actions. Click Extract Fields.
30
Click Regular Expression (Splunk will build a regular expression to extract our fields), and click next.
Highlight the value of the field you’d like to create, and lets name the field: browser_type
Click Add Extraction.
31
Let’s verify that the extracted field contains values that are indeed types of browsers.
Good, click next to proceed.
Now, open the permissions to “App” which will allow users of the App the ability to leverage this extraction.
Click Next.
32
Success, Let’s explore the fields just created in search, by clicking the link.
33
You’ll now be taken to search, with the filter set to the sourcetype that the field extraction has been applied
to. Note – field extractions are coupled to a sourcetype.
Click on “Top values”.
34
Notice how the search changed. And, instead of a bar graph, we want a pie chart, so drop down the “bar”
option and change it to Pie.
35
Lets add this search to our dashboard, and then view the dashboard.
Click Edit -> Edit Panels to drag the different panels to different positions.
36
Let’s go back to search, and search for buttercupgames AND status!=200 (we want to see events that aren’t successful. Add
the stats and where clause above, to return when there’s more than 100 unsuccessful status codes.
37
Let’s create an alert. Save As -> Alert. Fill out the Title, Scheduled, Earliest + Latest, and Cron Expression
(Instead of 48, change to minutes a few ahead of your current time. Ie. If it’s 9:00am, change to 05.
38
Add to Triggered Alerts, and Save.
39
You should see an alert trigger once your scheduled search runs at the cron expression you defined.
*Note – alerts will only work until the trial license expires.
40
Let’s go back to search and: buttercupgames status=* | iplocation clientip
We want to lookup the clientip values against the MaxMind database to pull in City, Country, State, Lat, Lon
of the IPs.
41
Now, business is interested in seeing plots on a map of web users and what they’re doing with the website.
Lets append a geostats command that counts the events by the values of the action field. Pretty cool! This is
definitely dashboard worthy! Lets add to dashboard.
42
Awesome! Now we have a single pane of glass that Operations, Development, and Business all care about –
from one data source! Talk about value!
Thank You

More Related Content

What's hot (20)

PPTX
SplunkLive! Presentation - Data Onboarding with Splunk
Splunk
 
PPTX
Hunk - Unlocking the Power of Big Data
Splunk
 
PPTX
Splunk's Hunk: A Powerful Way to Visualize Your Data Stored in MongoDB
MongoDB
 
PDF
AI-Powered Streaming Analytics for Real-Time Customer Experience
Databricks
 
PPTX
Hunk - Unlocking The Power of Big Data Breakout Session
Splunk
 
PDF
Unifying Streaming and Historical Telemetry Data For Real-time Performance Re...
Databricks
 
PPTX
December 2013 HUG: Hunk - Splunk over Hadoop
Yahoo Developer Network
 
PDF
Distributing Queries the Citus Way | PostgresConf US 2018 | Marco Slot
Citus Data
 
PDF
Monitoring Postgres at Scale | PostgresConf US 2018 | Lukas Fittl
Citus Data
 
PDF
Cloud Experience: Data-driven Applications Made Simple and Fast
Databricks
 
PDF
Spark Summit - Stratio Streaming
Stratio
 
PDF
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Citus Data
 
PDF
Five Data Models for Sharding | Nordic PGDay 2018 | Craig Kerstiens
Citus Data
 
PPTX
Azure Data Explorer deep dive - review 04.2020
Riccardo Zamana
 
PDF
Real-Time Analytics and Actions Across Large Data Sets with Apache Spark
Databricks
 
PPTX
SplunkLive! Beginner Session
Splunk
 
PPTX
Eagle from eBay at China Hadoop Summit 2015
Hao Chen
 
PDF
New Developments in the Open Source Ecosystem: Apache Spark 3.0, Delta Lake, ...
Databricks
 
PDF
Spark Summit East 2015 Keynote -- Databricks CEO Ion Stoica
Databricks
 
PDF
Real-Time Anomoly Detection with Spark MLib, Akka and Cassandra by Natalino Busa
Spark Summit
 
SplunkLive! Presentation - Data Onboarding with Splunk
Splunk
 
Hunk - Unlocking the Power of Big Data
Splunk
 
Splunk's Hunk: A Powerful Way to Visualize Your Data Stored in MongoDB
MongoDB
 
AI-Powered Streaming Analytics for Real-Time Customer Experience
Databricks
 
Hunk - Unlocking The Power of Big Data Breakout Session
Splunk
 
Unifying Streaming and Historical Telemetry Data For Real-time Performance Re...
Databricks
 
December 2013 HUG: Hunk - Splunk over Hadoop
Yahoo Developer Network
 
Distributing Queries the Citus Way | PostgresConf US 2018 | Marco Slot
Citus Data
 
Monitoring Postgres at Scale | PostgresConf US 2018 | Lukas Fittl
Citus Data
 
Cloud Experience: Data-driven Applications Made Simple and Fast
Databricks
 
Spark Summit - Stratio Streaming
Stratio
 
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Citus Data
 
Five Data Models for Sharding | Nordic PGDay 2018 | Craig Kerstiens
Citus Data
 
Azure Data Explorer deep dive - review 04.2020
Riccardo Zamana
 
Real-Time Analytics and Actions Across Large Data Sets with Apache Spark
Databricks
 
SplunkLive! Beginner Session
Splunk
 
Eagle from eBay at China Hadoop Summit 2015
Hao Chen
 
New Developments in the Open Source Ecosystem: Apache Spark 3.0, Delta Lake, ...
Databricks
 
Spark Summit East 2015 Keynote -- Databricks CEO Ion Stoica
Databricks
 
Real-Time Anomoly Detection with Spark MLib, Akka and Cassandra by Natalino Busa
Spark Summit
 

Viewers also liked (20)

PPTX
Guidelines to implement OER in adult education
Fabio Nascimbeni
 
PDF
Scaffolding ePortfolio use (workshop handout)
Kristina D.C. Hoeppner
 
PDF
UX Australia 2014 Conference Sketchnotes
Gary Barber
 
PDF
May 25 Maskwacis community bbq
Manisha Khetarpal
 
PDF
Brahmin knew many_language
Vijayakumar Reddy
 
DOCX
Rogers beautifully simple gifts price list
Ellen Rogers
 
PDF
Adult Ed Winter Brochure 2016 1.4
Brenda Mercure
 
PDF
Thinkcentre m91&m91p
kevinmitnick4ever
 
PPTX
The Basics of Kicking Ass on the Social Web
Michael Brito | Zeno Group
 
PDF
Agile UX 2015 Conference
Gary Barber
 
PDF
O ESTADO DO FUTURO - 2015/16 E O FUTURO DO TRABALHO 2050
Rosa Alegria
 
DOC
Resume
Om Prakash
 
PPTX
Program Level Design Using Eportfolios: Getting the Big Picture - Sherrie Lov...
ePortfolios Australia
 
PPTX
Envelhecimento Activo
Vitorino Seixas
 
PPTX
Splunk for Enterprise Security featuring User Behavior Analytics
Splunk
 
PDF
Networked Scholars, or, Why on earth do academics use social media and why ...
George Veletsianos
 
PDF
SplunkLive Wellington 2015 - New Features, Pivot and Search Dojo
Splunk
 
PDF
Intermedia Customer Presentation
Splunk
 
PDF
SplunkLive Wellington 2015 - Splunk for Security
Splunk
 
PPTX
SplunkLive! Paris 2015 - Auchan
Splunk
 
Guidelines to implement OER in adult education
Fabio Nascimbeni
 
Scaffolding ePortfolio use (workshop handout)
Kristina D.C. Hoeppner
 
UX Australia 2014 Conference Sketchnotes
Gary Barber
 
May 25 Maskwacis community bbq
Manisha Khetarpal
 
Brahmin knew many_language
Vijayakumar Reddy
 
Rogers beautifully simple gifts price list
Ellen Rogers
 
Adult Ed Winter Brochure 2016 1.4
Brenda Mercure
 
Thinkcentre m91&m91p
kevinmitnick4ever
 
The Basics of Kicking Ass on the Social Web
Michael Brito | Zeno Group
 
Agile UX 2015 Conference
Gary Barber
 
O ESTADO DO FUTURO - 2015/16 E O FUTURO DO TRABALHO 2050
Rosa Alegria
 
Resume
Om Prakash
 
Program Level Design Using Eportfolios: Getting the Big Picture - Sherrie Lov...
ePortfolios Australia
 
Envelhecimento Activo
Vitorino Seixas
 
Splunk for Enterprise Security featuring User Behavior Analytics
Splunk
 
Networked Scholars, or, Why on earth do academics use social media and why ...
George Veletsianos
 
SplunkLive Wellington 2015 - New Features, Pivot and Search Dojo
Splunk
 
Intermedia Customer Presentation
Splunk
 
SplunkLive Wellington 2015 - Splunk for Security
Splunk
 
SplunkLive! Paris 2015 - Auchan
Splunk
 
Ad

Similar to SplunkLive! London 2016 Getting started with Splunk (20)

PPTX
Getting Started with Splunk Enterprise Hands-On
Splunk
 
PPTX
Getting Started with Splunk Enterprise Hands-On
Shannon Cuthbertson
 
PPTX
Getting Started Getting Started With Splunk Enterprise
Splunk
 
PPTX
SplunkLive! Zurich 2017 - Getting Started with Splunk Enterprise
Splunk
 
DOCX
Getting Started with Splunk Enterprise - Demo
Splunk
 
PPTX
Splunk Enterprise for IT Troubleshooting
Splunk
 
DOC
Open microsoft visual studio/tutorialoutlet
Mitchinson
 
PDF
Three Tier Architecture Project Using AWS.pdf
Ayomide Ogunsanya
 
PDF
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
WithTheBest
 
PPTX
Developing Business Blockchain Applications on Hyperledger
IMC Institute
 
PDF
Umbraco - DUUGFest 17 -The need for speed
dawoe
 
PDF
SAP BPC 10.1 NW Master Data loading
Manoj Kumar
 
PDF
The need for speed uk fest
dawoe
 
PPT
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
Shay Hassidim
 
PDF
Creating a scalable & cost efficient BI infrastructure for a startup in the A...
vcrisan
 
PDF
Dataframes in Spark - Data Analysts' perspective
Marcin Szymaniuk
 
PPT
GigaSpaces CCF Quick Tour - 2.3.6
Shay Hassidim
 
PDF
IBM developerWorks Cloud Trial – 90 days
IBM India Smarter Computing
 
PDF
Splunk 6.2 new features
CleverDATA
 
Getting Started with Splunk Enterprise Hands-On
Splunk
 
Getting Started with Splunk Enterprise Hands-On
Shannon Cuthbertson
 
Getting Started Getting Started With Splunk Enterprise
Splunk
 
SplunkLive! Zurich 2017 - Getting Started with Splunk Enterprise
Splunk
 
Getting Started with Splunk Enterprise - Demo
Splunk
 
Splunk Enterprise for IT Troubleshooting
Splunk
 
Open microsoft visual studio/tutorialoutlet
Mitchinson
 
Three Tier Architecture Project Using AWS.pdf
Ayomide Ogunsanya
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
WithTheBest
 
Developing Business Blockchain Applications on Hyperledger
IMC Institute
 
Umbraco - DUUGFest 17 -The need for speed
dawoe
 
SAP BPC 10.1 NW Master Data loading
Manoj Kumar
 
The need for speed uk fest
dawoe
 
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
Shay Hassidim
 
Creating a scalable & cost efficient BI infrastructure for a startup in the A...
vcrisan
 
Dataframes in Spark - Data Analysts' perspective
Marcin Szymaniuk
 
GigaSpaces CCF Quick Tour - 2.3.6
Shay Hassidim
 
IBM developerWorks Cloud Trial – 90 days
IBM India Smarter Computing
 
Splunk 6.2 new features
CleverDATA
 
Ad

More from Splunk (20)

PDF
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
PDF
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
PDF
Building Resilience with Energy Management for the Public Sector
Splunk
 
PDF
IT-Lagebild: Observability for Resilience (SVA)
Splunk
 
PDF
Nach dem SOC-Aufbau ist vor der Automatisierung (OFD Baden-Württemberg)
Splunk
 
PDF
Monitoring einer Sicheren Inter-Netzwerk Architektur (SINA)
Splunk
 
PDF
Praktische Erfahrungen mit dem Attack Analyser (gematik)
Splunk
 
PDF
Cisco XDR & Splunk SIEM - stronger together (DATAGROUP Cyber Security)
Splunk
 
PDF
Security - Mit Sicherheit zum Erfolg (Telekom)
Splunk
 
PDF
One Cisco - Splunk Public Sector Summit Germany April 2025
Splunk
 
PDF
.conf Go 2023 - Data analysis as a routine
Splunk
 
PDF
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk
 
PDF
.conf Go 2023 - Navegando la normativa SOX (Telefónica)
Splunk
 
PDF
.conf Go 2023 - Raiffeisen Bank International
Splunk
 
PDF
.conf Go 2023 - På liv og død Om sikkerhetsarbeid i Norsk helsenett
Splunk
 
PDF
.conf Go 2023 - Many roads lead to Rome - this was our journey (Julius Bär)
Splunk
 
PDF
.conf Go 2023 - Das passende Rezept für die digitale (Security) Revolution zu...
Splunk
 
PDF
.conf go 2023 - Cyber Resilienz – Herausforderungen und Ansatz für Energiever...
Splunk
 
PDF
.conf go 2023 - De NOC a CSIRT (Cellnex)
Splunk
 
PDF
conf go 2023 - El camino hacia la ciberseguridad (ABANCA)
Splunk
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Building Resilience with Energy Management for the Public Sector
Splunk
 
IT-Lagebild: Observability for Resilience (SVA)
Splunk
 
Nach dem SOC-Aufbau ist vor der Automatisierung (OFD Baden-Württemberg)
Splunk
 
Monitoring einer Sicheren Inter-Netzwerk Architektur (SINA)
Splunk
 
Praktische Erfahrungen mit dem Attack Analyser (gematik)
Splunk
 
Cisco XDR & Splunk SIEM - stronger together (DATAGROUP Cyber Security)
Splunk
 
Security - Mit Sicherheit zum Erfolg (Telekom)
Splunk
 
One Cisco - Splunk Public Sector Summit Germany April 2025
Splunk
 
.conf Go 2023 - Data analysis as a routine
Splunk
 
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk
 
.conf Go 2023 - Navegando la normativa SOX (Telefónica)
Splunk
 
.conf Go 2023 - Raiffeisen Bank International
Splunk
 
.conf Go 2023 - På liv og død Om sikkerhetsarbeid i Norsk helsenett
Splunk
 
.conf Go 2023 - Many roads lead to Rome - this was our journey (Julius Bär)
Splunk
 
.conf Go 2023 - Das passende Rezept für die digitale (Security) Revolution zu...
Splunk
 
.conf go 2023 - Cyber Resilienz – Herausforderungen und Ansatz für Energiever...
Splunk
 
.conf go 2023 - De NOC a CSIRT (Cellnex)
Splunk
 
conf go 2023 - El camino hacia la ciberseguridad (ABANCA)
Splunk
 

Recently uploaded (20)

PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
The Future of Artificial Intelligence (AI)
Mukul
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 

SplunkLive! London 2016 Getting started with Splunk

  • 1. Copyright © 2015 Splunk Inc. Getting Started with Splunk Enterprise Tour Bjorn Graabek Sr. Splunk Sales Engineer
  • 2. 2 Download Splunk Enterprise for your OS and Architecture.
  • 4. 4 Text For OSX (from terminal): mkdir /opt/splunk_live_sd cd /opt/splunk_live_sd Tar-xzvf ~/Downloads/splunk- 6.3.3-f44afce176d0-darwin-64.tgz cd splunk/bin For WIN: Install MSI For OSX: Start Splunk via ./splunk start For WIN: Services -> Splunk -> Start
  • 6. 6 Text With Firefox, Chrome, or Safari – head to http://127.0.0.1:8000 . User=admin password=changeme
  • 7. 7 You’ve successfully installed Splunk, and logged in! Let’s add the tutorialdata.zip via “Add Data”
  • 8. 8 You can also “Add Data” from Settings at the top.
  • 10. 10 Let’s drag tutorialdata.zip into “Drop your data file here”.
  • 12. 12 Splunk can auto detect the sourcetype. Lets change host field to buttercup-web01, and then click Review.
  • 15. 15 We’re brought into a search with filters applied to search the data we just uploaded.
  • 16. 16 Let’s type “buttercupgames” in the search bar, and double click into a bar on the histogram.
  • 17. 17 Notice the time picker changed with our drill into the histogram bar.
  • 18. 18 Given that this data is web access, lets do a string search for 400, which is a “Bad Request” code. Notice that there’s 188 events returned. (number will vary for you).
  • 19. 19 Lets also add 300 into the mix, and notice that my event count is higher now.
  • 20. 20 We can see the 400 status codes, but not 300’s. That’s because the string search of 300 doesn’t explicitly search for status code of 300 – it’ll string match any event that contains “300”.
  • 21. 21 Lets explicitly search for status codes equaling values we want to see returned.
  • 22. 22 Great, we’re now returned all the events containing the two status codes we searched for. Click on “Top values by time”, which will build out a timechart for us.
  • 23. 23 Notice how our search query changed, there’s a | (pipe), and a timechart command added. The pipe followed by a command allows further operation on your filtered data set.
  • 24. 24 Let’s change our search to: buttercupgames status=* And – drill into one bar on the histogram.
  • 25. 25 Click on “top values by time” under the status field on the left, which will produce the timechart above.
  • 26. 26 Let’s exclude 200 status codes by adding AND status!=200, and change Line to Column.
  • 27. 27 After changing from Line to Column, lets Stack the results (middle stack under Stack Mode). Much better!
  • 28. 28 Lets now save this to a dashboard, a place we can go to view this search without having to remember what we had just searched for. Click Save AS -> Dashboard Panel. Fill in, and click Save. Then View dashboard.
  • 29. 29 Click on Search to get us back to our search bar, and lets key in: buttercupgames. Development wants to know what web browsers are being used to access the site, but no fields currently exist. No problem – lets extract the browser field. Find an event that contains a value that you’re looking for, and click the “>” arrow just to the left of “Time”. The event will expand with a down arrow, and Extract Fields will be under Event Actions. Click Extract Fields.
  • 30. 30 Click Regular Expression (Splunk will build a regular expression to extract our fields), and click next. Highlight the value of the field you’d like to create, and lets name the field: browser_type Click Add Extraction.
  • 31. 31 Let’s verify that the extracted field contains values that are indeed types of browsers. Good, click next to proceed. Now, open the permissions to “App” which will allow users of the App the ability to leverage this extraction. Click Next.
  • 32. 32 Success, Let’s explore the fields just created in search, by clicking the link.
  • 33. 33 You’ll now be taken to search, with the filter set to the sourcetype that the field extraction has been applied to. Note – field extractions are coupled to a sourcetype. Click on “Top values”.
  • 34. 34 Notice how the search changed. And, instead of a bar graph, we want a pie chart, so drop down the “bar” option and change it to Pie.
  • 35. 35 Lets add this search to our dashboard, and then view the dashboard. Click Edit -> Edit Panels to drag the different panels to different positions.
  • 36. 36 Let’s go back to search, and search for buttercupgames AND status!=200 (we want to see events that aren’t successful. Add the stats and where clause above, to return when there’s more than 100 unsuccessful status codes.
  • 37. 37 Let’s create an alert. Save As -> Alert. Fill out the Title, Scheduled, Earliest + Latest, and Cron Expression (Instead of 48, change to minutes a few ahead of your current time. Ie. If it’s 9:00am, change to 05.
  • 38. 38 Add to Triggered Alerts, and Save.
  • 39. 39 You should see an alert trigger once your scheduled search runs at the cron expression you defined. *Note – alerts will only work until the trial license expires.
  • 40. 40 Let’s go back to search and: buttercupgames status=* | iplocation clientip We want to lookup the clientip values against the MaxMind database to pull in City, Country, State, Lat, Lon of the IPs.
  • 41. 41 Now, business is interested in seeing plots on a map of web users and what they’re doing with the website. Lets append a geostats command that counts the events by the values of the action field. Pretty cool! This is definitely dashboard worthy! Lets add to dashboard.
  • 42. 42 Awesome! Now we have a single pane of glass that Operations, Development, and Business all care about – from one data source! Talk about value!