> For the complete documentation index, see [llms.txt](https://docs.fortifiedid.se/pipes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fortifiedid.se/pipes/valves/cef-event.md).

# Cef event

## Configuration

{% hint style="info" %}
**Valve name:** `CefEvent`
{% endhint %}

{% tabs %}
{% tab title="Properties" %}

<table><thead><tr><th width="173">Name</th><th width="233">Description</th><th width="212">Default value</th><th width="133" data-type="checkbox">Mandatory</th><th width="119" data-type="checkbox">Expanded</th></tr></thead><tbody><tr><td><code>event_id</code></td><td>The event id to be logged</td><td><code>"PIPE_5593698771"</code></td><td>false</td><td>false</td></tr><tr><td><code>event_text</code></td><td>Descriptive text to be logged</td><td><code>"Fortified ID"</code></td><td>false</td><td>false</td></tr><tr><td><code>event_level</code></td><td>Log level. </td><td><code>"INFO"</code></td><td>false</td><td>false</td></tr><tr><td><code>cef_data</code></td><td>Array of key value pairs where dynamic data may be inserted</td><td>N/A</td><td>false</td><td>true</td></tr></tbody></table>

{% endtab %}

{% tab title="Example" %}

```json
{
	"name": "CefEvent",
	"config": {
		"cef_data": [{
			"param_name": "MESSAGE",
			"param_value": "This is my event"
		}]
	}
}
```

{% endtab %}
{% endtabs %}

### cef\_data key value pairs configuration

Each JsonObject require two keys:

* param\_name - the name of the key
* param\_value -  the value.

{% hint style="warning" %}
param\_value supports expansion but not over items.&#x20;
{% endhint %}

### Allowed param\_names

* DESTINATION\_ADDRESS
* DESTINATION\_HOST\_NAME
* &#x20;DESTINATION\_PORT
* DESTINATION\_USER\_NAME
* &#x20;DESTINATION\_SERVICE\_NAME
* &#x20;SOURCE\_SERVICE\_NAME
* &#x20;TRANSPORT\_PROTOCOL
* &#x20;REQUEST\_URL
* &#x20;REQUEST\_CLIENT\_APPLICATION
* &#x20;REQUEST\_COOKIES
* REQUEST\_METHOD
* SOURCE\_ADDRESS
* &#x20;CUSTOMER\_IDENTIFIER
* &#x20;SOURCE\_HOST\_NAME
* SOURCE\_PORT
* &#x20;SOURCE\_USER\_NAME
* &#x20;MESSAGE

### Message example

> INFO: 2023-01-26T16:20:26.527118Z saturnus CEF:0|Fortified ID|Pipes|latest-SNAPSHOT|PIPE\_5593698771|Fortified ID|1|msg=Custom message traceID=H2foLPth
