When you need to debug or audit your data flows, you can use the data provenance
view to trace how each flow file moved through your flow and what changes occurred at each
processor. Searching and filtering provenance events helps you identify the cause of
unexpected behavior or verify that data was processed correctly.
Data provenance provides a searchable historical record of every data object
(FlowFile) as it moves through your flow. It can help you debug and audit issues
with your flows by understanding the changes (events) that occurred to data as it
was being processed by each processor.
-
To view data provenance events in Flow Designer, go to
-
Find provenance events relevant to your use case.
-
To locate all events related to a component,
Search by component
name.
- You can filter for events by Event Type and
Component Type.
- To further narrow your search, click Advanced
search.
Advanced search allows you to include or
exclude the following types of properties from your search:
- Event Type
- FlowFile UUID
- Filename
- Component ID
- Relationship
You can also select the timeframe within which to search and the
size of the FlowFile using the following:
- Date Range
- Start Time
- End Time
- Minimum File Size
- Maximum File Size
- To clear all selected filtering options, click
Clear all.
-
You can directly access data provenance of a specific processor by right
clicking a processor and selecting
View Data
Provenance from the context menu.
-
To view event details click the
[Event Details] icon on
the right of an event row.
It opens the Provenance Event details pane that also
includes the Attributes and
Content sections.
The Attributes section shows the attributes that exist
on the FlowFile as of that point in the flow. To only view the attributes
that were modified as a result of the processing event, select the
Show modified attributes only checkbox.
The
Content section shows information about the
FlowFile’s content, such as its location in the Content Repository and its size.