User283571144 posted
Hi amansahu7879,
As far as I know, there is no build-in feature in steam analysis to generate the two special output files.
The only way to achieve your requirement is using azure function.
You could set your stream analysis to send the data to azure function.
Then you could write some codes in azure function to let the azure function generate the different type of the file and save it into the stroage or something else.
More details about how to run Azure Functions from Azure Stream Analytics jobs, you could refer to below article:
https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-with-azure-functions
Best Regards,
Brando