- Create a drain to start exporting workflow logs, audit events, and copilot data to S3 or
- your own webhook.
+
+ {drainsError ? (
+
+ Failed to load data drains: {toError(drainsError).message}
+
+ ) : drains && drains.length > 0 ? (
+ filteredDrains.length > 0 ? (
+
+
+
+ Name
+ Source
+ Destination
+ Cadence
+ Last run
+ Enabled
+
+
+
+
+ {filteredDrains.map((drain) => (
+
+ setExpandedDrainId(expandedDrainId === drain.id ? null : drain.id)
+ }
+ />
+ ))}
+
+
+ ) : (
+
+ No results for "{searchTerm.trim()}"
+
+ )
+ ) : (
+
+ Click "New drain" above to get started
-
- )}
+ )}
+