Category: Splunk

  • Overkill: Rapid Detection Engine 

    Overkill: Rapid Detection Engine 

    Turning emergent threats into systemwide defense in 24 hours or less. 

    By Bruce Johnson, Senior Director, Enterprise Security and Dave Cheever, Team Lead

    Most MDR providers take days or weeks to detect what TekStream can identify and neutralize in hours. Overkill, our Rapid Detection Engine, is a system built to turn every emergent threat into a reusable, automated defense across all customer environments within a single day. Rather than simply being reactionary, TekStream seeks to operationalize proactive threat detection and prevention. Overkill shifts the equation to put time and scale back on the defender’s side. 

    The Problem 

    Modern threat response moves too slowly. By the time many vendors identify a new exploit, write a detection, and deploy it, the threat has already spread. TekStream designed Overkill to solve this gap, delivering high-quality, high-speed detection and response at enterprise scale. 

    Overkill is a detection propagation system that goes beyond typical incident response workflow to broadly leverage automation, analyst expertise, and federated intelligence on an ecosystem level. It gives TekStream, and any security organization leveraging this model, the ability to react to emerging threats in near real time and convert that reaction into enduring defense.  

    How It Works: The Overkill and Detection Propagation Process 

    The following steps illustrate how Overkill turns a single emerging threat into a full ecosystem response within 24 hours. 

    9:55 AM, September 16th – Threat Emerges via Open Source Intelligence 

    A member of the threat hunting team identifies a new threat through open-source channels: news feeds, social media chatter, or CVE publications. In one case, activity surfaced involving a JavaScript (JS) supply chain compromise via NPM. 

    Intent: Get ahead of vendor alerts by sourcing intelligence proactively. This shortens response time and keeps clients safer before threats become widespread. 

    9:55 AM, September 16th – Prioritization Based on Ecosystem Impact 

    The threat is flagged as potentially impacting multiple customers, especially where shared tools (like CrowdStrike) are in use. It’s immediately escalated as a high-priority supply chain incident. 

    Intent: Evaluate scope and potential blast radius early to ensure that high-impact threats get top-tier attention. 

    11:45 AM, September 16th – Initial IOC Collection and Snapshot Search with Overkill

    Overkill’s federated query engine executes a rapid, centralized search across customer environments for known IOCs: hashes, filenames, domains, and behavioral indicators. It identifies which environments may be vulnerable based on toolsets, telemetry, and exposure. 

    Intent: Map exposure quickly and accurately across the ecosystem without waiting for isolated alerts. 

    11:45 AM, September 16th – Triage and Outcome Categorization 

    Analysts categorize results into one of four outcomes: 

    1. Not Seen 
    1. Seen but Blocked 
    1. Seen and Needs Escalation 
    1. Seen and Remediated 

    Intent: Standardize triage and communication to accelerate response and ensure consistent handling across all environments. 

    11:55 AM, September 16th – Deeper Analysis and Remediation

    For impacted customers, analysts perform timeline analysis to understand entry vector and lateral movement. Automated playbooks, via SOAR or other orchestration tools, block IPs, isolate hosts, or trigger response bridges. 

    Intent: Contain threats rapidly while minimizing false positives and unnecessary disruption. 

    11:56 AM, September 16th – Standardization and Detection Engineering 

    Successful hunting logic is refined with detection engineers, rewritten with macros and index optimizations, and formalized as production-grade detections. 

    Intent: Convert ad hoc hunts into permanent, reusable detections that improve with each iteration. 

    5:05 PM, September 16th – Quality Assurance and Change Control 

    New detections are validated and, if urgent, prepared for an out-of-band (OOB) release. Change control ensures stakeholder visibility before deployment, with release notes for transparency. 

    Intent: Balance speed with safety, ensuring rapid rollout without sacrificing technical integrity. 

    9:05 AM, September 17th – Deployment and Operational Awareness

    The finalized detection is deployed across environments. Operations and client-facing teams maintain heightened awareness and integrate monitoring into standard workflows. 

    Intent: Ensure continuity, transparency, and readiness across all teams involved. 

    (Ongoing): Feedback Loop and Iteration 

    Post-deployment, analysts monitor results and refine detection logic as new intelligence emerges. The Overkill engine remains available for additional hunts and ongoing trend analysis. Each iteration of Overkill shifts the equation further toward the defender: compressing time, codifying knowledge, and strengthening every response that follows. 

    Intent: Keep detections adaptive. Continuous iteration ensures defense evolves alongside the threat landscape. 

    The 24-Hour Advantage 

    That full chain, from intelligence to ecosystem-wide defense. takes place within a single 24 hour cycle. 

    It is performed consistently, operationally, on a regular basis. It combines TekStream’s shared threat intelligence and automation framework, enabling faster, ecosystem-wide defense 

    It’s a combination of tooling, process, and trust that defines TekStream’s operational maturity. While we deploy advanced automation and AI-assisted analysis, we view Managed Detection and Response as an ongoing trust relationship. That’s reflected in our 98% renewal rate and in the fact that each Overkill cycle strengthens every customer’s protection. 

    Why It Matters 

    Overkill is the operational proof point of how TekStream is evolving its security capabilities, demonstrating that detection and response can be systemized, automated, and scaled.  

    It represents the first tangible layer of TekStream’s next-generation security architecture, a foundation designed to integrate detection, automation, and intelligence into a single operational fabric. 

    It empowers analysts, reduces dwell time, and ensures no detection remains static. Every alert becomes a living artifact, improved through shared learning and refined through collaborative tooling. 

    It shifts the emphasis beyond reactive investigation towards continuous, intelligence-fed defense. It’s how modern security teams reclaim time, data, and initiative from attackers. 

    It signals TekStream’s broader trajectory toward unified, automated defense. By codifying analyst expertise into reusable detections and systemized intelligence, we’re evolving from service delivery to an automation-led managed service model powered by intelligence and integration, one capable of extending value well beyond traditional MDR. 

    As Overkill evolves, its principles (rapid detection, propagation, and shared intelligence) will continue shaping how defense scales across environments, partners, and technologies. 

    This positions TekStream as a company transforming expertise into scalable, automated intelligence that compounds value across every customer environment that we support. 

    That’s the real story of Overkill: a piece of a broader TekStream security framework that moves beyond reactive detections towards a smarter, highly leveraged, unified defense that tilts the equation back toward the defender. 

    If you’re curious how AI plays into cybersecurity, take a closer look.

    About the Authors

    Bruce Johnson has more than 38 years of experience in the information technology industry, including security, infrastructure architecture, software development, and management of multiple portfolios. He has experience in Splunk, security solutions, cloud migration, portal, content workflow, integration, and project management. As the senior director of enterprise security for TekStream, he works to implement security and compliance solutions leveraging Splunk for customers in a variety of environments and industries, as well as a variety of cloud migration and broader Splunk consulting solutions.

    Dave Cheever is a seasoned cybersecurity professional with more than a decade of industry experience. Over the past six years he has specialized in Splunk, applying his expertise across both analysis and engineering roles. Beyond his civilian career, Dave serves part time in the Air Force National Guard, where he supports critical national cyber missions for organizations such as the NSA and USCYBERCOM. He holds a master’s degree in Cybersecurity from the University of Massachusetts and maintains several respected certifications, including the CISSP. He is also a certified Splunk Core Consultant and holds accreditation in Enterprise Security implementations. Dave resides near historic Plymouth, Massachusetts, America’s hometown.

  • Simplifying Automation with Splunk SOAR: Using Find Playbooks to Run Playbooks 

    Simplifying Automation with Splunk SOAR: Using Find Playbooks to Run Playbooks 

    By Nathan Holloway, Security Automation Engineer

    In traditional Splunk SOAR development, managing interconnected playbooks often leads to bloated, inflexible designs. A simple improvement—using Find Playbooks—can significantly streamline operations, reduce maintenance overhead, and improve agility in your automation workflows. 

    Why Use Find Playbooks? 

    The conventional method of orchestrating playbook execution involves calling child playbooks directly from a parent. While functional, this model quickly becomes unwieldy as your environment scales. 

    Common challenges include: 

    • Massive “controller” playbooks that do little beyond calling other playbooks. 
    • Decision-tree sprawl, where you need to build complex logic just to choose which playbook to run. 
    • Ongoing maintenance headaches: Every time you create a new playbook, you have to manually add it to all relevant parent playbooks—opening the door to human error and missed use cases. 

    This approach doesn’t scale well. It adds friction to playbook development, testing, and deployment. 

    Enter: Find Playbooks 

    Splunk SOAR’s Find Playbooks block allows you to search for and run playbooks dynamically based on metadata, such as tags, names, labels, or input specifications. This opens the door to a much more modular, automated design pattern. 

    Benefits of Find Playbooks: 

    • Automatic discovery and execution: Tag a playbook (e.g., with “aux” or “phishing”) and it can be picked up dynamically. 
    • No updates to parent playbooks needed: Just tag your new playbook correctly and it will be included on the next execution. 
    • Clean separation of use cases: Run playbooks based on specific labels or inputs without cluttering your parent playbooks. 

    This model allows for more agile development—teams can build, test, and deploy new playbooks with minimal coordination and no impact on existing logic. 

    The Challenge: Interdependencies 

    While powerful, Find Playbooks introduces a new challenge: playbook dependency handling. 

    For example, if multiple auxiliary (aux) playbooks are running in parallel, but one depends on the output of another, you risk race conditions or incomplete data being used. Since Find Playbooks can trigger execution independently, there’s no native enforcement of execution order. 

    The Solution: A Custom Function for Playbook Status Checking 

    To solve this, you can build a custom function that checks the execution status of another playbook. 

    How it works: 

    • Input the playbook name (in repo/name format) and container ID into the custom function. 
    • The function queries the platform for the status of that specific playbook—running, completed, or failed. 
    • Use Splunk SOAR’s built-in loop configuration in the block to repeatedly call the custom function until the desired status is met (e.g., status != running). 
    • Configure the loop to: 
    • Wait a specified number of seconds between iterations 
    • Set a maximum loop count 
    • Optionally cancel or fail gracefully after a timeout 

    Example Use Case: 

    If playbook_b depends on playbook_a finishing, add this check at the top of playbook_b. Once playbook_a is confirmed as completed (or failed), playbook_b proceeds. 

    Putting It All Together 

    Using this design pattern, each playbook remains self-contained. Any dependency logic is handled internally, without needing to update parent or sibling playbooks. 

    Key advantages: 

    • Add new playbooks independently by tagging them appropriately. 
    • Enforce execution order only where necessary, using a reusable custom function. 
    • Scale your environment with minimal risk and low operational overhead. 

    Once reviewed and deployed, the new playbook begins executing in production as soon as it meets your tagging/filter criteria—no coordination, no refactoring, no problem. 

    Final Thoughts 

    Find Playbooks unlock a modern, modular approach to playbook orchestration in Splunk SOAR. Combined with a simple status-checking mechanism for inter-playbook dependencies, you can drastically simplify your playbook architecture while increasing reliability and flexibility. 

    Ready to modernize your Splunk SOAR playbooks?
    TekStream’s automation experts can help you streamline your architecture, reduce maintenance overhead, and operationalize best practices like Find Playbooks across your environment. Connect with our specialists today.

    About the Author

    Nathan Holloway is an accomplished IT professional with over 20 years of experience spanning data center operations, virtualization, automation, and security orchestration.

    Beginning his career in data centers, Nathan honed his expertise in hardware and Linux systems administration during the first five years of his journey. Transitioning into virtualization, he spent the next five years working with VMware, where he served as a Tier 2 and Tier 3 engineer. During this time, he mastered Ruby and PowerShell, implemented Puppet to manage configurations for over 5,000 virtual machines, and developed a variety of automation solutions.

    In the last six years, Nathan has focused on Splunk SOAR (Security Orchestration, Automation, and Response) at VMware and now TekStream. He has been instrumental in developing new actions and applications for Splunk SOAR and Splunk, driving innovation and efficiency in security and operational workflows.

    With a proven track record in automation, scripting, and application development, Nathan brings a unique combination of technical acumen and practical problem-solving to every project.

  • Getting Around Splunk’s dispatch_rest_to_indexers Roadblock

    Getting Around Splunk’s dispatch_rest_to_indexers Roadblock

    By David Allen, Sr. Splunk Consultant

    Over the past few years, there’s been a significant push for Splunk customers to move from on-prem environments to Splunk’s SaaS (cloud) offering. Customers make this move for many compelling reasons: cost savings, scalability, flexibility, simplified maintenance, disaster recovery, security, and more. With infrastructure management offloaded to Splunk, teams can focus more on their core business. 

    But—as with most things—there’s no free lunch. As the saying goes: “All that glitters is not gold.” 

    While cloud-based Splunk brings many benefits, it also introduces some trade-offs. Notably: 

    • Security and privacy concerns 
    • Cost management challenges 
    • Vendor lock-in 
    • Limited administrative control 

    This blog focuses on that last challenge—the limited control Splunk administrators have in a SaaS environment. 

    The Problem: Losing Access to the Back-End 

    Running Splunk in a SaaS environment means your admins lose direct access to the underlying infrastructure. This includes CLI access to the search heads and indexers. As a result, administrators can no longer use traditional tools like btool from the command line to inspect configuration files. 

    While REST API calls can retrieve configuration settings, these are limited to search heads only. Splunk’s SaaS offering does not grant the dispatch_rest_to_indexers capability, meaning you can’t query configuration files on the indexers. That’s a big deal, especially for troubleshooting or validating app deployments. 

    The Solution: Admin’s Little Helper for Splunk 

    Say hello to the Admin’s Little Helper app—a powerful tool that restores visibility into back-end configurations without requiring CLI access. 

    Download the app from Splunkbase 


    The app introduces a new SPL command: btool. 

    This is a distributed event-generating command that mimics the btool command from the CLI and runs across your search head and/or indexers. It lets you: 

    • View full configuration settings on conf files (e.g.,  props.conf, app.conf) 
    • Determine whether settings are from local or default folders 
    • Spot discrepancies between indexers and search heads 

     
    Examples of How to Use the btool Command 

    Check app versions in app.conf 

    This search returns the app version for each instance and lets you compare versions across nodes. 
      

     
    You can also narrow the search to a single app: 

      Extract the “BIG SIX” sourcetype settings from props.conf 

     
    In this example we introduce the folder field which shows whether the props.conf path for each setting is from the local or default folder. Remember that in Splunk any settings in the local folder override any settings in the default folder. This helps identify where settings are being overridden (local vs. default). Knowing this is crucial when troubleshooting unexpected behavior. 
     
    The above search will take some time to run if you have a large environment with hundreds of apps so it may be a good idea to save the results and reference the results for subsequent searches by using the outputlookup command as shown below.. 


    Then you can use the inputlookup command to pull in the lookup data stored which will take very little time as shown below. 

    This search looks for all apps in your environment which are using the default LINE_BREAKER setting on the search head. 

    Final Thoughts 

    If you’re running Splunk SaaS and hitting the wall with the missing dispatch_rest_to_indexers capability—don’t worry. The Admin’s Little Helper app gives you back the visibility you need, all through SPL. 

    Whether you’re troubleshooting issues, verifying deployments, or building config-monitoring dashboards, this tool will empower your team and improve operational efficiency. 

    Happy Splunking! 

    Need help optimizing your Splunk Cloud environment? Explore TekStream’s Splunk Services to see how our experts help you regain visibility, improve performance, and make your Splunk investment go further.

    About the Author

    David Allen has over 35 years of experience in the information technology industry, including hardware design, software development, and entrepreneurship. He has extensive experience in various programming languages, development tools and Splunk. David exhibited his entrepreneurship skills when he founded his own AV company and ran it successfully for over 15 years using Splunk as its main data analytics software. As a Sr. Splunk Consultant he works to assist others with their Splunk issues and is constantly learning new technology and especially everything Splunk.

    David holds both a Bachelor of Science in Electrical Engineering and a Bachelor of Science in Computer Science Engineering from LeTourneau University in Longview, Texas as well as two United States Patents. David currently resides in Richardson Texas with his family.

  • Getting Splunk Data into AI using n8n

    Getting Splunk Data into AI using n8n

    By Jay Young, Senior Splunk Consultant 

    This blog is about Integrating Splunk with n8n to use AI Agents to extract and transform the data received from Splunk. I will be using a self-hosted n8n instance. n8n is a low to no-code environment that offers a lot of functionality for connections to several 3rd party applications. I will demonstrate how to set up the n8n credentials to connect to Ollama, OpenAI, and Splunk and then explain the nodes needed to complete the workflow. This straightforward process can help automate different daily tasks and is becoming a very popular way to automate AI agents to do scheduled tasks in security, marketing, and information technology. 
     
    Required Software to use this blog. 
    1. You must have a Splunk instance; preferably, you should use a Splunk test instance. 
    2. n8n: You can choose between the cloud version and the self-host version. I am using the (free) Self-Hosted version. 
    3. AI Connection via API using OpenAI ($) or Use Local Ollama it is (free).  
     
    I suggest using docker to install n8n self-hosted. 
    n8n installation: https://docs.n8n.io/hosting/installation/docker/ 
     
    Example: n8n Docker Run Command. 

    docker run -d –name n8n-nodes -p 5678:5678 -e N8N_HOST=(Your_HOST) -e WEBHOOK_URL =(Your_HOST) -e GENERIC_TIMEZONE=America/Chicago -e N8N_SECURE_COOKIE=false -v /path/to/n8n_data_storage/n8n-data:/home/node/.n8n docker.n8n.io/n8nio/n8n 

     
    Notice: Please make sure you set up -v volumes for your n8n self-host instance. Failure to do this will cause data loss when the container restarts or upgrades. 

     
    Example: Volumes 
    -v /path/to/n8n_data_storage/n8n-data:/home/node/.n8n 
                           (Local directory    dir. divider :  directory in the docker container. 

    This connects a local directory outside the Docker Container with the Directory inside the Docker Container to automate file transfers between them.                          


    You can get the n8n workflow for this project from my GitHub Repo: 
    n8n_splunk_work_flow

    1. Create a new workflow in n8n. 
    2. Download and import the json file into the workflow. If you copy the json text, you can right-click the workflow area and paste it into n8n. 
     
    OpenAI Api can be used by purchasing credits with the API Key. It is best to use a model like GPT-40-mini or the newer GPT-41-mini; these models cost very little to use, and for this blog, $5 provides plenty of use.   
    ref: https://openai.com/index/openai-api/ 
    ref: https://openai.com/api/pricing/ 

    Ollama is free to use, but the models are not as powerful as the OpenAI models. If you choose this option, you will want to use Models from Ollama that have tool capabilities for the best results.  
    ref: https://ollama.com/download 
    ref: https://ollama.com/search?c=tools 
     
    You can switch these nodes out in n8n simply by changing with one is connected to the AI Agent Node. 


    n8n Credentials: 
    n8n Credentials are secure ways to store and manage authentication details (like API keys, usernames, passwords, tokens) that workflows need to connect to external services. Instead of embedding sensitive information directly in workflows, credentials are saved centrally and referenced when needed, enhancing security and reusability across multiple workflows. 
     
    OpenAI Credentials Setup: 

    1. Enter the API Key you create once you have an OpenAI Account. 
    2. The base URL is the OpenAI API Endpoint. 
    3. Click Save and test the Connection  

    Ollama Credential Setup: 

    1. Base URL: The host address for the Ollama Server. 
    2. You may need to add OLLAMA_HOST=SERVER_IP:11434 add to path or service. 
     
    Splunk Credentials: 

    1. The Auth Token is the token you created in splunk>settings>token 
    2. Base URL: The Host Address of the Splunk server using Port: 8089 

    Gmail Credentials: https://cloud.google.com/endpoints/docs/openapi/enable-api 

    1. To use Gmail for a test environment you will need a Gmail account and connect to the Google cloud Console to set up the API connection (Free) to get the Client ID, and the Client Secret. I have provided a link above the image that links to instructions on setting this up. These Google APIs can be used to connect to just about any of the Google services i.e. Sheets, Docs, Calendar, etc.  
    1. The OAuth redirect URL will populate with the N8N_HOST=(Your_HOST) from the Docker Run Command. 
    1. The OAuth redirect URL Will need to be added to the Google Cloud Console. 

    Setting up the Splunk Token:

    1. splunk>settings>token 
    1. Click “New Token” in the upper right corner. 
    1. Fill out the information on the new token panel. 
      • User: The Splunk User that will use the token. *Required* 
      • Audience: Purpose of the token. *Required* 
      • Expiration: Determines when the Token expires. 
      • Not Before: Determines token activation date.
      • Click Create. Please copy the token and save it. 

    n8n node explanations:

    OpenAI Mode Node:
     

    1. Select the OpenAI credentials created earlier. 
    1. Select the OpenAI Model, I suggest using the low-cost models. (gpt-40-mini or gpt-41-mini) 

    Ollama Model Node: 

    1. Select the Ollama Credentials created earlier. 
    1. Select the AI Model you wish to use models. I suggest the (llama3) models. 

     
    Splunk Search Node: 

    1. Select the OpenAI or Ollama Credentials created earlier. 
    1. Resource: Search 
    1. Operation: Create 
    1. Query: Your search Query *You Must add search before index= or the search will error out* 

    Example Search: 
    search index=WinEventLogs EventCode=* earliest=-2h  
    | stats count as total by EventCode 
    | where total < 5 
    | table EventCode total 

    Splunk Search GetID Node: 

    1. This node gets the Search ID from the previous node to get the search results. 
    2. You can click and drag the ID tag on the left to the Search Job Field 

    3. Select “By ID” and Drag the ID tag to the text box and it will add {{ $json.id }} 

    Notice: The search ID number listed below the box will be identical to the ID tag you added to the text box. 

    n8n wait node: set to 5 seconds.  

    1. The wait node is set to 5 seconds here but could need to be adjusted depending on the size of the query you execute in the previous node. This ensures the previous node has time to complete.  

    Edit Fields Node: 

    1. This node gets the results field from the previous Splunk Search GetID node. 
    2. Mode: Set to Manual Mapping. 
    3. You can click and drag the results tag on the left to the “fields to set>results”  

    Notice: The array listed below the {{ json.results }} box, it is sample event from the results tag on the left. 

    AI Agent Parse Events: 

    1. The AI Agent Parses events of the {{ $json.results }} passed from the Edit Fields Node.  
    2. The AI Agent uses a system prompt to process the events to the user’s specifications. 
    3. You can write your own prompt or add the simple system prompt I provide below. 

    System Prompt Used: 

    You are a Splunk Administrator who reviews Windows EventCodes from log files. Please include the EventCode Number and write a brief one-sentence explanation of the EventCode.  

    The severity Choices are as follows:

    • High
    • Medium
    • Low

    Please alphabetize the severity from High to Medium to Low. 

    Please highlight the High Severity in Red. 

    Please highlight the Medium Severity in Orange. 

    Please highlight the Low Severity in Green. 

    Below the severity list, please provide more information on fixes or possible causes of the High-Severity Event Codes. 

    Please use a list format and an HTML output with a black background

    Gmail Node:  

    1. To use an email service like Gmail you must first setup the Google Cloud Console API for Gmail 

    Received Email From n8n: OpenAI Model

    We can see in the above email messages the OpenAI AI Agent color coded Severity with Red, Orange and Green. It also provided a brief explanation of the event code, with a more detailed message about the High Severity Event Code. 
     
    Received Email From n8n: Ollama llama 3.2 Model 

    In the above email messages, the Ollama 3.2 model color-coded the Severity words with Red, Orange, and Green, not the Event ID. It also briefly explained the event code, with a slightly less detailed message about the High Severity Event Code. 
     
     
    In closing, this process can be used on an Ip address to show the location, county, and owner of the Ip block using n8n. I see this tool is widely used in organizations for automation and repetitive tasks. 
    Below is an example of the Open-WebUI front-end and ChatGPT using the GPT-4.1-mini model. 


    My next blog will cover sending IP addresses from Splunk to n8n to check location and IP Reputation. I will also cover the Model Context Protocol (MCP) and the different services you can use to integrate Splunk and its events with other third-party providers using AI. 

    Follow TekStream for more technical walkthroughs like this.
    Stay ahead of the curve with Splunk automation, AI integration, and real-world SOC modernization insights, read more on our blog page.

    About the Author

    Jay Young has been involved in Information Technology for 31 years, working with Internet and Agriculture technologies. For 15 years, he worked with and designed Oracle Databases used nationally and internationally. Jay has held IT management and development roles. For the last six years, he has focused his expertise on Splunk, Splunk Cloud, AWS, Data Onboarding, and Enterprise Security. Jay holds a bachelor’s in computer information systems and earned top Splunk certifications: Splunk Core Consultant (Recertified Oct 2023), Admin, and Architect. He also has accreditations in Enterprise Security. Jay currently resides in Abilene, Texas.  

  • A Detailed Guide to using the get_list() function in Splunk SOAR

    A Detailed Guide to using the get_list() function in Splunk SOAR

    By David Burns, Senior SOAR Engineer

    When working with Splunk SOAR, many users are familiar with the documentation for the get_list() function. This function retrieves a list of lists based on the list_name parameter. However, the real power of get_list() emerges when you start incorporating optional parameters. In this guide, we’ll walk through the usage of these optional parameters, highlight common error messages, and explore best practices for debugging your API calls.

    Understanding the get_list() function

    The get_list() function is commonly used in Splunk SOAR to fetch a list of lists, where each element in the returned list corresponds to a row of data from the specified list. The primary parameter is the list_name, which specifies which list to retrieve. However, as with any function, understanding how optional parameters affect the output is crucial for effective use.

    We’ll take a closer look at the optional parameters and the scenarios where they might cause issues, such as error messages or unexpected behavior. We’ll also cover how to enable additional debugging information by turning on trace logging for deeper insights.

    Exploring Optional Parameters for get_list()

    1. The column_index Parameter

    One of the optional parameters you can use with get_list() is column_index. This parameter allows you to narrow down the rows returned by specifying a column index to search within.

    However, it’s important to note that the column_index parameter does not work as expected. This has been confirmed in Splunk SOAR version 6.3.1.178, but similar issues have been observed in all versions of 6.x. Here’s what we found during testing:

    • Data Validation: There is no data validation for the column_index parameter. We tested this by passing strings and other objects into the column_index parameter, and the function did not fail.
    • Out-of-Bounds Values: Testing values that fall outside the potential columns (both positive and negative directions) did not trigger an error either.
    • Trace Logging: Turning on trace logging did not provide any additional insights into the root cause of this issue.

    Given the lack of validation and behavior across versions, it’s important to use this parameter cautiously and keep an eye on potential inconsistencies.

    2. The values Parameter

    The values parameter allows you to specify which values you are searching for within the list. This parameter can accept either a single string or a list of strings. Understanding how this parameter behaves is critical for troubleshooting.

    Using values in a Custom Function

    When you try to use the values parameter inside a custom function, you may encounter the following error:

    Dec 27, 13:47:20 : RuntimeError: phantom.datastore_present() cannot be called from within a custom function

    Dec 27, 13:47:20 : Unexpected error in get_list(): RuntimeError: phantom.datastore_present() cannot be called from within a custom function

    Dec 27, 13:47:20 : phantom.get_list results: success: False, message: Unexpected error, check debug output, execs: []

    This error occurs because the phantom.datastore_present() function cannot be called inside a custom function. However, values works when used in a custom code block. This is an important distinction to make, as it means you can use the values parameter outside of custom functions for successful results.

    3. Structure of the Data Returned by get_list()

    Understanding the structure of the data returned by the get_list() function is essential for effective use. The standard use of the function returns a list of lists. However, when using the values parameter:

    • Index: Refers to the row where the value was found.
    • Value: The key that contains the entire row of data that includes the found value.

    Example: Expected Output Structure

    When you query get_list() with the values parameter of Doe, you’ll receive results structured like this:

    {
    
      "status": "success",
    
      "data": [
    
        {
    
          "index": 0,
    
          "value": ["John", "Doe", "30"]
    
        },
    
        {
    
          "index": 1,
    
          "value": ["Jane", "Doe", "28"]
    
        }
    
      ]
    
    }

    · The index references the row (e.g., row 0, row 1).

    · The value contains the entire row that includes the matching value.

    How the values Parameter Works: String vs. List

    As the documentation states, the values parameter can accept a string or a list of strings. The behavior differs depending on whether you pass a single value or a list:

    • Single Value: When you pass a string (e.g., “A”), get_list() will return any row where any column contains an exact match for “A”.
    • List of Values: When you pass a list of strings (e.g., [“A”, “B”]), the results will be the union of the values, not the intersection. This means that any row containing either “A” or “B” in any column will be included in the results.

    Example of values with a List:

    Let’s say you use the following list as your values parameter: [“A”, “B”].

    phantom.get_list(list_name="my_list", values=["A", "B"])

    The returned results will include any row that has either “A” or “B” in any column. It’s a union of the two values, not an intersection.

    Example Scenario:

    Consider the following list of values:

    Column1Column2Column3
    ACD
    BEF
    GHI

    When you query get_list() with values=[“A”, “B”], you will receive the following results:

    {
    
      "status": "success",
    
      "data": [
    
        {
    
          "index": 0,
    
          "value": ["A", "C", "D"]
    
        },
    
        {
    
          "index": 1,
    
          "value": ["B", "E", "F"]
    
        }
    
      ]
    
    }

    Rows 0 and 1 are returned because they contain either “A” or “B” in any column, not necessarily in the same column.

    Use Case: Automating the Search for Matching Rows

    One of the key strengths of the get_list() function is its ability to automate the search for matching rows within a large dataset. Instead of manually sifting through large lists, you can leverage Splunk SOAR to automatically find the rows that match certain criteria.

    Scenario: Matching ASN Values or Tenancy Information

    Let’s consider a scenario where you have a large list of Autonomous System Numbers (ASNs) or Tenancy information. In such cases, you may need to identify rows that contain similar or matching values to help with threat detection, incident response, or reporting.

    For example, imagine you have a list of ASNs associated with various IP addresses:

    ASNIP AddressOwner
    12345192.168.1.1Company A
    67890192.168.1.2Company B
    12345192.168.1.3Company C
    54321192.168.1.4Company D

    If you’re interested in finding all rows that contain ASN 12345, instead of manually reviewing each row, you can use get_list() with the values parameter. Here’s how you can automate the process:

    phantom.get_list(list_name="asn_list", values=["12345"])
    

    This query will return any row that contains ASN 12345 in the ASN column, allowing you to quickly retrieve all related entries.

    You can apply this same method to other use cases, such as filtering rows based on tenancy information, user IDs, or IP address ranges, helping you quickly identify patterns or potential security issues.  By using SOAR to find the correct rows, you reduce the probability of problems in your own implementation.

    Error Handling and Debugging Tips

    When working with get_list(), it’s important to handle errors effectively and understand the debug output. Here’s how you can troubleshoot common issues:

    1. Check Trace Logs: Always enable trace logging to get more detailed debug information. This can provide insight into issues like unexpected errors or misbehaving parameters.
    2. Validate Parameters: Ensure that the parameters you are passing (e.g., column_index, values) are valid for the version of Splunk SOAR you’re using.
    3. Use Custom Code Blocks: If you’re encountering issues with custom functions (e.g., phantom.datastore_present() errors), move your logic into a custom code block instead.

    Conclusion: Mastering the get_list() Function in Splunk SOAR

    Understanding how to use the get_list() function and its optional parameters is crucial for automating tasks and querying data effectively in Splunk SOAR. While the function works well in most cases, there are a few nuances to be aware of, such as issues with column_index and errors when using values inside custom functions.

    By following this guide and using the provided examples, you should be well-equipped to leverage get_list() for your own automation and security orchestration tasks.

    About the Author

    David Burns is a security engineer with experience working with Splunk Enterprise Security and Splunk SOAR (formerly Phantom) for a large fortune 200 bank. Before that he was a System Security Engineer working on the automation of security testing of OT systems.  

    He brings his 20+ years programming background to use SDLC in rapid development of playbooks, custom functions, and more leading to modularity, re-use in design, and better long-term maintenance. For example, creating deeper integration for escalation through Slack and creating EDL management for multiple clients.  


    At Tekstream, he developed the slack escalation methodology that notifies customers of events that need their attention as well as a way of process for generating and updating EDLs within Splunk. 

  • Making the Invisible Visible: Tracking Errors and Debugging in Splunk SOAR 

    Making the Invisible Visible: Tracking Errors and Debugging in Splunk SOAR 

    By David Burns, Team Lead, Automation Engineering

    When you’re automating security workflows with Splunk SOAR (used to be Phantom, for those of y’all who’ve been around a while), stuff’s bound to go sideways now and then. That’s just part of the game. 

    Whether it’s a bad API token, a mistyped field, or an app that just decides to take the day off knowing when things fail and why is what helps you get better. Lucky for us, SOAR gives you some solid tools to dig into those errors and make things right. 

    1. Action Run History: For When It’s One Particular Thing Causing Trouble 

    Sometimes your playbook as a whole looks like it ran okay, but one of the actions inside quietly failed. That’s where the Action Run History comes in, found under Administration -> System Health -> Action Run History. 

    You can pull up: 

    • All failed actions, filtered by action name as well as listing container ids and playbook names 
    • Pivot to the exact error messages (straight from the integration or app) 
    • What inputs were passed in when it failed 

    Say your hunt_ip action works fine on VirusTotal but fails for Palo Alto — this view will tell you exactly what went wrong and where, no guesswork needed. 

    2. Playbook Run History: Your First Clue When Things Go Sideways 

    Every time a playbook runs SOAR keeps a record of what happened, whether it works or blows up. That’s what your Playbook Run History is for, and it’s about the best place to start when something ain’t behaving like it should. A list can be found, sorted in descending execution order, under Administration -> System Health -> Playbook Run History.  

    With the run id you can: 

    • Step through each block to see where it choked 
    • Check out the input and output of every little piece 
    • Even replay the whole thing with the same data 

    It’s especially handy when your custom code is acting up such as catching a NoneType error than chasing it through logs. 

    3. Common Gotchas (and How to Stay Ahead of ’Em) 

    Some errors pop up more often than others, we’ve all seen ‘em: 

    • Timeouts or app servers that just ghost 
    • Bad credentials or expired tokens 
    • “Expected string but got int” kind of errors from JSON parsing 

    A few handy tips: 

    • Use phantom.debug() generously in your custom code. Future you will thank past you 
    • Wrap fragile stuff in conditionals or error handling branches 
    • Tag containers when something fails so you can come back and give ‘em some love 

    4. Automating Error Visibility: Set It and Forget It (Mostly) 

    Now this part right here’s where things really start to shine. Sure, you can poke around in the UI all day to see what went wrong but if you’re like most folks I know, you’d rather have the system keep an eye on itself. 

    So let’s talk about setting up a scheduled playbook that’ll do just that: 
    A little automation to watch your automation. 

    Here’s how the playbook could flow: 

    Step 1: Look back at recent Playbook runs 
    Set a time window (say, the last 24 hours) and pull in playbook runs that ended in error. 
    For each one, grab: 

    • The playbook name 
    • Container ID 
    • Timestamp 
    • The top-level error message 

    Step 2: Check the Action Runs too 
    Sometimes the playbook might limp along even if an action inside it failed. 
    So next, you query action runs over the same time range, filtering for status=”fail”. 

    For each of those, collect: 

    • App and action names 
    • Error message (this one’s usually straight from the app or integration) 
    • Parameters that were passed in (helps for troubleshooting) 

    Step 3: Correlate and clean it up for human eyes 
    Bundle the results together in a simple table or CSV: 

    • Group by playbook or app if you want to spot trends 
    • Add container links so folks can jump straight into triage 
    • If possible, include a short note like “Token expired” or “Timeout after 60s” to save folks the trouble of reading a mile of logs 

    Step 4: Send it somewhere useful 
    Now you’ve got options: 

    • Email it to your SOC’s distro list 
    • Post it to Slack or Teams with some friendly wording like: 
      “Here’s the list of failed playbook and action runs from the last day. Please review and isolate before they pile up.” 
    • Push it into Splunk Core as a custom log event for trending over time 

    Bonus tip: 
    Add logic to flag repeat offenders. Apps or actions that keep failing more than a couple times a day. That’s usually a sign something needs tuning (or rebooting, let’s be honest). 

    Conclusion: Failures Ain’t the End. They’re the Start of Getting Better 

    Errors don’t mean your automation’s broken they just mean your system’s trying to tell you something. The trick is listening. 

    By keeping tabs on playbook and action run histories and setting up a little auto-monitoring on the side, you can spot problems before they snowball, fix what needs fixin’, and build a system that only gets smarter with time. 

    Treat your errors like feedback, not setbacks. That’s how you go from running a few playbooks to running a whole dang SOC on cruise control. 

    About the Author

    David Burns is a security engineer with experience working with Splunk Enterprise Security and Splunk SOAR (formerly Phantom) for a large fortune 200 bank. Before that he was a System Security Engineer working on the automation of security testing of OT systems. He brings his 20+ years programming background to use SDLC in rapid development of playbooks, custom functions, and more leading to modularity, re-use in design, and better long-term maintenance. For example, creating deeper integration for escalation through Slack and creating EDL management for multiple clients. At TekStream, he developed the slack escalation methodology that notifies customers of events that need their attention as well as a way of process for generating and updating EDLs within Splunk.

  • How to Move a Base Search Dashboard from Classic to Dashboard Studio in Splunk 

    How to Move a Base Search Dashboard from Classic to Dashboard Studio in Splunk 

    By Alex Trejo, Splunk Consultant II

    As Splunk develops Dashboard Studio into the preferred dashboard experience, migrating dashboards that rely on base searches remains essential. Dashboard Studio achieves the same performance optimizations through chain searches, which are fully supported in Splunk Enterprise 9.4.x. 

    Step-by-Step: Migrating a Base Search Dashboard 

    1. Review Your Classic Dashboard 

    Open the Simple XML source and locate the <search id=”baseSearch”> block (base search SPL) and any panels that use base=”baseSearch” for post-processing. 

    2. Clone or Export the Dashboard 

    Copy the XML via Edit → Source as a backup. In Splunk 9.3+, you can Clone → Studio Dashboard to partially convert the layout to Studio—but base/post‑processing logic typically must be rebuilt manually. 

    3. Create a New Dashboard Studio Dashboard

    In Splunk, go to Dashboards and create a new Dashboard Studio dashboard. Choose Absolute or Grid layout and click Create. 

    4. Implement the Base Search as a Chain Search

    In Studio’s visual editor: 
    – Select a visualization (even a placeholder), 
    – Open Configuration → Data sources → + Set up data source → Create Base Search, 
    – Input your base search SPL, name it (e.g. base_search_ds), then apply. 

    5. Add Chain Searches for Each Panel

    For panels that used post-process: 
    – Select the panel, 
    – Configuration → Data sources → + Set up data source → Create Chain Search, 
    – Use base_search_ds as the parent and append the panel’s post-process SPL (e.g. | stats count by host). 

    6. Connect Visualizations to Chain Searches

    Assign each visualization’s primary data source to the new chain search and configure chart options as desired. 

    7. Save and Test 

    Save the dashboard.

    Confirm: 
    Base search returns results.
    All chain searches render the expected outputs.
    Tokens, inputs, and time ranges function correctly. 

    Advantages of Dashboard Studio with Chain Searches 

    Modern Interface 
    Dashboard Studio provides a modern, drag-and-drop UI, allowing precise control over layout and styling. 
     
    Better Performance 
    Chain searches let you reuse one transforming base search across multiple panels, reducing redundancy and improving load times. 
     
    Flexible Layout Options 
    Grid and Absolute layouts allow more design freedom than Classic XML. 
     
    Token and Input Improvements 
    Studio handles tokens and inputs more seamlessly. Time range tokens must be in the base search, but can be referenced in chains. 
     
    JSON-Based Definitions 
    Dashboards are stored in JSON (not XML), simplifying version control and automation. 

    Troubleshooting Tips 

    Chain Search Returns No Data 
    Make sure the base search includes all necessary fields (uses stats, fields, or other transforming commands). Non-transforming base searches may drop fields needed downstream. 
     
    Missing Panels After Clone 
    Auto-conversion may omit post-process panels. Manually recreate these using chain searches. 
     
    Performance or Timeout Issues 
    Avoid large raw event sets; use transforming base searches. Be aware of the default 500,000-event retention and 30-second client timeout limits. 
     
    Infinite Refresh Loops 
    Only chain-level token changes should refresh dependent panels; base refreshes cascade through chains. Avoid nesting beyond one extra chain level. 
     
    Unable to Use collect Command 
    collect isn’t supported in base or chain searches—use inline searches if needed. 

    Summary 

    Dashboard Studio offers a contemporary way to build rich, performant dashboards using chain searches in place of Classic base/post-process constructs. Follow the documented process in the visual editor, ensure your base search is transforming, and keep chain design streamlined. You’ll gain a more maintainable, scalable, and visually flexible dashboard. 

    Need help migrating your dashboards? Connect with TekStream to discuss your Dashboard Studio transition.

    About the Author

    Alex Trejo is a bilingual Splunk consultant, who has experience and a strong enthusiasm for machine learning, automation, and data science. Alex has done research and experimentation with different models of machine learning including data augmentation using Generative Adversarial Networks (GANs). Through his willingness to learn, Alex can tackle problems from different perspectives to ensure the best possible solution. 

  • Embracing AI in Splunk: Drive Efficiency Without Losing a Single Job

    Embracing AI in Splunk: Drive Efficiency Without Losing a Single Job

    By Alex Trejo, Splunk Consultant II

    As a Splunk Consultant at TekStream, I have had the chance to see how AI is finding its place within IT Operations. This almost always turns into a conversation about fear of lost jobs, but the bottom line is much more complicated. AI, if applied properly, can become amazing in how it helps drive efficiency and creates satisfaction in one’s job without displacing employees.

    AI: A Tool, not a Replacement

    One of the most prevailing fears is that AI is going to replace human jobs. Such an outlook, however, contradicts the potential of AI in collaboration. Because AI can do so much of the repetitive and time-consuming tasks, it will free up some of the employee’s time for the more strategic and creative aspects of work. For instance, AI algorithms can transmit processed data from large volumes of data back at speeds incomparable to human ability, offering valuable insight into decision-making and strategy. This has not substituted a human element; it is supplemented—freeing us from drudgery to work on the real meatier, complex problems.

    AI and Splunk: Incredible Synergy

    AI can be particularly transformative in the case of Splunk. Given that Splunk is a powerful platform for searching, monitoring, and analysis of machine-generated data, AI integrations have backed it up well. How?

    • Improved SPL Creation: AI can assist in writing queries in SPL and even optimize them. This would not only expedite the process but also raise the accuracy of the queries. The AI-driven tools could give optimum SPL queries with respect to the organizational context and patterns, hence reducing the learning curve in the case of new users and improving productivity in the case of experienced ones.
    • Automated Monitoring and Alerting: AI can be integrated with Splunk environments to continue monitoring them for any anomaly or other potential problems, drawing them to the administrator’s immediate attention. Afterward, this proactive approach will help in the early detection and resolution of problems, minimizing downtime and maintaining optimum performance.
    • Intelligent Insights and Recommendations: The machine learning process effortlessly goes through trends, patterns in data, and other such elements which may not be apparently obvious. There could be quite intelligent recommendations coming on the way to improving system performance, security measures, and operational efficiencies through AI.
    • Security: AI can make a quantum jump in the capabilities of Splunk. For example, TekStream’s Managed Security Services combines Splunk SIEM/SOAR with next-generation AI for precise detection and runtime responses to threats. That will be much more secure and offer ample protection to enterprise environments.

    Real-World Applications

    We fully understand the integration of AI with Splunk, as we at TekStream have successfully seen this in practice. Our clients benefit from improved operational efficiencies and better data insights. Artificial intelligence, in this respect, has been perpetrating these organizations to be more effective in working and to quickly respond to challenges by automating routine tasks and providing superior analytical capabilities.

    As an example, AI-enabled Splunk solutions provide top-to-bottom visibility for IT operations, helping in fast troubleshooting, service level monitoring, and real-time anomaly detection. This thus enables IT teams to maintain a higher quality of service while reducing the time used in resolving problems.

    Conclusion

    AI does not steal your job; it enhances it. At TekStream, we believe that the power of AI drives a very bright future of work in Splunk permissions, making our tasks easier, faster, and more efficient. That way, we unlock new heights of productivity and guarantee that our jobs will change with technological development, not replacement.

    Questions? Contact us here!

    About the Author

    Alex Trejo is a bilingual Splunk consultant, who has experience and a strong enthusiasm for machine learning, automation, and data science. Alex has done research and experimentation with different models of machine learning including data augmentation using Generative Adversarial Networks (GANs). Through his willingness to learn, Alex can tackle problems from different perspectives to ensure the best possible solution. 


  • Alerting in Splunk with a Purpose

    Alerting in Splunk with a Purpose

    By Aaron Dobrzeniecki, Senior Splunk Consultant 

    If you are just getting started with Splunk, one of the first and highly powerful features you will come across is alerting. These are extremely useful for staying on top of important events in your data. Firstly, what is a Splunk alert? A Splunk Alert is a way to automatically notify you when certain conditions are met in your data. Quick examples:  

    -Too many login failures? ALERT! 
    -Server is down? ALERT! 
    -Unusual spikes in network traffic? ALERT! 

    You set up a Splunk query/search using Splunk Processing Language, add conditions (like thresholds or patterns), and Splunk will watch your data and let you know when these conditions trigger. The most common way to receive the results of an alert via Splunk is to have an email sent with the results, link to the alert, and link to the results, to the necessary email addresses.  

    If you receive an email or use one of the other ways to receive the results of the alerts kicking off, there is NO REASON to set the Alert Expire setting higher than the default of 24 hours. When you create an alert in Splunk, there is a setting called “Expire After” or “Expire”. This tells Splunk how long the alert results will stay active in the system after the alert triggers. What is the major importance of this setting you may ask? Firstly, it keeps your system clean and free of “junk” build up from old or stale alerts just sitting on the Splunk Search Head(s).  
    Let’s say you set the expire time to 24 days. This means: 

    1. After the alert fires, it will stay visible in the “Jobs” list (Top Left, Activity –> Jobs) for 24 days. 
    1. After the 24 days, the alert results will disappear 
    1. Every time that alert triggers, it will keep the results for EVERY RUN in the system, adding up the MBs that the results consist of 
    1. Let’s say your search quota is 800MB (depending on the size of the results, you will only be able to run and keep X number of searches before your searches get queued up. 

    As you can see from the image above, these alerts are set to expire in middle and late August. Every single time these alerts run it will set the expire setting out ~3 months. With each result being ~3.14MB. Do the math. 8003.14=~254 results that can exist before the user’s searches start to get queued up. The most common interval for alerts is anywhere from 5 minutes to 1+ hours. Let’s say you have an alert running every 10 minutes, that is 6 times an hour, 144  times per day. Within 2 whole days of running this alert, getting the results every time, the user will run into a quota issue and will not be able to run Splunk searches anymore until their search jobs are cleaned out. Imagine having an alert run every minute, or even every 5 minutes! 

    Key points to remember about Splunk alerts and the expire setting: 

    1. Alerts notify you when something important/critical happens in your environment/data 
    1. The “Expire” setting controls how long a triggered alert’s results stay in the list (on the Search Heads) 
    1. The “Expire” setting will assist with managing and keeping the performance of the system more efficient (When set low) 
    1. If you are receiving an email with the results, you should set the expire setting to something like 30 minutes (OR EVEN LOWER). This is because you will be receiving the results in an email. No reason to have a duplicate just sitting there taking up valuable space 

    In conclusion, Splunk alerting is a great way to automate monitoring of important/critical events and understanding the “Expire” setting helps you keep things in the environment tidy and efficient. 

    Learn more

    About the Author

    Aaron Dobrzeniecki has over 9 years of experience with Information Technology. He first worked for an MSP broadening his skills with Tier 1 and Tier 2 Help Desk support for just over 40 small companies. Aaron has been working with Splunk for 7 years starting on the apps and add-ons team troubleshooting issues with Splunk apps and add-ons. He then worked on the Admin on Demand team creating content, assisting with Splunk core issues or tasks. As well as providing Splunk Best Practices. He has provided excellent service to the Splunk customers he has worked with and continues to get praise from his customers. Aaron was also a Customer Success Manager for 14 companies working with their Splunk teams to better their environments. As a Certified Splunk Consultant, Aaron continues to increase his knowledge and follow the Splunk Best Practices while maintaining an excellence in communication. Aaron graduated with his Bachelors’ majoring in Security Informatics from Indiana University in 2015. 

  • Too Many Findings? What Happened in Splunk ES 8.0 and How 8.1 Resolved It

    Too Many Findings? What Happened in Splunk ES 8.0 and How 8.1 Resolved It

    By Dave Cheever, Team Lead, MDR Advanced Services and Jon Walthour, Senior Technical Architect

    Overview

    Splunk Enterprise Security (ES) 8.0 was first announced at .conf in June 2024 and officially released in October. While the update drew a lot of attention, many teams quickly noticed a significant spike in “findings” (previously known as “notables”) after updating. This unexpected increase in volume generated redundant findings, contributing to excessive alert fatigue and placing additional, unnecessary pressure on SOC teams.

    Earlier this month, Splunk addressed these challenges with the release of ES 8.1, which introduced greater flexibility in output handling to help reduce noise. In this article, we will break down how output behavior has evolved from version 7.3 to 8.1, and what those changes mean for optimizing your detection strategy.

    Legacy Output Settings up to ES 7.3

    We felt it appropriate to give some context for some of the changes in the transition from earlier versions to 8.x. Up to Splunk ES 7.3, you could select “Notable” and “Risk” as separate adaptive response actions within a correlation search. These were distinct choices in the “Adaptive Response Actions” dropdown menu when configuring or editing a correlation search, allowing each component to be managed independently.

    Splunk Adaptive Response Actions interface showing risk score configuration for notable events in older ES versions.

    This flexibility gave granular control over how detections were triggered, whether focused on immediate alerting through notables, risk-based scoring for broader behavioral analysis, or both.

    Output Type Constraints in ES 8.0

    Beginning in ES 8.0, Splunk revised its terminology by renaming “correlation searches” as “detections.” These detections come in two types: Event-Based Detections (EBD), which analyze event data to generate findings or intermediate findings, and Finding-Based Detections (FBD), which build on those outputs to generate high-confidence finding groups.

    When configuring an EBD in Splunk ES 8.0, the “Output Type” setting required you to select either “Finding” or “Intermediate Finding”.

    Screenshot of Splunk ES 8.x interface showing selection between Intermediate Finding and Finding as output types.

    The selected output type was applied across all risk entities listed in Section 4, following a blanket approach assigning this output type to each entity identified. Note that specifying at least one risk entity in this section was required to save the detection.

    Splunk ES Assign Risk screen displaying risk modifiers for source and destination users with entity types.

    This meant that if you selected “Finding” as your output type, Splunk would generate a separate finding for every individual Risk Entity. For example, if an admin added 25 users to a security group, this would result in 26 findings; one for the source user and one for each of the 25 destination users, instead of a single finding that summarized the entire event.

    Unlike ES 7.3 and previous, these additional intermediate findings were written to the “notable” index alongside the proper finding, and it was impossible to distinguish one from the other as all were designated “risk-events”. The result was a significant increase in the volume of findings, creating many duplicates that could overwhelm your incident response process.

    Improved Output Type Flexibility in ES 8.1

    In Splunk ES 8.1, the challenge with EBD output types has been resolved by introducing the ability to assign a distinct output type to each risk entity.

    Entities configuration panel in Splunk ES showing assigned risk scores and output types per user entity.

    Note that if multiple entities are set to “Finding”, a warning appears stating:

    “When output type ‘Finding’ is selected for multiple risk entities, a separate Finding is generated for each risk entity. Best practice is to output a Finding for the primary risk entity and use Intermediate Findings for the others.”

    Version-by-Version Breakdown

    Comparison table outlining changes in risk and finding handling between Splunk ES versions 7.3, 8.0, and 8.1.

    Avoid Additional Surprises When Upgrading to ES 8.1

    When creating a new Event Based Detection in Splunk ES 8.1, the output type for the first risk entity defaults to null, requiring manual selection. Any additional entities added afterward will default to “Intermediate Finding”. This gives users more control but also requires careful configuration to avoid unintended output behavior.

    However, when migrating existing detections to ES 8.1, all previously defined risk entities will automatically default to “Finding”. To prevent alert volume issues, it is important to review migrated detections to explicitly set output types for each entity.

    Behind the Scenes in Savedsearches.conf

    Alongside the visual and functional changes in the UI, each version introduced configuration-level updates within savedsearches.conf, which helped to explain the behavioral differences between versions.

    • From 7.3 to 8.0
      • Added: action.correlationsearch.detection_type = ebd
      • Removed: action.risk and action.risk.param._risk_score

    This reflected the move to Event Based Detections (EBD) and the removal of separately defined risk actions in favor of the new output type system.

    • From 8.0 to 8.1
      • Added: action.notable.param._entities
      • Restored: action.risk (previously removed in 8.0)
      • Modified: In 8.0, action.risk.param._risk included all risk entities. In 8.1, it lists only those entities configured as intermediate findings.

    These updates brought back risk handling flexibility and aligned the configuration more closely with the per-entity control introduced in the 8.1 UI.

    Conclusion

    Splunk’s revamped detection framework in Enterprise Security 8.0, encompassing both event-based and finding-based detections, represented a major evolution by placing Risk Based Alerting (RBA) at the core of modern cybersecurity monitoring. Although the initial rollout in version 8.0 encountered some hurdles, the improvements introduced in 8.1 underscore Splunk’s dedication to enhancing this impactful approach. The latest update offers increased flexibility and control, empowering security teams to better manage alerts and reduce noise. By staying informed and proactive with these changes, users can fully unlock the advantages of RBA to strengthen their overall security posture.

    Explore TekStream’s Splunk Services here.

    About the Authors

    Dave Cheever is a seasoned cybersecurity professional with more than a decade of industry experience. Over the past six years he has specialized in Splunk, applying his expertise across both analysis and engineering roles. Beyond his civilian career, Dave serves part time in the Air Force National Guard, where he supports critical national cyber missions for organizations such as the NSA and USCYBERCOM. He holds a master’s degree in Cybersecurity from the University of Massachusetts and maintains several respected certifications, including the CISSP. He is also a certified Splunk Core Consultant and holds accreditation in Enterprise Security implementations. Dave resides near historic Plymouth, Massachusetts, America’s hometown. 

    Jon Walthour is an experienced IT professional with over 25 years of experience in administering servers, databases and applications, including over five years of experience helping customers discover success with Splunk as a Splunk Certified Consultant and Enterprise Security Administrator. Jon holds a Bachelors in Psychology from Wright State University in Dayton, Ohio, and a Masters in Divinity from Louisville Presbyterian Theological Seminary. Jon currently resides in Lafayette, Indiana.