User Manual

 


The Search app

The Search app

This topic assumes you've just added the sample data for the online Flower & Gift shop. If you haven't, go back to the add data tutorial to get it before proceeding.

Once you have data in Splunk, you're ready to start searching. This topic introduces you to the Search app, which is Splunk's default interface for searching and analyzing data. If you're already familiar with the search interface, you can skip ahead and start searching.

The Backstory: You are a member of the Customer Support team for the online Flower & Gift shop. This is your first day on the job. You want to learn some more about the shop. Some questions you want answered are:

The Splunk server already has data in it--let's take a look at it.

Find the Search app

You can access the Search app from anywhere in Splunk from the App list in the system navigation bar located at the upper right corner.

App menu search4.3.png


If the App list is not available, click the << Back to Home link at the top left corner of the page:

BacktoHome.png

Once you're back in Home, select Search from the App list. The first view that you see in the Search app is the Summary dashboard.

The Summary dashboard

The Search app's Summary dashboard displays information about the data that you just uploaded to this Splunk server and gives you the means to start searching this data.

Search summary dash4.3.png


The metrics displayed on this dashboard are generated by saved searches that run behind-the-scenes whenever you access and reload this page. (By the end of this tutorial, you'll be able to run searches, save them, and use them to build your own dashboard, much like this one.)

What's in this dashboard?

The Search app includes many different dashboards and views. For now, you really only need to know about two of them:

Use the Search app navigation bar to locate and access the different views in the Search app. When you click on the links, Splunk takes you to the respective dashboards or refreshes the page if you're already there.

Other things in the Search app UI:

If you're using a freshly installed Splunk server for this tutorial, you'll only see the sample data files that you just uploaded. Because it's a one-time upload of a file, this data will not change. When you add more data, there will be more information on this dashboard. If you add data inputs that point to sources that are not static (such as log files that are being written to by applications), the numbers on the Summary page will change as more data comes in from your source(s).

If you're using a shared or pre-installed Splunk server that is deployed in an enterprise environment, you'll probably see much more information on this dashboard.

Kick off a search

1. Take a closer look at the Summary dashboard.

In the Sources panel, you should see three Apache Web server logs and a mySQL database log for the online Flower & Gift shop data that you just uploaded. If you're familiar with Apache Web server logs, you might recognize the access_combined_wcookie Source type as one of the log formats associated with Web access logs. All the data for this source type should give you information about people who access the Flower & Gift shop website.


Summary sources panel4.3.png


Searching in Splunk is very interactive. Although you have a search bar in the Summary dashboard, you don't need to type anything into it just yet. Each of the sources, sourcetypes, and hosts listed in the Summary dashboard is a link that will kick off a search when you click on them.

2. In the Sourcetypes panel, click access_combined_wcookie.

Splunk takes you to the Search dashboard, where it runs the search and shows you the results:


Search dashbd 4.3.png


There are a lot of components to this view, so let's take a look at them before continuing to search.

Splunk paused my search?

If you are searching on a Splunk installation that has more data on it than just this tutorial's sample data, your search might take a bit longer. If your search takes longer than 30 seconds, Splunk will automatically pause it. If autopause pops up, click Resume search. You can read more about autopause in the Admin manual.

What's in this Search dashboard?

The search bar and time range picker should be familiar to you -- it was also in the Summary dashboard. But, now you also see a count of events, the timeline, the fields menu, and the list of retrieved events or search results.

When you're ready, proceed to the next topic to start searching and find out what's up at the flower shop.

This documentation applies to the following versions of Splunk: 4.3 , 4.3.1 , 4.3.2 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!