The data on the main log area can be filtered using one or more of several filters. This topic discusses using these filters.
Note: With one filter already in use you can add more filters to filter that data.
To filter by Date
1. Click inside the Filter by Date filter box. A drop-down of options is displayed.
2. Select an option (the first seven, Last Hour till Last Month) and the web page automatically refreshes to display the data for that selected filter.
3. Click the Custom Range option to set a FROM date and a TO date filter. In this case pop-up windows to select date appear as shown below.
4. Select a date from the calendar box on the left for the FROM date.
5. Select a date from the calendar box on the left for the TO date.
6. Click Apply. The web page refreshes to display the data applicable to the custom date filter.
Note: Click Clear to clear the filter and close the drop-down list.
To filter by server
1. Click inside the Filter by Servers box. A drop-down of servers currently being tracked is displayed.
2. Select a filter from the list by clicking on it. The web page refreshes to display the logs and information pertaining to that server.
Note: You can select one or more servers using this filter. Let us assume the app.imailunlimited.com server is selected. Note that it shows up in the filter as follows.
To add one or more servers from the list of servers just click inside this filter again in the space adjacent to the already existing filter and the drop-down appears.
From here you can select another server. Repeat the steps to add servers. To remove a server from the filter click the "X" symbol of a server name from the filter. Also in the drop-down the cursor is seen blinking in the vacant space above the list of servers. If the list of servers is long and you would like to search (and subsequently select) a server just enter the name or the first few characters of the server's name in this space and the server you are searching for is located and listed in the drop-down list for you to select.
To filter by Data Types
Note: A data type is the type of data that is stored. It consists of a distribution(path) for pull distributions or distribution(facility) for SYSLOG distributions.
1. Click inside the Filter by Date Types box. A drop-down of options is displayed.
2. Browse the list of data types from the drop-down and select one of your choice. The web page refreshes to display logs pertaining to that data type selected.
Note: As with the Filter by Servers filter, you can select multiple Data types in the Filter by Data Types filter also. Refer explanation in the previous section.
To filter using regular expressions (Regex)
1. Click inside the Filter by Content Regex box and enter a regular expression. For example to search for all linux related logs enter linux and press Enter. The web page refreshes to display logs related to the keyword "linux" or "linux" followed by any character or characters of any length without spaces. Other examples of regular expression include "conn.*"
(In our example the word "conn.*" is used in the filter which ideally means pages with "connect", or any record containing the characters "conn" followed by any character of any length without spaces, will show in the results). From the list of log files displayed click to view the contents of the log file by selecting the file (with your mouse). The following page is displayed.
Note: Here additional filtering can be done in two ways. 1. Entering text inside the Search box (the one with the lens symbol inside) 2. Entering text in the Search box.
3. Creating one or more alerts. This is explained in the topic Creating Alert Queries.
Entering a regex string such as "goog.*" to say search for all instances of "Google" or "googlebot" in the search box returns results as shown below.
Note: Regex merits an entire topic for discussion. For more details on regex please go through this link on Wikipedia. Another thing to be borne in mind is that "Regex matching" matches case sensitive regular expressions if it is set under user’s setting (Login Username -> Settings) for the variable web search regex case sensitive.