SlideShare a Scribd company logo
During the course of this presentation, we may make forward-looking statements
regarding future events or the expected performance of the company. We caution
you that such statements reflect our current expectations and estimates sampled
on factors currently known to us and that actual events or results could differ
materially. For important factors that may cause actual results to differ from those
contained in our forward-looking statements, please review our filings with the
SEC.
The forward-looking statements made in this presentation are being made as of
the time and date of its live presentation. If reviewed after its live
presentation, this presentation may not contain current or accurate information.
We do not assume any obligation to update any forward-looking statements
we may make. In addition, any information about our roadmap outlines our
general product direction and is subject to change at any time without notice. It is
for informational purposes only and shall not be incorporated into any contract or
other commitment. Splunk undertakes no obligation either to develop the features
or functionality described or to include any such feature or functionality in a future
release.
Splunk, Splunk>, Listen to Your Data, The Engine for Machine Data, Splunk
Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk
Inc. in the United States and other countries. All other brand names, product
Forward-
Looking
Statements
© 2022 SPLUNK INC.
© 2022 SPLUNK INC.
Introducing Ingest
Actions: Filter, Mask,
Route, Repeat
San Francisco Bay Area Splunk User Group
Nov 2, 2022
Divya Vijayan
Software Engineer | Splunk Inc.
Samat Jain
Principal Software Engineer | Splunk Inc.
© 2022 SPLUNK INC.
Software Engineer | Splunk Inc.
Divya Vijayan
Principal Software Engineer | Splunk Inc.
Samat Jain
© 2022 SPLUNK INC.
Thanks to…
Senior Product Manager |
Splunk Inc.
Felix Jiang
Cloud Solutions Architect |
Splunk Inc.
Russell Uman
Product Management
Director | Splunk Inc.
Izzy Park
© 2022 SPLUNK INC.
$
Value
of
Data
Age of Data
Potential Splunk Use Cases
Common Splunk Use Cases
Real and Near-Real Time
Ad Hoc
Data Lake and Archive
Forensics, Summaries, and Data Retention Compliance
<1 sec <1 min
<10 sec 1 week 1 year
1 month
1 hour 1 day 10 year
Data Value Changes With Age
© 2022 SPLUNK INC.
Data
Optimization
Brings a
Value-Based
Approach to
Data Strategy
TIER A
TIER B
TIER C
Higher Value Low Volume
Low Value High Volume
Use Cases
Monitoring, Investigation, RCA,
Premium Solutions
Value / Volume Ratio
High Value, Med-High Volume
Use Cases
Troubleshooting, Forensic
Investigation, Forensic Analysis
Value / Volume Ratio
Low Value, Med-High Volume
Use Cases
Compliance, Future Proofing
Value / Volume Ratio
Low Value, High Volume
B
U
S
I
N
E
S
S
C
R
I
T
I
C
A
L
L
O
W
S
I
G
N
A
L
L
O
W
V
A
L
U
E
© 2022 SPLUNK INC.
Data Tiering Flows - GDI
HF / IDX
IDXC DDAS Flex Index S3: RFS
S3: DDSS
(Frozen)
DDAA
Syslog
Frozen
Hadoop
Splunk
INGEST
INDEX
ARCHIVE
© 2022 SPLUNK INC.
What Can Admins Accomplish before
Ingest Actions?
Edit props.conf:
[source::/var/log/messages]
TRANSFORMS-null= setnull
Edit transforms.conf:
[setnull]
REGEX = DEBUG
DEST_KEY = queue
FORMAT = nullQueue
Filtering and masking data
involves:
• Memorizing syntax
• Handwriting stanzas
• Expensive iteration
• Editing of many conf files
• Manual deployment Source:
https://www.memesmonkey.com/topic/confused+dog
© 2022 SPLUNK INC.
A new user interface and backend enhancements to enable admins to easily author
and deploy rules on existing Splunk Enterprise-derived infrastructure.
This means you can now:
• Filter: discard unwanted events
– Remove noisy events, DEBUG logs, etc
• Mask: change the contents of events
– Mask PII, IP addresses, usernames
• Route: Events can be routed to any combination
of original Splunk index, different Splunk index,
clone, or sent to Amazon S3
• Use the UI to preview and validate rules / logic
– Does my regex work?
– How did one rule interact
with others?
How Do Ingest Actions Achieve This?
© 2022 SPLUNK INC.
Save Time, Save $
Less iteration time between authoring and deployment in prod
Filtering and routing events do not count against the ingest license
meter
Why?
• We heard you loud and clear
• In the long term, we still want to help you operate and derive value on your most
mission-critical data
© 2022 SPLUNK INC.
IA enables masking with PCRE regex compatibility
For audit & compliance contexts, store unmasked data on S3 for compliance, but
mask and de-identify for everyday search and reporting
Address Compliance Related Use Cases
with Ingest Actions
© 2022 SPLUNK INC.
Platform and Licensing Support
Deployment Customer-Managed
(Splunk®
Enterprise)
Splunk-Managed
(Splunk®
Cloud)
Licensing - Ingest
- vCPU
*No new SKU required for IA
- Ingest
- SVC
*No new SKU required for IA
Stack - N/A - Upgraded (“Victoria”) Stacks
- Classic Stacks (excluding GCP and
FedRAMP in 8.2.2203)
Platform Tier - Forwarding Tier: Deployment Server
→ Heavyweight Forwarder via app
distribution to all clients
- Indexing Tier: Cluster Manager →
Indexers via cluster bundle push
- Indexing Tier: Rules deployed via
Splunk Cloud Platform internal
mechanisms
UI location - Forwarding Tier: Deployment Server
- Indexing Tier: Cluster Manager
- Indexing Tier: Search Head
© 2022 SPLUNK INC.
Demo!
© 2022 SPLUNK INC.
Demo Architecture
Splunk cloud
Search Head
Self-Managed
Forwarding Tier
© 2022 SPLUNK INC.
What Do Rulesets Look Like?
© 2022 SPLUNK INC.
Where is IA configuration written?
DS
$SPLUNK_HOME/etc/
deployment-apps/
splunk_ingest_actions
Standalone
(incl. HWF)
$SPLUNK_HOME/etc/
apps/
splunk_ingest_actions
SH, CM
$SPLUNK_HOME/etc/
manager-apps/
splunk_ingest_actions
© 2022 SPLUNK INC.
Changes to props.conf and
transforms.conf
props.conf
o RULESET-*
Works the same as TRANSFORMS-* class,
but will run transforms on cooked data
o RULESET_DESC-*
Description of ruleset
transforms.conf
o STOP_PROCESSING_IF
Used for certain types of rules to
conditionally stop processing subsequent
rules
o Basically, routing rules will have events “exit
early”
STOP_PROCESSING_IF = <evaluator expression>
* An evaluator expression that the regexreplacement processor uses to determine
whether or not further processing is to occur for this event.
* If you set STOP_PROCESSING_IF, and the regexreplacement processor evaluates the
expression that you supply to be true, then the processor stops further
processing of this event.
* When you set STOP_PROCESSING_IF, like INGEST_EVAL, this setting overrides
all of the other index-time settings (such as REGEX, DEST_KEY, etc) except
for INGEST_EVAL. STOP_PROCESSING_IF executes after INGEST_EVAL.
© 2022 SPLUNK INC.
Changes to outputs.conf
[rfs:s3]
path = s3://data-actions-ingest/data-actions-service-acct/
remote.s3.endpoint = https://s3.us-west-2.amazonaws.com
remote.s3.access_key = key
remote.s3.secret_key = secret
Note:
● If on Standalone (incl. HWF), use the UI!
● If on IDXC, use the UI on the CM or SH!
● If on DS, no UI yet (9.1), must configure HWF
directly
● Much of SmartStore’s configuration from
indexes.conf works in this stanza
© 2022 SPLUNK INC.
Where do rulesets execute?
Ingest Action Rulesets are executed after existing transforms, e.g. TAs
Universal
Forwarder
Indexer
Heavy Forwarder Indexer
Universal
Forwarder
Unparsed Data
Unparsed Data Parsed Data
● Parsing
● Merging
● Typing
○ TRANSFORMS
○ RULESET
● Ruleset
○ RULESET
● Parsing
● Merging
● Typing
○ TRANSFORMS
○ RULESET
Parse Boundary
© 2022 SPLUNK INC.
Samat: Updated Masa
© 2022 SPLUNK INC.
What’s on S3?
© 2022 SPLUNK INC.
File Format is Valid JSON, “HEC JSON”
© 2022 SPLUNK INC.
Configuring Metrics
# transforms.conf
[_ruleset:global_settings]
metrics.disabled = false
metrics.report_interval = 30s
metrics.rule_filter = *<your rule name>*
Turned off by default
© 2022 SPLUNK INC.
What metrics are logged
Metrics - group=transforms, name=typing, rule="_rule:ruleset_splunkd_ui_access:mask:m7yeuix8",
sourcetype="splunkd", hit=216, cpu_seconds=0.1 in=38426, out.splunk=38000, out.drop=426
● rule is the name of the rule, and can be mapped to a rule in an Ingest Action
ruleset
● hit is the times the rule is hit in the report interval (number of events)
● cpu_seconds is the cpu time spent by the rule during the report interval
● in is the raw bytes the rule processes in the report interval
● out.x is the raw bytes the rule routes to each destination
● Ingest Action rules have a special prefix _rule
○ _rule:ruleset_splunkd_ui_access:mask:m7yeuix8
New
© 2022 SPLUNK INC.
Key new concepts for users who already have
experience with props/transforms, pipelines
● In Ingest Actions rulesets only, filtering and routing rules will stop further processing on
events, by default & by design
● A new pipeline “ruleset” was added
○ The pipeline will accept “cooked” data from HFs (by design)
○ This also means there’s another queue to monitor, previously only needed to mntiro
● A new output “rfs” pipeline was created for S3
○ Using output to S3 is not immune to issues such as backpressure
https://confluence.splunk.com/display/PROD/Data+Actions+Performance+Plan
© 2022 SPLUNK INC.
How Do I Get Started?
(1) Capability prereqs:
• list_ingest_ruleset: list existing rulesets
• edit_ingest_ruleset: create / edit rulesets
*Admins get these capabilities automatically
(2) Create your first ruleset!
© 2022 SPLUNK INC.
New Since
.conf’s 9.0
● “Set Index”: Route events to different
Splunk indexes
● Health Report for S3 destinations
Thank You
© 2022 SPLUNK INC.
© 2022 SPLUNK INC.
Additional Resources
1. What is a Victoria Cloud Stack?
2. Monitoring vCPU Consumption
3. Monitoring SVC Consumption
4. Using Ingest Actions to improve the data input process

