locked
can we output two files using stream analytics RRS feed

  • Question

  • User1497591292 posted

    Hello,

    I want to convert live streaming Json data to csv,and i want to append previous data to next data.also i want to create two output files,1st containing the current data and second containing all the records. is it possible in stream analytics if yes please support your answer.

    Wednesday, September 25, 2019 6:33 AM

All replies

  • 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

    Thursday, September 26, 2019 5:29 AM