Skip to main content
Solved

Monitor using Value-Based Search with Context Fields

  • August 1, 2025
  • 2 replies
  • 88 views

yracette
Pioneer
Forum|alt.badge.img+2

I configured a value-based search and added calculations to the search. 

I created context items based on the search results and assigned a context type with associated context fields mapping to the value-based search calculations. 

Question is: if I configure a monitor using that value-based search and get the monitor to create context items with this specific context type , I see the context fields being listed with optional drop-down boxes. What do I do with these? Will the context item automatically fill-in the results of the calculations to the context fields?

Best answer by fmotte

Hi ​@yracette,

Thanks for the question - adding these dynamic calculations to the monitor results is part of our roadmap. You can upvote the same idea in the Ideas section here: 

Kind regards,

Fréderick

2 replies

Forum|alt.badge.img
  • Community Manager
  • Answer
  • August 5, 2025

Hi ​@yracette,

Thanks for the question - adding these dynamic calculations to the monitor results is part of our roadmap. You can upvote the same idea in the Ideas section here: 

Kind regards,

Fréderick


yracette
Pioneer
Forum|alt.badge.img+2
  • Author
  • April 1, 2026

Further question on this topic. Again, I have configured several context fields tied to a context type.

I initially uses a value-based search to find past events , added calculations to the search and selected events from the search results to create context items at which time, I mapped the fields.. So at that time, all my context views with fields are filled-in.

Second, I created a monitor tied to my value-based search that creates a context item when the event is detected. This has successfully run for a while.

Because monitors do not yet automatically populate context fields, I now have context items on my selected component and empty field values.

I understand that I could use Python code to populate the fields (per what was covered in Trend Lab 2025), but if I wished to fill-in the missing fields manually what would I need to do? I am guessing:

  • Locate the last fully filled context item with all fields populated
  • Open my saved values-based search with calculations
  • Set the context chart time range from slightly after the last fully-filled event
  • Execute the search
  • Create context items which I believe will create duplicate context items for my component/tag
  • Manually delete the incomplete context items (without data field values)

Am I correct or is there a better way?

Thank you.

Yves