More Related Content

PPTX
Splunk Overview
Splunk
 
PPTX
Thermal Power Plant
Arnab Kumar Pal
 
PDF
Splunk4Rookies - Attendee - May 2023.pdf
djdhhdddhhd
 
PDF
SFBA Splunk User Group Meeting February 2023
Becky Burwell
 
PDF
sfbaug20230215-230310221623-88beae19.pdf
JeffForrest8
 
PDF
December Bengaluru Splunk User Group Meetup
kamlesh2410
 
PPTX
Security crawl walk run presentation mckay v1 2017
Adam Tice
 
PPTX
Getting Started with Splunk Enterprise
Splunk
 
Splunk Overview
Splunk
 
Thermal Power Plant
Arnab Kumar Pal
 
Splunk4Rookies - Attendee - May 2023.pdf
djdhhdddhhd
 
SFBA Splunk User Group Meeting February 2023
Becky Burwell
 
sfbaug20230215-230310221623-88beae19.pdf
JeffForrest8
 
December Bengaluru Splunk User Group Meetup
kamlesh2410
 
Security crawl walk run presentation mckay v1 2017
Adam Tice
 
Getting Started with Splunk Enterprise
Splunk
 

Similar to SFBA Usergroup meeting November 2, 2022 (20)

PPTX
Alle Neuigkeiten im letzten Plattform Release
Splunk
 
