Splunk Search

How to get the row text from inputlookup in a variable for email alert

mbreton
Engager

HI!

I am using a CSV file to catch some alerts, and that part works fine, I catch all my alerts.

index="main"  [inputlookup linux_alerts.csv | table AlertMsg | rename AlertMsg as search | format ]

The file goes like this:
AlertMsg
Some alert text 1
Some alert text 2
Some other stuff

What I would like is when one of these row is triggered to have it in a variable for the body of the email. Something like $result.AlertMsg$

Thanks

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...