EXPAND ALL
  • Home

ip_to_service_id

Converts the IP address into a Kubernetes service ID for the service associated to the IP. If there is no service associated with the given IP address, return an empty string.

Returns: STRING

The service id if it exists, otherwise an empty string.

Arguments

VariableTypeDescription
ipSTRINGThe IP to convert.

Examples:

df.service_id = px.ip_to_service_id(df.remote_addr)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.