IBM Operations Analytics - Log Analysis, Version 1.3.0

Defining a default search

If you want to define a default initial search that is displayed when you log into the Search workspace, complete the steps in this topic.

About this task

You can define the search query. However, any additional parameters such as the Data Source or Time filter cannot be defined for your default search. To define your search:

Procedure

  1. Open the unitysetup.properties file located in the <HOME>/IBM/LogAnalysis/wlp/usr/servers/Unity/apps/Unity.war/WEB-INF directory.
  2. Locate and, if necessary, remove the comment notation from the line:
    SEARCH_QUERY_FOR_DEFAULT_SEARCH=*
  3. Add the text that you want to define as your default query: For example:
    SEARCH_QUERY_FOR_DEFAULT_SEARCH=TUNE9001W
  4. Save the file.
  5. Use the following command to restart IBM® Operations Analytics - Log Analysis:

    <HOME>/IBM/LogAnalysis/utilities/unity.sh -restart

Results

If there are search results in the last 15 minutes for the specified query, the results of the query are displayed. If you have defined a value for the search and no results are found, a message is displayed indicating that no matches were found.


Feedback