Using Transformsedit

Watcher supports three types of transforms search, script and chain. A search transform replaces the existing payload with the results of a new search request. You can use script transforms to modify the existing payload. A chain transform enables you to perform a series of search and script transforms.