Splunk Admin Cert Flashcards
Installing an app from a file
3
- Download from Splunkbase
- Install from Splunkweb OR the CLI with: splunk install app path-to-appfile
- Extract: cd SPLUNK_HOME/etc/apps tar -xf path-to-appfile
Deleting an app command
2
. ./splunk remove app
- Navigate to SPLUNK_HOME/etc/apps and delete the folder
* restart server for both
Two ways to install an add-on or app on a forwarder
. CLI
- Use deployment server to deploy app.
DO UF’s(Universal Fowarder) have a web interface?
No, Heavy Fowarders do. They can still use apps.
Does user have default permissions to write in search app?
No
Users with read permissions can do what?
Users with write permission can do what?
Read: See app and use it
Write: add/delete/modify knowledge objects used in the app
Where are apps installed?
SPLUNK_HOME/etc/apps
Can UF parse data?
NO
Can HF parse data?
YES
Enterprise Trial License limits
3
- 500mb per day limit
- Valid for 60 days, at which point the other 3 license types must be activated
- Sales trial license is a trial of varying size and duration
Enterprise License
4
- Purchased from Splunk
- Full functionality for indexing, search head, deployment server, etc.
- Sets daily indexing volume
- No-enforcement license, can keep searching even if in license violation period.
Free License
2
- Disables alerts, authentication, clustering, distributed search, summarization and forwarding to non-splunk users.
- Allows 500mb/day of indexing and forwarding
License Violations
5 warning on Enterprise, 3 on free trial, in a rolling 30-day period is a violation.
*resets at midnight
Forwarder License
3
.Sets up the server as a heavy forwarder.
- Applies to non-indexing forwarders
- Allows authentication, but no indexing
Metrics Data
counts against a license at a fixed 150 bytes per metric event
*draws from same license quota as event data
If you update a .conf file but do not restart the instance of splunk, then run a btool on that .conf file, will you see your updates afters running the btool command?
YES
What do license pools do?
Allow licenses to be subdivided amongst a group of indexers
What is the license path?
SPLUNK_HOME/etc/licenses
T/F: Splunk provides licenses for metrics and events data
False. They share the same license quota as event data.
T/F: Search Heads also need an Enterprise License (or set as a slave to a License Master with an Enterprise License_ even though we have no configured any inputs.
True
T/F: If you exceed the daily license quota in a pool, your license will go into a violation.
False
An app is a collection of..
Configuration files, scripts, web assets
Can apps be installed on any Splunk instance?
Yes
T/F: Write permissions to an app means that the user’s role is able to modify the app.
False. User’s role with write can add/delete/modify
T/F: Universal forwarders don’t have a web interface, but they can still benefit from an app.
True
Two required fields for adding native users
Username and Password
Optional fields for adding native users
4
- Full name and email address (defaults to none)
– Time zone (defaults to search head time zone)
– Default app (defaults to role default app, or home if no role default app)
– Role(s)
Defaults to user
*add password on first login
What does a new role inherit? (2)
Capabilities and Index Access
Where do you store and manage your local configs?
(SPLUNK_HOME/etc/apps/search/local)
How to use btool to debug monitor
splunk btool inputs list monitor:///var/log –debug
Where does Splunk input data?
SPLUNK_HOME/var/lib/splunk
What are the paths for buckets?
Hot/warm: $SPLUNK_HOME/var/lib/splunk/defaultdb/db/*
Cold: $SPLUNK_HOME/var/lib/splunk/defaultdb/colddb/*
Frozen: Directory to where I specify or deleted
Thawed:$SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb/
What .conf do forwarders require?
outputs.conf
How to check for successful connection for indexer and forwarder.
Indexer: splunk display listen
Forwarder: splunk list forward-server
How do distributed search peers run searches?
In parallel
What phase does the licensing happen?
Indexing
What are Knowledge Bundles distributed to and by what?
Distributed to search peers by search head when intitiated
Knowledge bundle directories
Search Head: SPLUNK_HOME/var/run
Search Peer: SPLUNK_HOME/var/run/searchpeers
Distributing indexes and search loads across multiple servers facilitates what kind of scaling?
Horizontal
What event breaker do you use for a single line event?
EVENT_BREAKER_ENABLE
What event breaker do you use for a multi-line event?
EVENT_BREAKER = regex
What does * do?
Matches anything in that specific directory path segment but does not go beyond that segment in the path.
What does … do?
Recurses through directories and subdirectories to match
Where should you forward search head indexes to?
the search peer (indexer) layer
What files does a splunk diag produce?
tar.gz and diag.log
Search Head Clustering
Replicated knowledge objects across search heads
Indexer Clustering
Replicated buckets (data) across indexers
Can be configured as single or multi site
Allows you to balance growth, speed of recovery and overall disk usage
Additional Components of a cluster
Node Monitoring Console Deployment Server Deployer License Master
Can a splunk indexer function as a cluster?
Yes
Where does Authentication Method save it’s settings?
authentication.conf
User accounts stored in directory server
– Enforces LDAP user account and password policies
– Users use the same user name and password in Splunk that they use elsewhere
– LDAP groups must be mapped to Splunk roles Or, this can be done manually in Splunk
Is the LDAP server rechecked each time a user logs into Splunk?
Yes
Can a user log in to LDAP Groups if they don’t have a Splunk Role?
No
Can Splunk native user be edit or deleted?
Both
What can be changed on LDAP or other users?
Time Zone and default app
What does Identity Provider (IDP) do?
maintain the user credentials and handles authentication
What are the aliases when configuring SAML?
Role
RealName
Mail
When creating a SAML group, can multiple groups be mapped to a single user role?
Yes.