Best Practices and Better Practices For Admins Latest Slides: Collaborate: #Bestpractices Sign Up at HTTP://SPLK - It/slack
Best Practices and Better Practices For Admins Latest Slides: Collaborate: #Bestpractices Sign Up at HTTP://SPLK - It/slack
Best Practices and Better Practices For Admins Latest Slides: Collaborate: #Bestpractices Sign Up at HTTP://SPLK - It/slack
Collaborate: #bestpractices
Sign Up @ http://splk.it/slack
© 2019 S P LUNK INC.
burch
© 2019 S P LUNK INC.
Forward- During the course of this presentation, we may make forward‐looking statements regarding
future events or plans of the company. We caution you that such statements reflect our
Looking current expectations and estimates based on factors currently known to us and that actual
events or results may differ materially. The forward-looking statements made in the this
Statements presentation are being made as of the time and date of its live presentation. If reviewed after
its live presentation, it may not contain current or accurate information. We do not assume
any obligation to update any forward‐looking statements made herein.
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 functionalities described or to include any such feature or
functionality in a future release.
Splunk, Splunk>, Turn Data Into Doing, 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. © 2019 Splunk Inc. All rights reserved.
© 2019 S P LUNK INC.
burch
Prince of Puns
Manager, Product Best Practices | Splunk, Inc.
@SloshBurch
Comp Sci + MBA
Middleware Eng
2012: Customer
2014: Employee
© 2019 S P LUNK INC.
© 2019 S P LUNK INC.
© 2019 S P LUNK INC.
Target 7.0 6.6 6.5 6.4 6.3 6.2 6.1 6.0 4.3
6.0
Min 6.0 6.0 6.0 6.0 6.0 6.0 4.3 uninstall
UF: 5.0
© 2019 S P LUNK INC.
Banner Notifications
Search “docs.splunk.com Splunk Web messages”
Examples:
• Scheduled restart
• Ongoing issues
• Cool KO to check out
Specific audiences
• Role
• Capability
© 2019 S P LUNK INC.
Create a Lab!
search “splunk ssf sandbox lab”
© 2019 S P LUNK INC.
Indent Config
Example: Benefit:
No “.conf”
Utilities Tier DR
search “splunk ssf dns”
Bootstrap
Minimal system/local
Template:
<summary|>_<company>_<function>_<environment>
<company>
• Yours or from a 3rd party/splunk app
<function>
• Nothing that changes (i.e. organization/teams)
<environment>
• PROD, DR, QA, TEST, DEV, etc…
<summary|>
• Exists as a modifying of corresponding index
© 2019 S P LUNK INC.
App Management
What practices do you notice?
App Management
What practices do you notice?
App Management
What practices do you notice?
Benefits Caveats
Configuration Benefit
Configuration Benefit
Index Definitions
[volume:home] volume:
path = $SPLUNK_DB
maxVolumeDataSizeMB = x
maxVolumeDataSizeMB
[volume:cold] • Indexes compete for storage
path = $SPLUNK_DB
maxVolumeDataSizeMB = x [default]
[default]
homePath = volume:home/$_index_name/db [newindex]
coldPath = volume:cold/$_index_name/colddb
thawedPath = $SPLUNK_DB/$_index_name/thaweddb $_index_name
[newindex]
© 2019 S P LUNK INC.
Cluster of One
“We lost that data even though we had replication”
Benefits Challenges
Indexer Discovery
Search docs.splunk.com for “indexerdiscovery”
Pros Cons
Forwarders:Indexers Ratio
autoLBVolume + autoLBFrequency
© 2019 S P LUNK INC.
Auditable Logins
• Empty $SPLUNK_HOME/etc/passwd and $SPLUNK_HOME/etc/.ui_login
• Distribute authentication.conf
MC Deployment
Standalone instance
Health Check
wwwaaaaaahhhhh?!
© 2019 S P LUNK INC.
TimeZones
search “splunk answers 776614”
U.T.C.
Timezones for forwarders
IT Policy
© 2019 S P LUNK INC.
Boot Start
init.d -> systemd
sudo OR PolKit
Workload Management
© 2019 S P LUNK INC.
Support Tickets
docs.splunk.com “How to file a great Support case”
Open Cases
• break/fix only
• Details, details, details
• Diags everywhere!
– Remote
– Upload to case
Schedule webex
• Delay and much lost in email
© 2019 S P LUNK INC.
© 2019 S P LUNK INC.
© 2019 S P LUNK INC.
Define Scope
Search “splunk ssf scope”
Service
Catalog
Hiring Practices
search “splunk ssf staffing model”
Complexity
• Distributed Deployment
• Indexer Clustering
• Search Head Clustering
• Data Collection Tier
• Complex Utility Deployments
Work Expectations
• Platform HA means People HA
• SSF staff vs End Users workload
Architect
Developer
Engineer
Executive Sponsor
Search Expert
Knowledge Manager
Program Manager
Project Manager
User Community
Data Management
“Compare QA & PROD…D’oh!”
Logical Separation:
• Role Based Access Control
• Separate indexes per env
• Use eventtypes/tags
forwardedindex.filter.disable
docs.splunk
“logging
best
practices”
Tighter Coupling
Use Case with Data
Data in Splunk
That data shown back to you as a use case thereby providing
insights into your business or technology resulting in machine
data being accessible, usable and valuable to everyone.
© 2019 S P LUNK INC.
Tighter Coupling
Use Case with Data
Data in Splunk
That data shown back to you as a use case thereby providing
insights into your business or technology resulting in machine
data being accessible, usable and valuable to everyone.
© 2019 S P LUNK INC.
Onboarding != Ingestion
A David Paper Joint!
© 2019 S P LUNK INC.
Onboarding != Ingestion
A David Paper Joint!
© 2019 S P LUNK INC.
Onboarding != Ingestion
A David Paper Joint!
What to create?
Dashboards and reports and scheduled searches, Oh My
© 2019 S P LUNK INC.
Unaware
Issue Exists
Aware
Issue Exists
© 2019 S P LUNK INC.
Listening
Unaware
• Dashboards & Glass Tables
Issue Exists
• Odd symptom combo
Aware
Issue Exists
© 2019 S P LUNK INC.
Listening
Unaware
• Dashboards & Glass Tables
Issue Exists
• Odd symptom combo
Investigating
Aware
• Go Spelunking!
Issue Exists
• Hunting for RC
© 2019 S P LUNK INC.
Listening
Unaware Monitoring
• Dashboards & Glass Tables
Issue Exists • Scheduled Searches & Alert Actions
• Odd symptom combo
Investigating
Aware
• Go Spelunking!
Issue Exists
• Hunting for RC
© 2019 S P LUNK INC.
Listening
Unaware Monitoring
• Dashboards & Glass Tables
Issue Exists • Scheduled Searches & Alert Actions
• Odd symptom combo
Investigating
Aware Attacking
• Go Spelunking!
Issue Exists • Adaptive Response
• Hunting for RC
© 2019 S P LUNK INC.
© 2019 S P LUNK INC.
© 2019 S P LUNK INC.
Admin on MC
© 2019 S P LUNK INC.
Search Tutorial
Community Q&A
answers.splunk.com
E-mail notifications
Fast answers
Larger distribution
© 2019 S P LUNK INC.
Who wants
to role play?
Choose Your Own
Adventure!
© 2019 S P LUNK INC.
Doug M.
© 2019 S P LUNK INC.
D. Merritt
© 2019 S P LUNK INC.
index=*
© 2019 S P LUNK INC.
Splunk Admin
You
Your throat
© 2019 S P LUNK INC.
“eliminating
consumer
choices can
greatly
reduce anxiety”
© 2019 S P LUNK INC.
Mislead?
Restrict?
Guidance!
Confidence!
Comfort!
© 2019 S P LUNK INC.
Burch’s Experience
Same questions and confusions over and over
What is Splunk?
Welcome Email
Lost in their mailbox…
Static == Ineffective
Workspace
Do you keep everyone’s work on everyone’s desk?
© 2019 S P LUNK INC.
App as a Workspaces
Discovery, collaboration, resource usage
© 2019 S P LUNK INC.
Incentives
© 2019 S P LUNK INC.
Is EDU Required?
© 2019 S P LUNK INC.
Incentives
© 2019 S P LUNK INC.
Result
Curiosity and exploration
© 2019 S P LUNK INC.
Search Activity:
• Top 20 Memory-Consuming Searches
Great for
• Clean up
• Identifying users to mature
© 2019 S P LUNK INC.
Data Access
Search Constraints
Default App
© 2019 S P LUNK INC.
Follow!
© 2019 S P LUNK INC.
Thank
You!
Go to the .conf19 mobile app to