Skip to main content

Search returns no results

Use this page when a search in ThreatVIS Unified Security Operations Platform shows no events, fewer than you expect, or an error.

Role needed: Search: Read. See Search events.

Symptom: the search shows an error​

If the query fails, a 1 error button appears in the footer of the editor. Select it to read the message.

Likely causeWhat to check
A text value is not in single quotesWrite text values in single quotes: host.hostname = 'ws-01'. To put a single quote inside a value, write it twice.
A field name with a special characterPut names such as @timestamp in backticks. Names with only letters, digits, underscore and dot need none.
A stage that is not part of the languageCheck the command against the ThreatVIS PPL quick reference.
The search is refused and the message says the query is not available to role-scoped searchesYou are signed in with a role, not as an Admin or Super Admin. A role's queries must start with source= and the source names, and cannot use join, append, subsearches, or lookup on anything but a lookup file. Rewrite the query, or ask an administrator. See What your role lets you see.
A lookup that names a file that does not existThe file's query name starts with lookup_. The editor suggests the names after source= and lookup. See Use lookups in a search.

See ThreatVIS PPL basics.

Symptom: the search runs and finds nothing​

If you sign in with a role, your role's Event pre filter limits the events you see, and events from a log source limited to other roles are hidden. A role with a blank pre filter sees every event. Ask an administrator to check the role if you expect events you cannot see. ThreatVIS USOP's own audit events are shown only to roles with Settings access.

Work through these in order. The first two cause most empty results.

1. The time range​

The first search tab opens over Today, from midnight to the end of the day in the displayed time zone. Events from yesterday do not match, and the time zone you see decides where midnight falls.

  1. Select the date range in the time controls and choose a wider range, for example Last 24 Hours.
  2. Check the time zone button at the left of the time controls.
  3. Open the time range panel and check Time Column. @ingesttimestamp is when the appliance received an event. @timestamp is the time the source reported. A source with a wrong clock can place events hours or days away from the range you chose. If you switched to @timestamp, switch back to @ingesttimestamp.

See Choose a time range and time zone.

2. The source​

A query names its source with source=. A query that names none searches events and alerts together.

You wantUse
Eventssource=log_*
Alertssource=alerts
Casessource=cases. A query over Cases also needs Cases: Read.

3. The condition​

  • Check the spelling of each value you compare against, and that the field exists in your events. The Filters panel lists the fields in the results.
  • host.name is stored in lower case, so compare it with a lower-case value.
  • To find text anywhere in an event, search a plain word, or use query_string(["*"], 'word').
  • Remove the last stage and run again. Add the stages back one at a time to find the one that removes the rows.

4. Data has not arrived​

If a broader search over a wide range is still empty, check whether events reach the appliance.

  • A newly stored event becomes visible to search after the refresh interval, 60 seconds by default.
  • Events past the retention period are no longer searchable. See Data retention.
  • Open Settings, Log Onboarding, and read the Status of the source. See Events are not arriving.

How to confirm​

The footer of the editor shows the number of events matched, and the Event List shows rows.

When to contact support​

Contact support when a search that should match events you can see elsewhere in the console (for example in a source's Active status, or in a dashboard) returns nothing over a wide time range, or an error message does not explain the cause.

Collect:

  • the time you ran the search, with your time zone;
  • the query text, the time range and the Time Column you chose;
  • a screenshot of the editor footer showing the result count or the error message;
  • the appliance version from System Update.

See What to collect before you contact support and Contact support.