Convert hostname/fqdn to IP address #18772
Replies: 2 comments
-
Do you mean do a DNS lookup for, say, an A record? Or something else? This functionality doesn't currently exist in Vector, though you could do it with Lua. Do you mind opening a feature request with more details about your use-case? |
Beta Was this translation helpful? Give feedback.
-
Yes. To elaborate more, the hostname extracted from Syslog feed requires to enrich with IP translated for the sink consumer. On other hand, would be nice to have this feature given there are other IP based functions. I will raise a FR! Rest caveats with DNS etc., falls to the function for reverse_dns. TIA. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to convert hostname / FQDN to IP address as part of remap?
I noticed reverse_dns, but that effectively gets to the FQDN, but looking for IP address.
TIA.
Beta Was this translation helpful? Give feedback.
All reactions