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.

Screenshot of a Chrome browser, highlighted to show a drop down menu in the top right corner.
The highlighted section shows the tab search dropdown, which helps you to find the right tab in Chrome

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.

Screenshot of a Firefox browser window with multiple tabs open. The address bar is a tab search for 'stats'. A red rectangle highlights the result for a Splunk search tab.
A tab search in Firefox, searching for “stats”. The highlighted result is the Splunk 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.

Subscribe

* indicates required
Posted by:Becky Nielsen

Becky is a certified Splunk Admin, who has been working for iDelta since graduating from CodeClan's Professional Software Development course in 2019. Previously an archivist at several institutions around the UK, she holds an MSc in Information Management and Preservation from the University of Glasgow.