- 3 minutes to read

Formula - concat

Easily merge string values using the Nodinite concat Formula plugin. This page shows how to combine strings from message Content, Context, or the output of other formulas.

🎯 Designed for business users and integrators β€” no developer required; you can even use AI to craft expressions.

  • βœ… Merge data from any Payload or Context in any Log Event
  • βœ… Combine multiple string values into a single result
  • βœ… Transform and surface meaningful data in Nodinite Log Views, search filters, and self-service diagnostics
  • βœ… Combine with other Formula functions for powerful, layered expressions

What does the concat Formula do?

The concat(Content1, Content2, ...) Formula function merges two or more string values into a single result. Use it with static text, message bodies, context values, or the results from other Formula functions to create combined data in your views.


How it works: Input ➜ concat ➜ Result

graph LR A["Input: Multiple strings/values"] --> B["concat(Content1, Content2, ...)"] B --> C["Result: Combined string"]

Flow: Multiple input values are concatenated into a single output string.


Examples

Example 1: Concatenate static strings

Input:
No input required (static values only)

Formula:

concat('Formula', 'Plugin')

Result:

FormulaPlugin

standaloneParameters
Concatenating static strings


Example 2: Concatenate message body with static string

Input:
Message body:

Nod

Formula:

concat(body, 'inite')

Result:

Nodinite

firstParameterFromBody
Using body as the first parameter


Example 3: Concatenate body with itself

Input:
Message body:

Nod

Formula:

concat(body, body)

Result:

NodNod

body as Parameter
Concatenating body with itself


Example 4: Concatenate static value with context value

Input:
Context key id:

ination

Formula:

concat('Imag', context('id'))

Result:

Imagination

contextAsContent
Concatenating a static value with context


Example 5: Use a formula function as a parameter

Input:
Context key id:

{ "Id": 2 }

Formula:

concat(jsonpath('Id', context('id')), 'A')

Result:

2A

functionAsContextParameter
Using a formula function as the first parameter


Example 6 β€” Advanced nested functions

Input from message body

gmt

Input from context key id

utc

Formula Expression

concat(touppercase(regex('gmt|utc', body)), touppercase(substring(0, 3, context('id'))))

Result

GMTUTC

Nested Functions As Parameters
Example: Combining values from both body and context using nested formulas.

Message Context
Example: Context value used in nested formula.


Features

  • Merge single or multiple string values from any Content into one result
  • Works with static text, message body, context, or results from other Formula functions
  • Combine with other Formula functions for powerful, layered expressions
  • Use in Log Views for filtering, grouping, and self-service diagnostics

Important

The concat plugin loads the entire message into RAM. Only use this function on small messages to avoid performance issues.


How to use the concat Formula

  1. Select Formula as the expression type plugin.
  2. Enter your concat expression in the 'Expression' text area.
  3. Provide string values as parameters (for example, static text, the message body, a context value, or another formula result).

Syntax

  • Concatenate static strings:
    concat('String1', 'String2')
  • Concatenate with message body:
    concat(body, 'String')
  • Concatenate with message context:
    concat('String', context('MessageContextKey'))
  • Concatenate with another formula:
    concat(SomeOtherNestedFormulaFunction(Content), 'String')

Next Step

How to Add or manage Search Fields
How to Add or manage Log Views