> For the complete documentation index, see [llms.txt](https://docs.onum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onum.com/pipelines/actions/transformation/field-transformation/field-transformation-operations/networking/fang-ip-address.md).

# Fang IP address

## Description

This operation takes an invalid IPv4 or IPv6 address and 'fangs' it, meaning the IP becomes valid.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

`String` - IP addresses you want to fang.

{% hint style="info" %}
**Input format**

The input IP addresses must follow the format given in the output results of the [Defang IP Address](/pipelines/actions/transformation/field-transformation/field-transformation-operations/networking/defang-ip-address.md) operation, that is, dots replaced by brackets (for example, `192[.]168[.]1[.]1`)
{% endhint %}

### Output data

`String` - Valid IP addresses.

***

## Example

Suppose you want to **fang** a series of events that represent **IP addresses**:

1. In your Pipeline, open the required [Action](/pipelines/actions.md) configuration and select the input **Field**.
2. In the **Operation** field, choose **Fang IP Address**.
3. Give your **Output field** a name and click **Save**. The IP addresses in your input field will be made valid. For example:

```
Input data - "192[.]168[.]1[.]1"

Output data - "192.168.1.1"
```

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}