PDF
Splunk PNW User Group - Seattle - 2023-06-28.pdf
Amanda Richardson
 
PPTX
Getting Started with Splunk Break out Session
Georg Knon
 
PPTX
Rage WITH the machine, not against it: Machine learning for Event Management
Splunk
 
PPTX
November 2021 Splunk PNW User Group
Amanda Richardson
 
PPTX
Getting Started with Splunk Enterprises
Splunk
 
PPTX
Machine Data 101: Turning Data Into Insight
Splunk
 
PPTX
What's New with the Latest Splunk Platform Release
Splunk
 
PPTX
Splunk Cloud and Splunk Enterprise 7.2
Splunk
 
PPTX
Splunk Cloud and Splunk Enterprise 7.2
Splunk
 
PPTX
Splunk Cloud and Splunk Enterprise 7.2
Splunk
 
PPTX
Getting Started with Splunk Enterprise
Splunk
 
PDF
Machine Data 101
Splunk
 
PPTX
"Splunk Worst Practices"... und wie man diese behebt
Splunk
 
PPTX
Worst Splunk practices...and how to fix them
Splunk
 
PPTX
Worst Splunk practices...and how to fix them
Splunk
 
PDF
Evento anual Splunk .conf24 Highlights recap
Rafael Santos
 
PDF
SFBA Splunk Usergroup meeting December 2022
Becky Burwell
 
