Audit log search should return consistent results for partial email address queries

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Audit Log
    • None
    • 1

      Problem:
      When searching the audit log in Admin Hub, partial searches on an email address return inconsistent and confusing results. For example, given a user with email First.Last@email.com:

      • Searching 'first.last' returns one set of results
      • Searching 'Last' returns a different set
      • Searching 'email.com' returns yet another set

      This is because the underlying ElasticSearch implementation tokenizes email addresses and performs phrase matching against all event attributes, rather than treating the email as a single searchable value.

      Expected Behavior:
      Partial searches against an email address should return consistent, predictable results — ideally matching any event where the search term appears within the actor's email address.

      Impact:
      Org/site admins investigating user activity are confused by inconsistent results and may miss relevant audit events. Admins shouldn't need to understand tokenization internals to perform a reliable search.

      Current Workaround:

      • Use the full exact email address
      • Use ALQL with actor = "First.Last@email.com"

      Suggested Improvement:

      • Support substring/contains matching for email fields in basic search
      • Or, at minimum, clearly communicate to admins that only full email searches are reliable in the basic search bar (e.g., placeholder text or tooltip)

              Assignee:
              Unassigned
              Reporter:
              Pushpanjali Shivaramu
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: