All Apps and Add-ons

ER: Add a way to manually launch the search

martin_mueller
SplunkTrust
SplunkTrust

Promising app so far, but it seems to flood Splunk with search jobs while typing... so my enhancement request: A search button 🙂

alt text

hylam
Contributor

I am expecting something like ":w" or submit button.

0 Karma

Nicolo_Figiani
Path Finder

Hello everyone,
I can confirm that he cancelling of search jobs doesn't seem to work for me either, since many search jobs are created (and not all of them are deleted) while typing (about every 2 secs).
I thinks this app is very promising but I guess a search button is a required feature to let it work at best.

Great works indeed regarding the development of this app, hope to hear any feedback on this matter soon...

N.

0 Karma

sni_splunk
Splunk Employee
Splunk Employee

I am the author of this app. Thanks for suggestion, I am happy to add this feature later.

Currently, while you type, a search will be submitted to Splunk, and if you keep typing, the client will cancel previously submitted search if it is still running so there won't be any orphan search job left and consuming resource. However, as I mentioned in the user guide page, it is recommended to develop and verify the SPL against a small data set so that the editor can give you a quick feedback without burning huge resource.

martin_mueller
SplunkTrust
SplunkTrust

The cancelling of search jobs doesn't seem to work for me. I've just upgraded to 1.0.1 and started typing this simple search:

earliest=-d latest=now index=_internal

After a few minutes, some partial searches were still running and others ran for way too long to suggest they were cancelled. For example, the search earliest ran for over a minute, looking for the token earliest in all my default indexes over all time. I sure didn't wait a minute to type on, please check if this cancelling thing actually works.

alt text

0 Karma

sni_splunk
Splunk Employee
Splunk Employee

Thanks for the feedback. I don't implement the canceling by myself, instead, it is a feature in Splunk's JavaScript library API, but it is probably I did not use it correctly or it is not working as I expected, and I will take a close look at it. Maybe a search button is the ultimate solution to this problem 🙂

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...