PDF
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
PPTX
Machine Learning für Event Management
Splunk
 
Alle Neuigkeiten im letzten Plattform Release
Splunk
 
Splunk PNW User Group - Seattle - 2023-06-28.pdf
Amanda Richardson
 
Getting Started with Splunk Break out Session
Georg Knon
 
Rage WITH the machine, not against it: Machine learning for Event Management
Splunk
 
November 2021 Splunk PNW User Group
Amanda Richardson
 
Getting Started with Splunk Enterprises
Splunk
 
Machine Data 101: Turning Data Into Insight
Splunk
 
What's New with the Latest Splunk Platform Release
Splunk
 
Splunk Cloud and Splunk Enterprise 7.2
Splunk
 
Splunk Cloud and Splunk Enterprise 7.2
Splunk
 
Splunk Cloud and Splunk Enterprise 7.2
Splunk
 
Getting Started with Splunk Enterprise
Splunk
 
Machine Data 101
Splunk
 
"Splunk Worst Practices"... und wie man diese behebt
Splunk
 
Worst Splunk practices...and how to fix them
Splunk
 
Worst Splunk practices...and how to fix them
Splunk
 
Evento anual Splunk .conf24 Highlights recap
Rafael Santos
 
SFBA Splunk Usergroup meeting December 2022
Becky Burwell
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Machine Learning für Event Management
Splunk
 
Ad

More from Becky Burwell (15)

PDF
SFBA Splunk Usergroup meeting Nov 20, 2024
Becky Burwell
 
PDF
SFBA Splunk Usergroup meeting September 4, 2024
Becky Burwell
 
PDF
SFBA Splunk Usergroup Meeting, August 14, 2024
Becky Burwell
 
PDF
SFBA Splunk Usergroup meeting July 17, 2024
Becky Burwell
 
PDF
SFBA Splunk Usergroup meeting March 13, 2024
Becky Burwell
 
