# Unreal Insights CLI: How to export counter values to CSV? 

**URL:** <https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-counter-values-to-csv/2661731>\
**Category:** Programming & Scripting\
**Tags:** Unreal-Insights, unreal-engine, cli, question\
**Created:** [October 2, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-counter-values-to-csv/2661731 "2025-10-02T13:12:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyyiiy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyyiiy](https://forums.unrealengine.com/u/cyyiiy)\
**Post date:** [October 2, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-counter-values-to-csv/2661731/1 "2025-10-02T13:12:58Z")

</div>

I’m trying to export counter values of a `.utrace` capture to a `.csv` file, but all I get is an empty file.  
The command I use is:

```auto
UnrealInsights.exe
-OpenTraceFile="D:\UnrealProjects\ThirdPerson\Insights\Test.utrace"
-NoUI -log -AutoQuit
-ExecOnAnalysisCompleteCmd="TimingInsights.ExportCounterValues D:\InsightsExport\CounterValues.csv -counter=* -region=EXPORT_CAPTURE"

```

The `.utrace` capture is correctly analyzed, and the export command `TimingInsights.ExportCounterValues` is catch by Unreal Insights.  
I get this in the log:

```auto
[2025.09.30-08.07.51:313][184] Searching counters with name: "*"
[2025.09.30-08.07.51:313][184] Exporting values for 1988 counters...
[2025.09.30-08.07.51:313][184] Exporting counter: "STAT_TotalLLM" (id=0)
[2025.09.30-08.07.51:313][184]TraceInsights: Looking for regions: 'EXPORT_CAPTURE'
[2025.09.30-08.07.51:313][184]TraceInsights: Display: Detected 1 regions in 0.000s.
[2025.09.30-08.07.51:313][184]TraceInsights: Display: Exporting counter 0 for region 'EXPORT_CAPTURE' [194.809695 .. 198.719820] to 'D:\InsightsExport\CounterValues.csv'
[2025.09.30-08.07.51:325][184]TraceInsights: Exported counter 0 ("STAT_TotalLLM", 0 values) to file in 0.012s ("D:\InsightsExport\CounterValues.csv").
[2025.09.30-08.07.51:325][184]TraceInsights: Exported counter values for 1 regions in 0.012s.
[2025.09.30-08.07.51:325][184] Exporting counter: "STAT_TrackedTotalSummaryLLM" (id=1)
[2025.09.30-08.07.51:325][184]TraceInsights: Looking for regions: 'EXPORT_CAPTURE'
[2025.09.30-08.07.51:325][184]TraceInsights: Display: Detected 1 regions in 0.000s.
[2025.09.30-08.07.51:325][184]TraceInsights: Display: Exporting counter 1 for region 'EXPORT_CAPTURE' [194.809695 .. 198.719820] to 'D:\InsightsExport\CounterValues.csv'
[2025.09.30-08.07.51:329][184]TraceInsights: Exported counter 1 ("STAT_TrackedTotalSummaryLLM", 0 values) to file in 0.005s ("D:\InsightsExport\CounterValues.csv").
[2025.09.30-08.07.51:329][184]TraceInsights: Exported counter values for 1 regions in 0.005s.
...

```

But the resulting `.csv` file is empty. I also tried removing the `-region`, but I get the same result.

Is this a known issue that this command doesn’t work, or am I doing something wrong?  
The capture has been made and analyzed with Unreal 5.6.1.
