# Why Are CloudTrail Logs Missing When Exporting Visualizations with Mixed File-based and Database Data Sources?

**URL:** <https://community.amazonquick.com/t/why-are-cloudtrail-logs-missing-when-exporting-visualizations-with-mixed-file-based-and-database-data-sources/51589>\
**Category:** Q&A\
**Tags:** admin, export, data-export\
**Created:** [February 23, 2026, 4:00pm UTC](https://community.amazonquick.com/t/why-are-cloudtrail-logs-missing-when-exporting-visualizations-with-mixed-file-based-and-database-data-sources/51589 "2026-02-23T16:00:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suny](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@suny](https://community.amazonquick.com/u/suny)\
**Post date:** [February 23, 2026, 4:00pm UTC](https://community.amazonquick.com/t/why-are-cloudtrail-logs-missing-when-exporting-visualizations-with-mixed-file-based-and-database-data-sources/51589/1 "2026-02-23T16:00:07Z")

</div>

Hello everyone,

I’m investigating a CloudTrail logging behavior in QuickSight and would appreciate any insights from the community.

### **Background**

I’m working on implementing a security audit capability to track and monitor data export activities in QuickSight. During my investigation, I’ve identified the following CloudTrail logging behavior:

**Current Understanding:**

- **File-based data source exports** : No API calls are made → No CloudTrail logs generated

- **Database data source exports** : API calls are made → CloudTrail logs generated (visible in CloudTrail with eventName: “QueryDatabase” and queryIntent: “EXPORT\_TO\_CSV” or “EXPORT\_TO\_EXCEL”)

**Unexpected Behavior:** When exporting a visualization (dashboard/analysis) that **combines both file-based and database data sources** , I expected API calls to be made for the database data source portion, which should generate CloudTrail logs. However, **no CloudTrail logs are generated at all** in this scenario.

### **Questions**

1. **What is the underlying mechanism** that prevents CloudTrail log generation when exporting visualizations that combine both file-based and database data sources? Why doesn’t the database portion trigger API calls as it would in a standalone database export?

2. **Can anyone explain the behavior for both scenarios:**

3. **Is there any workaround available** to accurately track and monitor data export activities for information security purposes in this situation?

Any guidance or insights would be greatly appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![WLS-Luis](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/wls-luis/32/36723_2.png) [@WLS-Luis](https://community.amazonquick.com/u/WLS-Luis)\
**Post date:** [February 23, 2026, 11:08pm UTC](https://community.amazonquick.com/t/why-are-cloudtrail-logs-missing-when-exporting-visualizations-with-mixed-file-based-and-database-data-sources/51589/2 "2026-02-23T23:08:10Z")

</div>

Hi @suny,

Welcome to the Quick Community! That is definitely some interesting behavior, and am curious as well if this is intended behavior or some error when it comes to combining the two. I would definitely recommend [creating a support ticket](https://docs.aws.amazon.com/awssupport/latest/user/case-management.html) with AWS Support, as they will be able to better confirm this behavior and potentially help you find a solution for your use case.

Thank you!

---

<div class="post-metadata">

**Author:** ![JacobR](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/jacobr/32/37779_2.png) [@JacobR](https://community.amazonquick.com/u/JacobR)\
**Post date:** [March 19, 2026, 3:25pm UTC](https://community.amazonquick.com/t/why-are-cloudtrail-logs-missing-when-exporting-visualizations-with-mixed-file-based-and-database-data-sources/51589/3 "2026-03-19T15:25:23Z")

</div>

Hi @suny,

Just checking back in since we haven’t heard from you in a bit. I wanted to see if the guidance shared earlier helped resolve your question, or if you found a solution in the meantime.

If you still have any additional questions related to your initial post, feel free to share them. Otherwise, any update you’re able to provide within the next 3 business days would be helpful for the community.

Thank you

---

<div class="post-metadata">

**Author:** ![JacobR](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/jacobr/32/37779_2.png) [@JacobR](https://community.amazonquick.com/u/JacobR)\
**Post date:** [March 24, 2026, 3:12pm UTC](https://community.amazonquick.com/t/why-are-cloudtrail-logs-missing-when-exporting-visualizations-with-mixed-file-based-and-database-data-sources/51589/4 "2026-03-24T15:12:27Z")

</div>

Hi @suny ,

Since I haven’t received any further updates from you, I’ll treat this inquiry as complete for now. If you have any additional questions, feel free to create a new post in the community and link this discussion for context.

Thank you