PDF
SFBA Splunk Usergroup meeting December 14, 2023
Becky Burwell
 
PDF
SFBA_SUG_2023-08-02.pdf
Becky Burwell
 
PDF
SFBA Splunk Usergroup meeting May 3, 2023
Becky Burwell
 
PDF
SF Bay Area Splunk User Group Meeting October 5, 2022
Becky Burwell
 
PDF
SFBA Splunk User Group Meeting August 10, 2022
Becky Burwell
 
PDF
SFBA Splunk Usergroup meeting July 13, 2022
Becky Burwell
 
PDF
designing-resilient-cloud-native-splunk-arch-in-aws-austin-rose.pdf
Becky Burwell
 
PDF
Splunking configfiles 20211208_daniel_wilson
Becky Burwell
 
PDF
Getting Started with Splunk Observability September 8, 2021
Becky Burwell
 
PDF
Advanced Outlier Detection and Noise Reduction with Splunk & MLTK August 11, ...
Becky Burwell
 
SFBA Splunk Usergroup meeting Nov 20, 2024
Becky Burwell
 
SFBA Splunk Usergroup meeting September 4, 2024
Becky Burwell
 
SFBA Splunk Usergroup Meeting, August 14, 2024
Becky Burwell
 
SFBA Splunk Usergroup meeting July 17, 2024
Becky Burwell
 
SFBA Splunk Usergroup meeting March 13, 2024
Becky Burwell
 
SFBA Splunk Usergroup meeting December 14, 2023
Becky Burwell
 
SFBA_SUG_2023-08-02.pdf
Becky Burwell
 
SFBA Splunk Usergroup meeting May 3, 2023
Becky Burwell
 
SF Bay Area Splunk User Group Meeting October 5, 2022
Becky Burwell
 
SFBA Splunk User Group Meeting August 10, 2022
Becky Burwell
 
SFBA Splunk Usergroup meeting July 13, 2022
Becky Burwell
 
designing-resilient-cloud-native-splunk-arch-in-aws-austin-rose.pdf
Becky Burwell
 
Splunking configfiles 20211208_daniel_wilson
Becky Burwell
 
Getting Started with Splunk Observability September 8, 2021
Becky Burwell
 
Advanced Outlier Detection and Noise Reduction with Splunk & MLTK August 11, ...
Becky Burwell
 
Ad

Recently uploaded (20)

PPTX
White Blue Simple Modern Enhancing Sales Strategy Presentation_20250724_21093...
RamNeymarjr
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PDF
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
PPT
Real Life Application of Set theory, Relations and Functions
manavparmar205
 
PPTX
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
PDF
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
PPTX
Employee Salary Presentation.l based on data science collection of data
barridevakumari2004
 
PPTX
INFO8116 -Big data architecture and analytics
guddipatel10
 
PDF
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
PPTX
Pipeline Automatic Leak Detection for Water Distribution Systems
Sione Palu
 
PPTX
INFO8116 - Week 10 - Slides.pptx big data architecture
guddipatel10
 
PPTX
short term internship project on Data visualization
JMJCollegeComputerde
 
PPTX
Data Security Breach: Immediate Action Plan
varmabhuvan266
 
PDF
Mastering Financial Analysis Materials.pdf
SalamiAbdullahi
 
PDF
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
PDF
717629748-Databricks-Certified-Data-Engineer-Professional-Dumps-by-Ball-21-03...
pedelli41
 
PPTX
short term project on AI Driven Data Analytics
JMJCollegeComputerde
 
PPTX
Introduction to computer chapter one 2017.pptx
mensunmarley
 
PPTX
Multiscale Segmentation of Survey Respondents: Seeing the Trees and the Fores...
Sione Palu
 
PPTX
Probability systematic sampling methods.pptx
PrakashRajput19
 
