Skip to main content
Solved

How would I go about filtering out events where a field is equal to a certain value?

  • March 11, 2025
  • 1 reply
  • 5 views

Here's the scenario:

I have a rest call that pulls in csv data, translates it into kv pairs, but now I want to filter out events where a certain field (non-indexed) are equal to a certain value.

Best answer by pie

One technique, use Regex Extract(), Eval() or a Parser() to pull the data into an internal (double underscore field)

  • Function to pull data out
  • Drop function matching on that extracted field

There are several ways to accomplish this. This example details one.

1 reply

  • Participating Frequently
  • 22 replies
  • Answer
  • March 11, 2025

One technique, use Regex Extract(), Eval() or a Parser() to pull the data into an internal (double underscore field)

  • Function to pull data out
  • Drop function matching on that extracted field

There are several ways to accomplish this. This example details one.