Splunk Search

Custom Alert Action UI

astatrial
Contributor

Hello!

I'm trying to append to the Alert ui the query itself (the search from which the user create the alert), in order to send it to another dashboard via link from the UI.

What i mean is that after a user will run a search, and will try to save it as an alert, the UI of the alert will contain a link to another dashboard with the search string.

I'm aware of the $search$ token but it doesn't seem to work.

Is this thing possible ?

0 Karma

astatrial
Contributor

I think i explained myself wrong.
I'm trying to configure the alert UI so it will capture the query from which it was created (before the alert is actually saved). This means that it needs to be generic to every query.

I want to be able to append a link to the UI that will transfer the query to outside dashboard.

There is example in the next picture.

alt text

0 Karma

harishalipaka
Motivator

@astatrial
try like this | return $linkfield

Thanks
Harish
0 Karma

astatrial
Contributor

where should i use it ?

0 Karma

harishalipaka
Motivator

@astatrial

use in your query.can u share ur query

Thanks
Harish
0 Karma

astatrial
Contributor

Please refer to the answer i posted.
i couldn't attach a picture here so i created an answer.

Thanks !

0 Karma

eduardkiyko_
New Member

I guess, its impossible, you should re-write Splunks source code to append custom ui

0 Karma

astatrial
Contributor

I'm able to create the custom alert UI, i'm just trying to somehow send to the UI window of the "saving as an alert" the search string.

0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...