Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Splunk

You're reading from   Mastering Splunk Optimize your machine-generated data effectively by developing advanced analytics with Splunk

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781782173830
Length 344 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
James D. Miller James D. Miller
Author Profile Icon James D. Miller
James D. Miller
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. The Application of Splunk FREE CHAPTER 2. Advanced Searching 3. Mastering Tables, Charts, and Fields 4. Lookups 5. Progressive Dashboards 6. Indexes and Indexing 7. Evolving your Apps 8. Monitoring and Alerting 9. Transactional Splunk 10. Splunk – Meet the Enterprise A. Quick Start Index

Knowledge management


As mentioned, you can define or create Splunk transactional types for later use by yourself or for other Splunk users by utilizing the transactiontypes.conf file. A lot of thought should go into a Splunk knowledge management strategy. You will find more on this topic later in this book, but for now, here are the basics you can use to define some Splunk transactions:

  1. If it doesn't already exist, you can use a text editor to create a transactiontypes.conf file in $SPLUNK_HOME/etc/system/local/ or your own custom app directory in $SPLUNK_HOME/etc/apps/.

  2. Next, define transactions using the following arguments:

    [<transactiontype>]
    maxspan =  [<integer> s|m|h|d|-1]
    maxpause = [<integer> s|m|h|d|-1]
    fields = <comma-separated list of fields>
    startswith = <transam-filter-string>
    endswith=<transam-filter-string>

Let's discover the functions of the code terms in the preceding example:

  • transactiontype: This is the name of the transaction type

  • maxspan...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image