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
- Open the unitysetup.properties file
located in the <HOME>/IBM®/LogAnalysis/wlp/usr/servers/Unity/apps/Unity.war/WEB-INF directory.
- Locate and, if necessary, remove the comment notation from
the line:
SEARCH_QUERY_FOR_DEFAULT_SEARCH=*
- Add the text that you want to define as your default query:
For example:
SEARCH_QUERY_FOR_DEFAULT_SEARCH=TUNE9001W
- Save the file.
- 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.