Skip to content

[Bug]: Events without node are filtered out #955

Closed
@ralphm

Description

@ralphm

Bug description

As mentioned in #949, ever since the new node selectors, events without an associated node (e.g. agent and audit events) can no longer be selected. Their facet counts do show as 0 and the items are grayed out. This is caused by the nodes_ids facet always being provided, even when no node was selected.

Expected behavior

The nodes_ids field should be an empty list when no nodes have been selected.

Steps to reproduce

  1. Go to the events tab.
  2. Make sure no nodes have been selected.
  3. Select a time frame that includes non-node events. This can be seen in the Event Type facet, which will have grayed out items with a zero count.

Screenshots

image

Error Logs

No response

Desktop

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions