1. Palo Alto Networks, Cortex XSIAM Administrator's Guide. "Parsing Rules". The documentation outlines the structure of a parsing rule, showing that the XQL query within the rule concludes with the collect stage. It states, "The collect stage is the last stage in the query and is used to ingest the data into a new dataset." This confirms that COLLECT is the section responsible for defining the target dataset.
2. Palo Alto Networks, XQL Language Reference. "collect". This reference details the collect stage, explaining its syntax: collect into (vendor=, product=, format=). This syntax directly demonstrates that the collect command is used to specify and define the new dataset for ingestion.