none
Splitting of ETL files RRS feed

  • Question

  • From Existing ETL file, Is it possible to split ETL file in to multiple ETL files, based on specified time period? or export to another etl file for a time range.

    My captures are too big to copy, split the file would help a lot

    I know i can out to a CSV file but etl->out would be really helpful.


    KP


    • Edited by Kiran Prabhu Friday, April 17, 2015 9:16 AM typo errors
    Friday, April 17, 2015 6:26 AM

All replies

  • Yes you can do this

    You need to use the nuget package TraceEvent Library

    With its ETWRelogger class you can filter and rewrite etl files.

    using (var relogger = new ETWReloggerTraceEventSource(@"C:\Temp\HTTP_Server.etl", @"C:\Temp\HTTP_Server_output.etl"))
                {
                    relogger.AllEvents += delegate (TraceEvent data)
                    {
                        //Console.WriteLine("Unknown Event " + data);
                        relogger.WriteEvent(data);
                    };
                    relogger.Process();
                }


    Saturday, October 8, 2016 5:57 PM