Take Splunk For A Test Drive: Getting Started With Splunk
Take Splunk For A Test Drive: Getting Started With Splunk
The best way to experience Splunk is to use it for yourself. This guide walks you through step by step in
installing Splunk, adding data, searching the data, saving the searches as reports, and creating dashboards. If
you're new to Splunk or would like to simply learn more about the platform, this is the place to start!
Total time to complete the guide is about an hour but we encourage you to explore and spend as much time
on each step as you see fit. Splunk provides sample data so all you need is a laptop or server to get started.
Page 1 of 3
Getting Started with Splunk
How To Videos
◦ Splunk Installation Videos:
▪ Installing Splunk on Linux (Video - 4:59)
▪ Installing Splunk on Windows (Video - 5:50)
◦ Splunk Getting Data In Videos:
▪ Getting Unix/_Linux Data into Splunk (Video - 2:14)
▪ Getting Windows Data into Splunk (Video - 3:14 )
◦ Splunk Basics
Splunk Basic Searching (Video – 11:48)
Splunk Creating Dashboards (Video – 7:59)
Product Resources
Download Splunk - Multiple operating systems supported (e.g. Linux, Mac, Windows, Solaris, etc.)
Getting data into Splunk - Point Splunk Enterprise at data and in moments, you can start searching the
data, or use it to create charts, reports, alerts, and other interesting outputs
Common Search Queries/Functions - Frequently used Splunk search commands with descriptions and
examples.
Search Language Quick Reference Card - Available only as a PDF file, is a six-page reference card that
provides fundamental search concepts, commands, functions, and examples.
Splunk Search Cheat Sheet – Online quick reference guide and cheat sheet for learning the Splunk
Search Language. Also available as a downloadable PDF (8 pages).
Answers
Splunk Answers – Have questions on how to do something with Splunk? Get answers fast.
Social Media
Splunk Online Blogs – All topics Splunk; tips and tricks, customers, dev, customers, etc.
The Splunk Book - Exploring Splunk - Search Processing Language (SPL) Primer and Cookbook
IRC - The Splunk community is 100,000 strong and active 24/7. If you have interest in chatting live with
online community members, try out our IRC channel. It consists of people who are experts in Splunk as
well as people who are just getting started. What ever your level or interest is, there is always an active
discussion happening in our IRC channel.
Page 2 of 3
Getting Started with Splunk
Best Practices
Getting Data In - When first testing a new data source, it is often easier to just have the file monitored
on the local Splunk instance. However, eventually be sure to use the Universal Forwarder to collect
the data.
Testing inputs - Use a test index so you can easily test and, if needed, clean the data.
Data Prerequisites – there are a few default fields you must get right at index time; everything else you
can create/modify after indexing (aka schema on the fly)
Event breaking – Splunk generally does this automatically, but it is best practice to check that
Splunk correctly detected the beginning and end of an event. When you search the index and
see that the count is different than what you expect you likely may have multi-line
events. Splunk can easily handle this with some simple configuration.
Time stamp – Splunk automatically detects the time stamp but if your log format has a strange
time stamp you may need to manually configure the time stamp.
Host - Generally dedicated from the universal forwarder so really only a concern if you are
using a syslog server with data from multiple hosts.
Source type: Splunk knows about many source types (ie. access_combined, IIS, syslog, etc) but
if you have a custom data source you should set this so that you can easily find it later on by
doing queries like sourcetype=my_mobile_api
Index Separation/Customizing - Use a test index when starting out. Eventually, you will want
separate indexes based on whether the data has specific retention requirements or if you want to prevent
certain users from being able to query the data.
If you can’t find what you are looking for or need further assistance please don’t hesitate to reach out.
Happy Splunking!
Page 3 of 3