79519311

Date: 2025-03-19 06:33:37
Score: 1.5
Natty:
Report link

Now, there's a catch. Be aware that I have trouble with this approach in 8.17.3. Here's my configuration:

      mutate {
        copy => { "[haproxy][http][request][http_host]" => "[srv][server_ip]" }
      }

      dns {
        resolve => "[srv][server_ip]"
        action => "replace"
      }

The whole [haproxy][http]… array is created with my own customised grok filter earlier in the configuration. And this gives me error:

DNS filter could not resolve missing field {:field=>"[srv][server_ip]"}

It seems that dns filter (and split and others…) do not work on fields I created earlier with grok filter. It works only on fields that come in the original request.

Reasons:
  • Blacklisted phrase (2): gives me error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rafał W.