Docs Connect Components Processors jmespath jmespath Available in: Cloud, Self-Managed Executes a JMESPath query on JSON documents and replaces the message with the resulting document. # Config fields, showing default values label: "" jmespath: query: "" # No default (required) Try out Bloblang For better performance and improved capabilities try native Redpanda Connect mapping with the mapping processor. Fields query The JMESPath query to apply to messages. Type: string Examples Mapping When receiving JSON documents of the form: { "locations": [ {"name": "Seattle", "state": "WA"}, {"name": "New York", "state": "NY"}, {"name": "Bellevue", "state": "WA"}, {"name": "Olympia", "state": "WA"} ] } We could collapse the location names from the state of Washington into a field Cities: {"Cities": "Bellevue, Olympia, Seattle"} With the following config: pipeline: processors: - jmespath: query: "locations[?state == 'WA'].name | sort(@) | {Cities: join(', ', @)}" Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution javascript jq