Alerting

How to hidden a certain fields value in an Inline table in email alert?

phamxuantung
Communicator

Hello,

My alert produces a table like this:

 

Time   |ID | FILE_NAME |STATUS
_time1 |3  |file1.csv  |SUCCESS
_time2 |5  |file2.csv  |DATA_ERROR

 

 

I want to send an Inline table that only contains STATUS=DATA_ERROR. But in the body of the email, I still want to use the token $result.Time$ and $result.FILE_NAME$ from the STATUS=SUCCESS.
Email body example:

1. File name success detail:

File name: file1.csv
Effective time: _time1

2. Data error detail:

ID |FILE_NAME|STATUS

5  |file2.scv        |DATA_ERROR

So it's basically, hide the STATUS=SUCCESS row- but still use its values in the token email.

Thank you in advance

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...