Skip to main content
Solved

How to fetch UDM Additional Fields in Dashboard Query

  • July 16, 2026
  • 5 replies
  • 54 views

soaruser
Forum|alt.badge.img+6

I have a field :

udm.additional.fields[“eventAnnotationManagerTime”] = [removed by moderator]

How do i fetch this in the dashboard query?

Best answer by cmorris

Try this:

detection.collection_elements.references.event.additional.fields["eventAnnotationManagerTime"]

 

Ex.:

 

5 replies

whathehack81
Forum|alt.badge.img+5

You can reference the key directly as a map entry in the dashboard’s YARA-L query.

events:

  $e.additional.fields["eventAnnotationManagerTime"] != ""

 

outcome:

  $event_annotation_manager_time =

    array_distinct(

      $e.additional.fields["eventAnnotationManagerTime"]

    )

For a direct filter:

$e.additional.fields["eventAnnotationManagerTime"] = "<expected_value>"

A good reply would be:

additional.fields is map-addressable in YARA-L. Reference the key directly:

$e.additional.fields["eventAnnotationManagerTime"]

In a dashboard query, expose it through an outcome aggregation:

outcome:

  $event_annotation_manager_time =

    array_distinct(

      $e.additional.fields["eventAnnotationManagerTime"]

    )

The key is case-sensitive. Also verify the ingested UDM field type/value in Search first; if it is numeric rather than a string, use an appropriate numeric aggregation such as max() instead of array_distinct(). 

 

Let me know how it works. 

RQ


soaruser
Forum|alt.badge.img+6
  • Author
  • Bronze 2
  • July 16, 2026

Thank you ​@whathehack81 

I forgot to mention I want to fetch this value with detection table. So I want something like this:

 

detection.collection_elements.references.event.metadata.[??] 

 

Similar to: For Event Timestamp I use >> detection.collection_elements.references.event.metadata.event_timestamp.seconds


cmorris
Staff
Forum|alt.badge.img+13
  • Staff
  • Answer
  • July 16, 2026

Try this:

detection.collection_elements.references.event.additional.fields["eventAnnotationManagerTime"]

 

Ex.:

 


soaruser
Forum|alt.badge.img+6
  • Author
  • Bronze 2
  • July 16, 2026

thanks a lot ​@cmorris 


whathehack81
Forum|alt.badge.img+5

Thank you ​@whathehack81 

I forgot to mention I want to fetch this value with detection table. So I want something like this:

 

detection.collection_elements.references.event.metadata.[??] 

 

Similar to: For Event Timestamp I use >> detection.collection_elements.references.event.metadata.event_timestamp.seconds

I noticed only after the comment was posted. Missed it by that much… 😁