Splunk Search

Dashboard Question

menkurau
Path Finder

I have a request to create a dashboard that among other things has a panel that text can be input into and written to a file. I have not come across anything in the docs that covers this and I am not sure it is even possible. Any suggestions?

Tags (1)
0 Karma
1 Solution

Drainy
Champion

Sure, you could create a form with a text field, this value could be tokenised and passed into another search further down the page that uses outputlookup or one of the other output commands to save it to a file.

Otherwise you could create your own search command that handles all this for you, here are some links for reading;

http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/outputlookup
http://docs.splunk.com/Documentation/Splunk/5.0/Search/Writeasearchcommand
http://splunk-base.splunk.com/apps/64805/splunk-dashboard-examples

Finally, if you were really brave you could write your own module that handles this 🙂
dev.splunk.com

View solution in original post

0 Karma

Drainy
Champion

Sure, you could create a form with a text field, this value could be tokenised and passed into another search further down the page that uses outputlookup or one of the other output commands to save it to a file.

Otherwise you could create your own search command that handles all this for you, here are some links for reading;

http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/outputlookup
http://docs.splunk.com/Documentation/Splunk/5.0/Search/Writeasearchcommand
http://splunk-base.splunk.com/apps/64805/splunk-dashboard-examples

Finally, if you were really brave you could write your own module that handles this 🙂
dev.splunk.com

0 Karma

aneeshkjm123
Path Finder

Written to a file ?
Could you please explain in other words ?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...