Makes an extra copy of the event, thus the next step in the pipeline will see both events. This is mostly useful in the parser pipeline.

For On-Prem deployments only: If you are using this function to copy an event to another repository, the ALLOW_CHANGE_REPO_ON_EVENTS environment variable must be set to true.

ParameterTypeRequiredDefault ValueDescription
type[a]stringrequired   The value for #type for the copy.

[a] The parameter name type can be omitted.

Hide omitted argument names for this function

Show omitted argument names for this function

copyEvent() Examples

Click + next to an example below to get the full details.

Make Copy of Events

Make an extra copy of the event to be parsed along with the original event using the copyEvent() function

Make Copy of Events from One Repo to Another Repo

Use one parser to ingest data into multiple repositories