-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hope vrl supports obtaining host IP addresses #435
Comments
Worth noting that this will return a list of possible addresses - or potentially a map of interface name to addresses which could be IPv4 or IPv6. |
I had explored this a bit a while ago over here: vectordotdev/vector#7015 . I got hung up trying to get it to work on Windows. |
@XSWClevo Could you describe a bit more the use-case you have for this enrichment? Hosts can have many interfaces and IP addresses so it isn't as simple as "fetch the host IP". Because of that, we want to make sure, if we were to add this, that it meets the needs people have for it. We are also interested in hearing from others any additional use-cases that you have for this! |
@jszwedko Feature request +1 This might be an example of getting intranet ipv4/ipv6 on windows: https://github.com/EstebanBorai/local-ip-address/blob/main/src/windows.rs |
After using to obtain host_Metrics related information, the host address cannot be obtained, so I think it is most suitable to obtain the IP address in VRL
The text was updated successfully, but these errors were encountered: