Hi,

it is possible to use multiple fields inside foreach on profiler ?

i’ve try using AND like below but it failed. pls help

{
  "profiles": [
    {
      "profile": "hello-world",
      "onlyif":  "exists(ip_src_addr) AND exists(ip_dst_addr)",
      "foreach": "ip_src_addr AND ip_dst_addr,
      "init":    { "count": "0" },
      "update":  { "count": "count + 1" },
      "result":  "count"
    }
  ]
}

Reply via email to