Splunk Enterprise

How can I write in summary index from dashboard input on change?

spisiakmi
Communicator

Hi, can anybody help, please?

Problem:

In dashboard I have label. If I write something in the label <number> and press Enter, I would like to make an action: write something in summary index.

Label: serial_num
Index: index_sum

Fields to be saved in summary index: $Label$, <actual_time>, identifier

Labels (1)
0 Karma
1 Solution

spisiakmi
Communicator

Hi richgalloway,

thank you for response, I solved this problem. In fact you were absolutely right. I sent the value through a token to search of any element, can be also hidden, and this search ends like | collect index=machinedata_w48_sum testmode=false

 

View solution in original post

spisiakmi
Communicator

Hi richgalloway,

thank you for response, I solved this problem. In fact you were absolutely right. I sent the value through a token to search of any element, can be also hidden, and this search ends like | collect index=machinedata_w48_sum testmode=false

 

richgalloway
SplunkTrust
SplunkTrust

<input> elements cannot write to lookup files.  That only can be done within a <search> element.

What problem are you trying to solve?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...