Search This Blog

Friday, March 22, 2024

08_Splunk 9 Creating Workflow Actions

 1 Splunk 9: Creating Workflow Actions - by Joe Abraham

1.1 Course Overview

2 Learn About Splunk Workflow Actions

2.1 Introducing Splunk Workflow Actions

2.2 Learning About Splunk Workflow Actions

2.3 Using Workflow Actions

2.4 Demonstrating a Simple Workflow Action

2.5 Additional Workflow Action Information

3 Create and Use GET Workflow Actions

3.1 Understanding GET Workflow Actions

3.2 Detailing GET Use Cases

3.3 Configuring a GET Workflow Action

4 Create and Use POST Workflow Actions

4.1 Understanding POST Workflow Actions

4.2 Learning About POST Requests

4.3 Detailing POST Use Cases

4.4 Configuring a POST Workflow Action

4.5 Wrapping up POST Workflow Actions

5 Create and Use Search Workflow Actions

5.1 Understanding Search Workflow Actions

5.2 Learning About Search Workflow Actions

5.3 *Configuring a Search Workflow Action

5.4 *Using a Search Workflow Action

5.5 Wrapping up Splunk Workflow Actions


  1. Splunk 9: Creating Workflow Actions - by Joe Abraham

    1. Course Overview

https://docs.splunk.com/Splexicon:Workflowaction

https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/CreateworkflowactionsinSplunkWeb

Workflow Action 

A highly configurable knowledge object that enables a variety of interactions between fields in events and other web resources.

< domain controller logs, endpoing logs, network infrastructure compliance, security appliance logs,  >

  1.  Learn About Splunk Workflow Actions

    1. Introducing Splunk Workflow Actions


What You'll Learn Here

Learn about Splunk Workflow Actions

Create and Use POST Workflow Actions

Create and Use GET Workflow Actions

Create and Use Search Workflow Actions 


  1. Learning About Splunk Workflow Actions


Workflow action examples

Send GET and POST requests to a resource

  • Find information on IP addresses  

  • Search for field values  

  • Send information to ticketing server 



Generate secondary search

  • Find additional information from initial Query 

  • Sort/filter/format the information 



Types of Workflow Actions

GET workflow actions create an HTML link to access information

POST workflow actions create HTTP POST to a specific URI

Search workflow actions create a secondary search 



A screenshot of a workflow action

Description automatically generated

Knowledge object will have conf  - We can keep it either private or public


Workflow Action configuration file: workflow actions.conf


We can do CLI configuration 

  1. Using Workflow Actions


workflow actions.conf

[Duck Duck Go Search]

display _ location = field_menu
event types = *
fields  = *
label = Search on DuckDuckGo for $@field_name$ equals $@field_value$ 

link.method = get
link.target=blank
link. uri  = https : //duckduckgo.com/?q=$@field_name$+$@field_value$
type=link 



A screenshot of a computer

Description automatically generated


A close-up of a logo

Description automatically generated


Splunk Community Page

https://community.spIunk.com/t5/Community/ct-p/en-us 




  1. Demonstrating a Simple Workflow Action

A screenshot of a computer

Description automatically generated


A screenshot of a computer

Description automatically generated


A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated



Get workflow actionb = Link



https://duckduckgo.com/


  1. Additional Workflow Action Information

A screenshot of a computer

Description automatically generated

  1. Create and Use GET Workflow Actions

    1. Understanding GET Workflow Actions

A screenshot of a computer

Description automatically generated


A purple background with white text

Description automatically generated




  1. Detailing GET Use Cases

A white paper with black text

Description automatically generated


A comparison of a data

Description automatically generated with medium confidence


A close-up of a network

Description automatically generated



  1. Configuring a GET Workflow Action


  1. Create and Use POST Workflow Actions

    1. Understanding POST Workflow Actions

A white text on a white background

Description automatically generated


A close-up of a white background

Description automatically generated


  • Ex - Splunk Sending info to ticketing system 


  1. Learning About POST Requests

A white background with black text

Description automatically generated


A blue and orange squares with white text

Description automatically generated


  • API is act like middle man between two systems

A green sign with white text

Description automatically generated



  1. Detailing POST Use Cases

A screenshot of a computer

Description automatically generated

A white paper with black text

Description automatically generated

A close-up of a white background

Description automatically generated




  1. Configuring a POST Workflow Action

A screenshot of a computer

Description automatically generated


Good tool to test http methods


A screenshot of a computer

Description automatically generated


A screenshot of a computer

Description automatically generated



  1. Wrapping up POST Workflow Actions

A screenshot of a computer

Description automatically generated


A screenshot of a computer

Description automatically generated

This will be updated in conf file


  1. Create and Use Search Workflow Actions

    1. Understanding Search Workflow Actions

A white background with black text

Description automatically generated


A white text on a white background

Description automatically generated


A black background with white text

Description automatically generated




  1. Learning About Search Workflow Actions

A screenshot of a search workflow

Description automatically generated

A screenshot of a workflow

Description automatically generated

A black text on a white background

Description automatically generated


A close-up of a screen

Description automatically generated





  1. *Configuring a Search Workflow Action

Using tokens in the new workflow action



  1. *Using a Search Workflow Action


  1. Wrapping up Splunk Workflow Actions 

A screenshot of a computer

Description automatically generated

A close-up of a post

Description automatically generated


A close-up of a website

Description automatically generated




No comments:

Post a Comment