--- title: "Select Tail File data source collection method" slug: "select-tail-file-data-source-collection-method" tags: ["ESM", "Reference"] updated: 2026-10-27T15:50:33Z published: 2026-10-27T15:50:33Z canonical: "docs.trellix.com/select-tail-file-data-source-collection-method" --- > ## 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. # Select Tail File data source collection method When adding data sources, you must choose a collection method if you select **NFS File Source** or **CIFS File Source** for data retrieval. Collection methods are: - **Copy files** — The system copies whole logs from the remote share to the Receiver to be processed. If log files are large and updated with new information infrequently, copying the whole log file can be inefficient and time consuming. - **Tail files** — Logs are read remotely and only new events are read. Each time the log is read, it reads from the position where it stopped previously. If the file changes significantly, this is detected and the whole file is reread from the beginning. 1. From the Trellix ESM dashboard, click ![image3.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-2a0ff5e5-28ee-6a33-50e2-2d90d75ce8fd(2).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A44%3A22Z&se=2026-11-22T15%3A44%3A22Z&sr=c&sp=r&sig=YJ05gU3xtekuDZ11%2BVW5XrZifSU9N7SnE%2F0HxMZesPE%3D) and select **More Settings**. 2. On the system navigation tree, select the receiver, then click ![image4.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-af53f9c8-180f-6773-cc8e-13f44a0b9563(2).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A44%3A22Z&se=2026-11-22T15%3A44%3A22Z&sr=c&sp=r&sig=YJ05gU3xtekuDZ11%2BVW5XrZifSU9N7SnE%2F0HxMZesPE%3D). 3. Click the **Add data source** icon ![image5.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-a9c51143-f2e0-2ad4-2363-f70f8ef86027(2).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A44%3A22Z&se=2026-11-22T15%3A44%3A22Z&sr=c&sp=r&sig=YJ05gU3xtekuDZ11%2BVW5XrZifSU9N7SnE%2F0HxMZesPE%3D) on the actions toolbar. 4. Provide the information requested, selecting **CIFS File Source** or **NFS File Source** in the **Data Retrieval** field. 5. In the **Collection Method** field, select **Tail File(s)**, then fill in these fields: - **Delimited Multiline Events** — Select to specify if the events have dynamic length. - **Event Delimiter** — Enter a string of characters that signal the end of an event and the beginning of another. These delimiters vary greatly and depend on the type of log file. - **Delimiter is regex** — Select if the value in the Event Delimiter field is to be parsed as a regular expression rather than a static value. - **Tail Mode** — Select Beginning to parse files completely that are encountered on the first run, or End to note the file size and collect only new events. - **Recurse subdirectories** — Select to read collection from child directories (subdirectories), looking for matches with the wildcard expression field. If not selected, it searches only the parent directory files. 6. Fill in remaining fields, then click **OK**. :