Exploring the Search views
In Part 2, you learned about the types of data that the Splunk platform works with and uploaded the tutorial data into the index. In Part 3, you will learn about the Search app.
Find Splunk Search
1. If you are not on the Splunk Home page, click the Splunk logo on the Splunk bar to go to Splunk Home.
2. From Splunk Home, click Search & Reporting in the Apps panel.
This opens the Search Summary view in the Search app.
Search Summary view
The Search Summary view includes common elements that you see on other views, including the Applications menu, the Splunk bar, the Apps bar, the Search bar, and the Time Range Picker. Elements that are unique to the Search Summary view are the panels below the Search bar: the How to Search panel, the What to Search panel, and the Search History panel.
|1||Applications menu||Switch between Splunk applications that you have installed. The current application, Search & Reporting app, is listed. This menu is on the Splunk bar.|
|2||Splunk bar||Edit your Splunk configuration, view system-level messages, and get help on using the product.|
|3||Apps bar||Navigate between the different views in the application you are in. For the Search & Reporting app the views are: Search, Pivot, Reports, Alerts, and Dashboards.|
|4||Search bar||Specify your search criteria.|
|5||Time range picker||Specify the time period for the search, such as the last 30 minutes or yesterday. The default is All time.|
|6||How to search||Contains links to the Search Tutorial and Search Manual.|
|7||What to search||Shows a summary of the data that is uploaded on to this Splunk instance and that you are authorized to view.|
|8||Search history||View a list of the searches that you have run. The search history appears after you run your first search.|
Explore the Data Summary information
Use the Data Summary to view information about your data.
1. In the What to Search panel, click Data Summary.
The tabs Hosts, Sources, and Sourcetypes, represent searchable fields in your data.
The host of an event is the host name, IP address, or fully qualified domain name of the network machine from which the event originated. In a distributed environment, you can use the host field to search data from specific machines.
The Host tab lists five hosts. These hosts were identified from the
tutorialdata.zip file that you added to the Splunk platform.
2. Click the Sources tab to see the eight sources listed, all of which are log files.
- The source of an event is the file or directory path, network port, or script from which the event originated.
3. Click the Sourcetypes tab. The three source types that are in the tutorial data file include the following:
- access_combined_wcookie. Apache web server log files.
- secure. Secure server log files.
- vendor_sales. Global sales vendor information.
- The source type of an event tells you what kind of data it is, usually based on how it is formatted. This classification lets you search for the same type of data across multiple sources and hosts.
Let's explore some of the data.
4. Click the Sources tab.
5. Click tutorialdata.zip:./www1/access.log.
- A new search runs. The events that match the search appear in the lower portion of the screen.
New Search view
The New Search view opens after you run a search.
Some of the elements in this view might be familiar, such as the Apps bar, the Search bar, and the time range picker. Below the Search bar, are the Timeline, the Fields sidebar, and the Events view.
|1||Apps bar||Navigate between the different views in the Search & Reporting app.|
|2||Search bar||Specify your search criteria.|
|3||Time range picker||Specify the time period for the search.|
|4||Timeline||A visual representation of the number of events that occur at each point in time. Peaks or valleys in the timeline can indicate spikes in activity or server downtime. The timeline options are located above the timeline. You can zoom in, zoom out, and change the scale of the chart.|
|5||Fields sidebar||Displays a list of the fields discovered in the events. The fields are grouped into Selected Fields and Interesting Fields.|
|6||Events view||Displays the events that match your search. By default, the most recent event is listed first. In each event, the matching search terms are highlighted. To change the event view, use the List, Format, and Per Page options.|
Explore the data source types
1. To return to the Search Summary view, click Search in the Apps bar.
2. Try a different search. Click Data Summary and click the Sourcetypes tab.
3. Click vendor_sales.
The New Search view opens and the Search bar shows the following search criteria.
Selecting a host, source, or source type from the Data Summary dialog box is a great way to see how your data is turned into events. However, the real power of the Splunk software is in searching all of your data, not segmented parts of it.
Learn about specifying time ranges in your searches.
Upload the tutorial data
Specifying time ranges
This documentation applies to the following versions of Splunk® Enterprise: 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11