The Siddhi files you create in the Stream Processor Studio are saved in the <SP_HOME>/wso2/editor/deployment/workspace
directory by default. If you want to save a Siddhi file in a different location, you can export it to thhe required location as explained below.
...