This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Select the Output file name as field option on the Input Data tool to include the file name. I chose to use a CSV mode with separator set to \0 and with field names set to 0, but there are various ways to read it in.
A filter expression filtering out all but the Records added row via a regular expression. And then a RegEx tool in replace mode to extract just the number
If you expect things other than numbers then you will need to edit the (\d+) part of the expression.