Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdataprime%2Flanguage-reference%2Fcommands-reference%2Fwildfind_wildtext.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdataprime%2Flanguage-reference%2Fcommands-reference%2Fwildfind_wildtext.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# `wildfind / wildtext`

## Description

The `wildfind` command searches for a given string across **all keypaths** in every document in the working set. It is useful when you don’t know which field contains the target value.

The alias `wildtext` behaves identically.

Note

`wildfind` is significantly slower than `find` or `text`, since it must inspect every field in every document. Use `find` when the keypath is known for better performance.

## Syntax

```
(wildfind|wildtext) <string>
```

## Example

**Use case: Locate an IP address anywhere in a document**

When you’re unsure which field contains a specific value (such as an IP address), `wildfind` can search across all keypaths and return any document containing that value.

### Example data

```
{ "msg": "User with IP 10.10.10.10 logged in", "msg_field": "7.8.4.120 logged in" },

{ "message": "User with IP 192.168.0.42 changed password", "txt": "7.8.4.120 updated profile picture" },

{ "txt_msg": "User with IP 7.8.4.120 accessed page" },

{ "body": "User with IP 7.8.4.120 logged out" }
```

### Example query

```
wildfind '7.8.4.120'
```

### Example output

```
{ "txt_msg": "User with IP 7.8.4.120 accessed page" },

{ "body": "User with IP 7.8.4.120 logged out" }
```

The `wildfind` command scans every field of each document and returns all those containing the search string. In this example, all documents include the IP address, so all are returned.

Note

Use `find` or `text` when you know the keypath (e.g. `find '7.8.4.120' in msg`) for faster performance.
