Syntax help is displayed in the UI for the QQL tokens that you enter from the Activity Logs tab. The following is a complete list of tokens for writing the QQL search queries. Click each token to learn more about it.
Example
Show results for action as edit
action:edit
Examples
Show any results with this name
userName:JohnDoe
Show any results that contain parts of name
userName:"JohnDoe"
Show any results that match exact value "JohnDoe"
userName:`JohnDoe`
Example
Show activity logs for user role as Manager
userRole:Manager
Example
Show activity logs with SourceIp 1.1.1.1
sourceIp:1.1.1.1
Example
Show activity logs for module code as PM
moduleCode:PM
Example
Show activity logs for target name 656575137
targetName:656575137
Example
Show activity logs for target name authentication
targetType:authentication
The Qualys Query Language (QQL) supports the "and" operator. This is a logical or Boolean query operator. Use this operator in your queries to narrow down or broaden your search.
Use a boolean query to express your query using AND logic.
Find the user with this user name and action.
Example
username:"test_user" and status:"edit"