From bcb7dacb99477a27316c1f3c4a132868a614d9f2 Mon Sep 17 00:00:00 2001 From: Ashton Huxtable <78318468+ashton-huxtable@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:12:54 -0600 Subject: [PATCH 1/2] Add FAQ on omitted properties --- src/protocols/faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/protocols/faq.md b/src/protocols/faq.md index d91b5cdb6e..fedfe06638 100644 --- a/src/protocols/faq.md +++ b/src/protocols/faq.md @@ -148,6 +148,10 @@ That being said, there are plenty of scenarios where the reactive Schema functio Blocked events are blocked from sending to all Segment Destinations, including warehouses and streaming Destinations. When an Event is blocked using a Tracking Plan, it does not count towards your MTU limit. They will, however, count toward your MTU limit if you enable [blocked event forwarding](/docs/protocols/enforce/forward-blocked-events/) in your Source settings. +### If I omit unplanned properties or properties that generate JSON schema violations, what happens to them? + +Properties that are omitted due to JSON Schema Violations or being unplanned are not stored in Segment logs. Segment only stores fully blocked events for 30 days. Omitted properties are dropped from the events and can only be found in the `context.violations` object of an event payload. If Violations are forwarded to a new source, then the omitted properties can also be seen in the Violation Generated event under `violationField` in the `properties` object of the event. + ### Why am I seeing unplanned properties/traits in the payload when violations are triggered, despite using schema controls to omit them? If you're seeing unplanned properties/traits in your payload despite using Schema Controls, you might want to select a new degree of blocking controls. From 941a536c548d88dd071319564a406c955b13dd3c Mon Sep 17 00:00:00 2001 From: forstisabella <92472883+forstisabella@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:00:13 -0500 Subject: [PATCH 2/2] Update src/protocols/faq.md --- src/protocols/faq.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/protocols/faq.md b/src/protocols/faq.md index fedfe06638..42c0c54683 100644 --- a/src/protocols/faq.md +++ b/src/protocols/faq.md @@ -150,7 +150,9 @@ Blocked events are blocked from sending to all Segment Destinations, including w ### If I omit unplanned properties or properties that generate JSON schema violations, what happens to them? -Properties that are omitted due to JSON Schema Violations or being unplanned are not stored in Segment logs. Segment only stores fully blocked events for 30 days. Omitted properties are dropped from the events and can only be found in the `context.violations` object of an event payload. If Violations are forwarded to a new source, then the omitted properties can also be seen in the Violation Generated event under `violationField` in the `properties` object of the event. +Segment doesn't store unplanned properties and properties omitted due to JSON Schema Violations in Segment logs. Segment drops omitted properties from the events. You can find the omitted properties in the `context.violations` object of an event payload. If you forward Violations to a new source, then you can also see the omitted properties in the Violation Generated event under `violationField` in the `properties` object. + +Segment only stores fully blocked events for 30 days. ### Why am I seeing unplanned properties/traits in the payload when violations are triggered, despite using schema controls to omit them?