|
This article covers the following: |
Overview
Audit lists the events recorded for a feature flag report in real time, so you can check a rule right after launch without waiting for reporting data.
This article outlines how to access Audit in Feature Management, read the list for each report type, verify a rule step by step, and manage the event stream. It also explains how Audit retains data, who can use it, and how to troubleshoot common issues. For more information on what Audit is and how it fits into the feature flag lifecycle, see Introduction to Audit in Feature Management.
Prerequisites
- A feature flag with at least one rule that has a Running status.
- Access to the website or app where the feature flag runs, so you can trigger events yourself.
Access Audit in Feature Management
Audit is available in the Reports tab for a feature flag with a running rule. Follow these steps to access it:
- From the left panel on your dashboard, go to Feature Management, then select Feature Flags.
- Open the feature flag you want to check. Ensure that the rule and the environment is toggled on.
- Click View Report and verify that the rule is running.
A Rule running indicator appears in the top right corner. - Navigate to the Reports tab.
- In the left sidebar, go to the Audit tab adjacent to Metrics. It appears below the list of metrics.
The Audit page displays a LIVE badge next to Report: Audit, which indicates that it is receiving events in real time. Until the first event is recorded, the list shows Waiting for incoming events.... To generate events, you can interact with your website or application where the feature flag is running.
Interpret the Audit List
Each row on the Audit page is one event. The newest events appear at the top.
Feature Management has four report types: Rollout, Experimentation, Personalization, and Multivariate. The columns on the Audit page depend on the report you open.
See the table below for more details:
| Report type | Columns | What to expect |
| Rollout | Time/Date, Visitor ID, Rule name, Event | One rollout report can hold many rules, so each row names the rule the event belongs to. |
| Experimentation | Time/Date, Visitor ID, Variation, Event | Each testing rule has its own report. VariationShown rows show the variation the visitor was assigned to. |
|
Experimentation |
Time/Date, Visitor ID, Variation, Event | When Impact Analysis is enabled for a rule, Audit displays the same columns as it does for a testing rule. The variations are predefined as Flag On and Flag Off, instead of variations you define. |
| Personalization | Time/Date, Visitor ID, Rule name, Variation, Event | One personalization report can hold many rules, and each rule is linked to a variation. Both appear in the row. |
| Multivariate | Time/Date, Visitor ID, Combination, Event | Works like a testing rule. The variation is the combination the visitor sees. |
Here is what each column displays:
| Column | What it displays |
| Time/Date | When the event happened |
| Visitor ID | The visitor who triggered the event |
|
Rule name (only in Rollout and Personalization reports) |
The rule the event belongs to |
| Variation | The variation the visitor was assigned to, such as Default, Variation 1, Flag On, or Flag Off (Experimentation, Experimentation (Impact Analysis enabled), and Personalization reports) |
|
Combination (only in Multivariate reports) |
The combination of variations the visitor was assigned to |
| Event | The name of the event, such as VariationShown, syncVisitorProp, or an event created in Data Platform, such as E1 |
Events You Can Expect to View
| Event | What it means |
| VariationShown | Recorded when a visitor is assigned to a rule or variation. It shows the rule or variation, and it never shows a dash. |
| Events created in Data Platform | The events of the metrics connected to the feature flag. They show a dash in the Rule name or Variation column. |
| syncVisitorProp | Recorded when visitor properties are synced for a visitor. |
A dash appears for metric events in every report type. When your SDK records a metric event, it does not know which campaign the event belongs to, so the dashboard has nothing to link it to. The dash shows in Rule name for Rollout, Variation for Experimentation, Combinations for Multivariate, and in both Rule name and Variation columns for Personalization.
When this happens, keep the following points in mind:
- A dash does not mean the event was lost. The event was recorded and is listed.
- A dash appears for all metric events, in every rule and every feature flag.
- VariationShown never shows a dash, because the variation a visitor is assigned to is always known.
Use Audit to Verify Your Feature Flag
After you launch or change a rule, Audit shows whether it works as expected. Within seconds, you can confirm that your application evaluates the rule, assigns visitors to the right variations, and sends the correct data in each event’s payload. This lets you catch setup problems before you rely on reports. Use the following steps to check your setup.
Step 1: Prepare a clean list
Start with an empty list so that every row you see comes from your test.
- Open the Audit page of the feature flag report.
- Click Clear data.
Step 2: Trigger the event
Audit lists events as they are recorded, so generate some traffic on your website or application before you check the list. To generate traffic:
- Open your website or app in a separate browser tab or on another device.
- Go to the page or screen that runs your feature flag.
- Perform the actions you want to check, such as adding an item to a cart or clicking a button.
- Return to the Audit page.
Note:
- Visitor IDs are generated automatically and cannot be matched to your own session. To find your test events, click Clear data before you test, and test in a low-traffic environment such as staging.
- Audit cannot simulate a specific audience. It shows only what is recorded for the visitors who become a part of the rule.
Step 3: Confirm the visitor was bucketed
- Locate the variationShown row. It appears when a visitor is placed in the flag.
- Read the Variation column (or Rule name in a Rollout report) to see where the visitor landed.
Step 4: Confirm your events are triggered
- Compare the list with the events you expect to see.
- Check that each expected event appears after you perform the action.
- Check that the Variation or Rule name on each row is what you expect.
Best Practices
Follow these practices to get reliable results when you check a feature flag with Audit.
-
Clear the list before each test.
A clean list makes it easier to view which rows came from your test.
-
Test in a low-traffic environment.
Audit shows all traffic for the environment, so Staging or Dev gives you a quieter list.
-
Use a checklist.
Write down the events you expect before you start, and tick them off as they appear.
-
Check attribution on VariationShown rows.
A VariationShown row shows the rule or variation a visitor was assigned to. Metric events show a dash, so use the feature flag report to review how they are attributed.
-
Use the payload to check an event.
The payload shows the complete data recorded with the event.
-
Verify again after every change.
Editing a rule or an audience can change which rule or variation a visitor is assigned to.
Manage the Event Stream
Audit includes four controls that help you work with the event list: filtering, viewing payloads, pausing, and clearing. Use them to find specific events, inspect event details, read the list without interruption, and test with a clean list. The controls affect only what the Audit page displays. They do not change your feature flag or its rules.
Filter events
Searching narrows the list to the events that match your text. This is useful when your application records many events, and you need to find a specific event or rule.
To filter the list:
- Click the search field above the list.
- Enter an event name, or the name of a rule, variation, or combination, depending on the report.
The list shows only the matching rows. Clear the text to see all events again.
View the payload of an event
The payload is the complete set of data recorded with an event. Review it when a row looks incorrect, or when you need to check the properties of an event, such as the values that were passed with it.
To view the payload of a specific event:
- Find the event in the list.
- Click the code icon at the end of the row.
The complete payload opens for that event. Compare it with the values you expect. If a value is missing or incorrect, correct the event in your implementation and trigger it again to confirm the fix.
Pause and resume streaming
New events are added to the top of the list as they are recorded, which can push the rows you are reading out of view when traffic is high. Pausing holds the list still so that you can review rows, compare values, or open payloads without interruption.
To pause streaming:
- Click Pause streaming. The status badge next to Report: Audit changes to PAUSED, and the list stops updating.
- Review the rows you need.
- Click Resume streaming to continue.
Clear data
Clearing removes the events currently listed on the page. Clear the list before a test so that every row you see comes from that test, and older rows do not cause confusion.
Note:
- Clearing removes the events from your view only. Other users’ views are not affected.
- Cleared events cannot be retrieved.
To clear the list:
- Click Clear data.
- Trigger the event again on your website or app.
- Check the new row.
Troubleshooting
| Issue | Possible Cause | Recommended Solution |
| The list shows Waiting for incoming events.... | No event has been recorded yet for this rule and environment. | Trigger an event on your website or application, and confirm that you are checking in the correct environment. |
| An expected event does not appear. |
|
Clear the search field, check that the event is connected as a metric, and confirm the environment. |
| The list stopped updating. | Streaming is paused. | Click Resume streaming. |
| Older events are missing. | Audit does not retain history, and Clear data removes the list. | Trigger the events again, or use the report to review results. |
FAQs
-
How is Audit in a feature flag report different from Audit under Data Platform?
The Data Platform page lists all events across your account. Audit in a feature flag report lists only that flag’s events, so you can check one flag directly. You do not have to filter through account-wide activity to locate the information that you need.
-
Can I see events from before I opened Audit?
Audit lists events as they stream and is not a historical log. Use the feature flag report to review past results.
-
Does Audit use my event quota?
No. Using Audit does not add to your quota. It reads events that are already being sent for the feature flag.
Need more help?
For more information or further assistance, contact Wingify Support.