2.3 Demo: Setting up Your Splunk Environment
2.4 Demo: The Transaction Command
2.6 Family of Correlation Searches
3.2 Using Startswith and Endswith
3.3 Demo: Startswith and Endswith
3.4 Using Maxevents, Maxpause, and Maxspan
3.5 Using Rex to Extract Fields
3.7 Finding Unfinished Transactions
3.8 Demo: Finding Unfinished Transactions
4 Creating Reports and Dashboards from Transaction Results
5 Determining When to Use Transactions
5.3 Demo: Compare Transaction and Stats
5.5 When Transaction Is Not Possible
Course Overview
Karun Subramanian – Splunk Certified Architect
https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Transaction
Understanding Transactions
Overview
What Are Transactions?
Demo: Setting up Your Splunk Environment
https://docs.splunk.com/Documentation/Splunk/9.2.0/SearchTutorial/GetthetutorialdataintoSplunk
Download Prices.csv.zip, tutorialdata.zip files
Upload tutorialdata.zip
With index = pluralsight – rest of the items are defualt
Search
In fast mode filelds are not automatically extracted. But in smart, verbose mode fields are automatically extracted.
So for transactions always we use Smart mode (verbose mode costly)
Create App for our knowledge object
??? What is app and why we need even uploading file is available in search
Click Gear Icon > Click “Create app”
- here no file choose to upload
App “Globomantics” will be created
Logo should be in app/name/static folder
Demo: The Transaction Command
JSESSIONID is generated by application server
Identifying Transactions
Family of Correlation Searches
A Word of Caution
Using Transactions
Overview
Using Startswith and Endswith
Within the transactions, the records will be in chronological order.
Demo: Startswith and Endswith
index="_internal" sourcetype=splunkd
index="_internal" sourcetype=splunkd
| transaction startswith="Splunkd starting"
index="_internal" sourcetype=splunkd
| transaction startswith="Splunkd starting" maxevents=20
Using Maxevents, Maxpause, and Maxspan
If
Using Rex to Extract Fields
To extract the fileds from events in search time
Extract fields in index time also by using propos.conf, and index.conf file
Demo: Using Rex
RESPONSETIME field is created, then we can use this field
Create field for user name
Finding Unfinished Transactions
Demo: Finding Unfinished Transactions
Ordered something but not finished
Creating Reports and Dashboards from Transaction Results
Overview
Creating Reports
Creating Dashboards
Demo: Creating Reports
We can not see any SPL query in the dashboard.
Better choose cron expression.
Demo: Creating Dashboards
Add to dashboards
Export – schedule to deliver as PDF
Determining When to Use Transactions
Overview
Drawbacks of Transactions
In transaction duration automatically created but in stats we define
Demo: Compare Transaction and Stats
The same result we can get it from stats command
Transaction vs. Join
When Transaction Is Not Possible
No comments:
Post a Comment