We’ve all been in a situation where we are investigating an issue using Splunk, where there are hundreds of tabs open and you’ve no idea which one your very impressive, elaborate and useful search was in. It turns out that there’s a very easy way to search tabs in your browser, so you don’t need to click through each tab trying to find your work.
Searching for a tab in Chrome
In Chrome, you can search for a tab based on the title of the tab. Open the tab by using Ctrl-Shift-A (Cmd-Shift-A on Mac) to bring up the Tab search menu, or look for the arrow in a circle at the top-right of your window, next to all of your open tabs. Type in the name of the tab you are looking for, and Chrome will present you with a list of relevant options – just click the one you want.
Searching for a tab in Firefox
Using Firefox you can also search for specific tabs in your browser. Unlike in Chrome, you are actually searching the URI of each tab. When using Splunk, you may have noticed that your search is included in the URI. This means that you can use the tab search to find a specific Splunk search you have open if you can remember some of the SPL you used. To do this, you just need to open a new tab and put your search, preceded by %, in the address bar. You can also click on the down arrow next to all of your open tabs, and select the ‘Search tabs’ option.
For example, if looking for a tab where you had a Splunk search on the ‘test_mulesoft’ index, you would simply type
%index="test_mulesoft" in the address bar. This works for any part of the search.
Now you never need to click through multiple Splunk tabs trying to find your search again!
For 2021 we’ve committed to posting a new Splunk tip every week!
If you want to keep up to date on tips like the one above then sign up below:
Subscribe to our newsletter to receive regular updates from iDelta, including news and updates, information on upcoming events, and Splunk tips and tricks from our team of experts. You can also find us on Twitter and LinkedIn.