--- title: "Creating and running a new chain" slug: "creating-and-running-a-new-chain-2" tags: ["Install and Get Started", "NDR 4.x", "Customer", "Network Security"] updated: 2026-11-17T09:22:39Z published: 2026-11-17T09:22:39Z canonical: "docs.trellix.com/creating-and-running-a-new-chain-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating and running a new chain **To create and run a new chain:** > [!NOTE] > Note > > The stream is color-coded to indicate the direction of the data. You can filter the stream by direction and view the data in hex or ASCII format. ![UI_Tools_Protocol_Encode_ShowAs.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-472bb576-4d0c-58da-3ec1-23232fe42f3f(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A28%3A35Z&se=2026-11-19T13%3A28%3A35Z&sr=c&sp=r&sig=P%2BYcbRZv4%2F2QkGxAhb35aewh12%2B4xC4RE3YTB3coCzM%3D) ![UI_Tools_Protocol_Encode_Selection.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-17e67656-6d16-1f36-ba0a-722f4aef8610(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A28%3A35Z&se=2026-11-19T13%3A28%3A35Z&sr=c&sp=r&sig=P%2BYcbRZv4%2F2QkGxAhb35aewh12%2B4xC4RE3YTB3coCzM%3D) ![UI_Tools_Protocol_Encode_NewChain.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-bca2589b-21dc-c0a6-0bb3-1350c0d6593a(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A28%3A35Z&se=2026-11-19T13%3A28%3A35Z&sr=c&sp=r&sig=P%2BYcbRZv4%2F2QkGxAhb35aewh12%2B4xC4RE3YTB3coCzM%3D) ![UI_Tools_Protocol_Encode_Run.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-08e23e16-8626-6888-8220-59e459e88216(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A28%3A35Z&se=2026-11-19T13%3A28%3A35Z&sr=c&sp=r&sig=P%2BYcbRZv4%2F2QkGxAhb35aewh12%2B4xC4RE3YTB3coCzM%3D) 1. Click ![Main_menu.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0124baa3-4d5b-b290-686f-053b2ba4658f(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A28%3A35Z&se=2026-11-19T13%3A28%3A35Z&sr=c&sp=r&sig=P%2BYcbRZv4%2F2QkGxAhb35aewh12%2B4xC4RE3YTB3coCzM%3D) and from **INVESTIGATION**, select **Search**. 2. Enter a query in the Query bar and click the **search icon** to perform a search. 3. From the Event Table, click the checkbox next to one or more events you want to reconstruct. 4. Click the **Reconstruct** button at the top of the Event Table. The NDR pivot engine processes the events and displays the results on the Packets tab. 5. From the Packets tab, select an event from the Connections list to view all the packets associated with that event. 6. Click the Stream **Follow** link that is associated with the event you selected to view the connection stream. 7. From the Show data as menu, select **Hex Dump**. 8. Click **ENCODE/DECODE SELECTION** to open the connection stream in the Payload Encode/Decode window Input section. 9. Create a new chain by dragging and dropping the operations you want to run in the New Chain window. 10. Click **RUN** to start the new chain and apply it to the entire connection stream. You can run the new chain against the entire connection stream or highlight a section of the connection stream you want to run the new chain against.