Applies to Product: | USM Appliance™ | LevelBlue OSSIM® |
Raw logs can be searched for further analysis and review. Raw log searches are case-sensitive. You can perform either an indexed query or a raw query using one or more of the tags provided in this section as your search criteria.
- Indexed queries search the logs that have been indexed by USM Appliance.
- Raw queries search all logs.
For this reason, the Indexed Query is usually faster than the Raw Query. USM Appliance indexes new raw log entries on an hourly basis.
Search the Raw Logs with Indexed Query or Raw Query
To perform either an indexed or raw query
-
On the Raw Logs page (Analysis > Raw Logs), type the case-sensitive string into the Search field.
As soon as you start entering a value in the Search field, USM Appliance displays a list of tags in the following syntax: <tag>=<string>, <tag>!=<string>
For example
plugin=SSH, src=10.151.184.70, src_port!=80
-
Click the appropriate tag containing your string.
Warning: You cannot enter the query as free text.
If you use multiple tags, USM Appliance combines them for you and infers use of the AND operator.
For a list of valid tags, see the Raw Log Search Tags List below.
-
Click either INDEXED QUERY or RAW QUERY.
INDEXED QUERY will search all the indexed fields within the logs directory. RAW QUERY will search the entire text logs located in /var/ossim/logs.
Note: If using the "data" tag, you can only click RAW QUERY, because the "data" tag only searches the non-indexed text.
- If you want to create a new query after completing the first one, click the "x" next to the original query to remove it or use the keyboard delete key.
Special Characters in Search Strings
USM Appliance treats some characters as delimiters while indexing raw log entries, therefore, they cannot be used in an indexed query.
These characters include:
space
:
;
,
=
[
]
(
)
"
Note: A back slash ('\') or a forward slash ('/') works in both Indexes Query and Raw Query searches.
Save and Run a Query
If you have search queries that are frequently used or important, you can save them to quickly run them again as needed.
To save a query
- Perform a search in the search field.
- Click Predefined Searches.
- In the Select a Predefined to Search popup, give the search a name and click Add.
- Click the Diskette icon () to save the query.
To run a saved query
- Click Predefined Searches.
-
In the Select a Predefined to Search popup, select the query name.
To delete a saved query
- Click Predefined Searches.
- In the Select a Predefined to Search popup, select the query you want to delete and click the Trash icon ().
- Click OK to confirm deletion.