White Blue Simple Modern Enhancing Sales Strategy Presentation_20250724_21093...
RamNeymarjr
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
Real Life Application of Set theory, Relations and Functions
manavparmar205
 
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
Employee Salary Presentation.l based on data science collection of data
barridevakumari2004
 
INFO8116 -Big data architecture and analytics
guddipatel10
 
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
Pipeline Automatic Leak Detection for Water Distribution Systems
Sione Palu
 
INFO8116 - Week 10 - Slides.pptx big data architecture
guddipatel10
 
short term internship project on Data visualization
JMJCollegeComputerde
 
Data Security Breach: Immediate Action Plan
varmabhuvan266
 
Mastering Financial Analysis Materials.pdf
SalamiAbdullahi
 
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
717629748-Databricks-Certified-Data-Engineer-Professional-Dumps-by-Ball-21-03...
pedelli41
 
short term project on AI Driven Data Analytics
JMJCollegeComputerde
 
Introduction to computer chapter one 2017.pptx
mensunmarley
 
Multiscale Segmentation of Survey Respondents: Seeing the Trees and the Fores...
Sione Palu
 
Probability systematic sampling methods.pptx
PrakashRajput19
 

SFBA Usergroup meeting November 2, 2022

  • 1. During the course of this presentation, we may make forward-looking statements regarding future events or the expected performance of the company. We caution you that such statements reflect our current expectations and estimates sampled on factors currently known to us and that actual events or results could differ materially. For important factors that may cause actual results to differ from those contained in our forward-looking statements, please review our filings with the SEC. The forward-looking statements made in this presentation are being made as of the time and date of its live presentation. If reviewed after its live presentation, this presentation may not contain current or accurate information. We do not assume any obligation to update any forward-looking statements we may make. In addition, any information about our roadmap outlines our general product direction and is subject to change at any time without notice. It is for informational purposes only and shall not be incorporated into any contract or other commitment. Splunk undertakes no obligation either to develop the features or functionality described or to include any such feature or functionality in a future release. Splunk, Splunk>, Listen to Your Data, The Engine for Machine Data, Splunk Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product Forward- Looking Statements © 2022 SPLUNK INC.
  • 2. © 2022 SPLUNK INC. Introducing Ingest Actions: Filter, Mask, Route, Repeat San Francisco Bay Area Splunk User Group Nov 2, 2022 Divya Vijayan Software Engineer | Splunk Inc. Samat Jain Principal Software Engineer | Splunk Inc.
  • 3. © 2022 SPLUNK INC. Software Engineer | Splunk Inc. Divya Vijayan Principal Software Engineer | Splunk Inc. Samat Jain
  • 4. © 2022 SPLUNK INC. Thanks to… Senior Product Manager | Splunk Inc. Felix Jiang Cloud Solutions Architect | Splunk Inc. Russell Uman Product Management Director | Splunk Inc. Izzy Park
  • 5. © 2022 SPLUNK INC. $ Value of Data Age of Data Potential Splunk Use Cases Common Splunk Use Cases Real and Near-Real Time Ad Hoc Data Lake and Archive Forensics, Summaries, and Data Retention Compliance <1 sec <1 min <10 sec 1 week 1 year 1 month 1 hour 1 day 10 year Data Value Changes With Age
  • 6. © 2022 SPLUNK INC. Data Optimization Brings a Value-Based Approach to Data Strategy TIER A TIER B TIER C Higher Value Low Volume Low Value High Volume Use Cases Monitoring, Investigation, RCA, Premium Solutions Value / Volume Ratio High Value, Med-High Volume Use Cases Troubleshooting, Forensic Investigation, Forensic Analysis Value / Volume Ratio Low Value, Med-High Volume Use Cases Compliance, Future Proofing Value / Volume Ratio Low Value, High Volume B U S I N E S S C R I T I C A L L O W S I G N A L L O W V A L U E
  • 7. © 2022 SPLUNK INC. Data Tiering Flows - GDI HF / IDX IDXC DDAS Flex Index S3: RFS S3: DDSS (Frozen) DDAA Syslog Frozen Hadoop Splunk INGEST INDEX ARCHIVE
  • 8. © 2022 SPLUNK INC. What Can Admins Accomplish before Ingest Actions? Edit props.conf: [source::/var/log/messages] TRANSFORMS-null= setnull Edit transforms.conf: [setnull] REGEX = DEBUG DEST_KEY = queue FORMAT = nullQueue Filtering and masking data involves: • Memorizing syntax • Handwriting stanzas • Expensive iteration • Editing of many conf files • Manual deployment Source: https://www.memesmonkey.com/topic/confused+dog
  • 9. © 2022 SPLUNK INC. A new user interface and backend enhancements to enable admins to easily author and deploy rules on existing Splunk Enterprise-derived infrastructure. This means you can now: • Filter: discard unwanted events – Remove noisy events, DEBUG logs, etc • Mask: change the contents of events – Mask PII, IP addresses, usernames • Route: Events can be routed to any combination of original Splunk index, different Splunk index, clone, or sent to Amazon S3 • Use the UI to preview and validate rules / logic – Does my regex work? – How did one rule interact with others? How Do Ingest Actions Achieve This?
  • 10. © 2022 SPLUNK INC. Save Time, Save $ Less iteration time between authoring and deployment in prod Filtering and routing events do not count against the ingest license meter Why? • We heard you loud and clear • In the long term, we still want to help you operate and derive value on your most mission-critical data
  • 11. © 2022 SPLUNK INC. IA enables masking with PCRE regex compatibility For audit & compliance contexts, store unmasked data on S3 for compliance, but mask and de-identify for everyday search and reporting Address Compliance Related Use Cases with Ingest Actions
  • 12. © 2022 SPLUNK INC. Platform and Licensing Support Deployment Customer-Managed (Splunk® Enterprise) Splunk-Managed (Splunk® Cloud) Licensing - Ingest - vCPU *No new SKU required for IA - Ingest - SVC *No new SKU required for IA Stack - N/A - Upgraded (“Victoria”) Stacks - Classic Stacks (excluding GCP and FedRAMP in 8.2.2203) Platform Tier - Forwarding Tier: Deployment Server → Heavyweight Forwarder via app distribution to all clients - Indexing Tier: Cluster Manager → Indexers via cluster bundle push - Indexing Tier: Rules deployed via Splunk Cloud Platform internal mechanisms UI location - Forwarding Tier: Deployment Server - Indexing Tier: Cluster Manager - Indexing Tier: Search Head
  • 13. © 2022 SPLUNK INC. Demo!
  • 14. © 2022 SPLUNK INC. Demo Architecture Splunk cloud Search Head Self-Managed Forwarding Tier
  • 15. © 2022 SPLUNK INC. What Do Rulesets Look Like?
  • 16. © 2022 SPLUNK INC. Where is IA configuration written? DS $SPLUNK_HOME/etc/ deployment-apps/ splunk_ingest_actions Standalone (incl. HWF) $SPLUNK_HOME/etc/ apps/ splunk_ingest_actions SH, CM $SPLUNK_HOME/etc/ manager-apps/ splunk_ingest_actions
  • 17. © 2022 SPLUNK INC. Changes to props.conf and transforms.conf props.conf o RULESET-* Works the same as TRANSFORMS-* class, but will run transforms on cooked data o RULESET_DESC-* Description of ruleset transforms.conf o STOP_PROCESSING_IF Used for certain types of rules to conditionally stop processing subsequent rules o Basically, routing rules will have events “exit early” STOP_PROCESSING_IF = <evaluator expression> * An evaluator expression that the regexreplacement processor uses to determine whether or not further processing is to occur for this event. * If you set STOP_PROCESSING_IF, and the regexreplacement processor evaluates the expression that you supply to be true, then the processor stops further processing of this event. * When you set STOP_PROCESSING_IF, like INGEST_EVAL, this setting overrides all of the other index-time settings (such as REGEX, DEST_KEY, etc) except for INGEST_EVAL. STOP_PROCESSING_IF executes after INGEST_EVAL.
  • 18. © 2022 SPLUNK INC. Changes to outputs.conf [rfs:s3] path = s3://data-actions-ingest/data-actions-service-acct/ remote.s3.endpoint = https://s3.us-west-2.amazonaws.com remote.s3.access_key = key remote.s3.secret_key = secret Note: ● If on Standalone (incl. HWF), use the UI! ● If on IDXC, use the UI on the CM or SH! ● If on DS, no UI yet (9.1), must configure HWF directly ● Much of SmartStore’s configuration from indexes.conf works in this stanza
  • 19. © 2022 SPLUNK INC. Where do rulesets execute? Ingest Action Rulesets are executed after existing transforms, e.g. TAs Universal Forwarder Indexer Heavy Forwarder Indexer Universal Forwarder Unparsed Data Unparsed Data Parsed Data ● Parsing ● Merging ● Typing ○ TRANSFORMS ○ RULESET ● Ruleset ○ RULESET ● Parsing ● Merging ● Typing ○ TRANSFORMS ○ RULESET Parse Boundary
  • 20. © 2022 SPLUNK INC. Samat: Updated Masa
  • 21. © 2022 SPLUNK INC. What’s on S3?
  • 22. © 2022 SPLUNK INC. File Format is Valid JSON, “HEC JSON”
  • 23. © 2022 SPLUNK INC. Configuring Metrics # transforms.conf [_ruleset:global_settings] metrics.disabled = false metrics.report_interval = 30s metrics.rule_filter = *<your rule name>* Turned off by default
  • 24. © 2022 SPLUNK INC. What metrics are logged Metrics - group=transforms, name=typing, rule="_rule:ruleset_splunkd_ui_access:mask:m7yeuix8", sourcetype="splunkd", hit=216, cpu_seconds=0.1 in=38426, out.splunk=38000, out.drop=426 ● rule is the name of the rule, and can be mapped to a rule in an Ingest Action ruleset ● hit is the times the rule is hit in the report interval (number of events) ● cpu_seconds is the cpu time spent by the rule during the report interval ● in is the raw bytes the rule processes in the report interval ● out.x is the raw bytes the rule routes to each destination ● Ingest Action rules have a special prefix _rule ○ _rule:ruleset_splunkd_ui_access:mask:m7yeuix8 New
  • 25. © 2022 SPLUNK INC. Key new concepts for users who already have experience with props/transforms, pipelines ● In Ingest Actions rulesets only, filtering and routing rules will stop further processing on events, by default & by design ● A new pipeline “ruleset” was added ○ The pipeline will accept “cooked” data from HFs (by design) ○ This also means there’s another queue to monitor, previously only needed to mntiro ● A new output “rfs” pipeline was created for S3 ○ Using output to S3 is not immune to issues such as backpressure https://confluence.splunk.com/display/PROD/Data+Actions+Performance+Plan
  • 26. © 2022 SPLUNK INC. How Do I Get Started? (1) Capability prereqs: • list_ingest_ruleset: list existing rulesets • edit_ingest_ruleset: create / edit rulesets *Admins get these capabilities automatically (2) Create your first ruleset!
  • 27. © 2022 SPLUNK INC. New Since .conf’s 9.0 ● “Set Index”: Route events to different Splunk indexes ● Health Report for S3 destinations
  • 28. Thank You © 2022 SPLUNK INC.
  • 29. © 2022 SPLUNK INC. Additional Resources 1. What is a Victoria Cloud Stack? 2. Monitoring vCPU Consumption 3. Monitoring SVC Consumption 4. Using Ingest Actions to improve the data input process