-
Notifications
You must be signed in to change notification settings - Fork 90
Local Tutorial Outputs to disk
Dinesh Chandnani edited this page Apr 15, 2019
·
12 revisions
The output tab let's you configure outputs to route data to.
In this tutorial, you'll learn to:
- Add an output location
- Write data to this output location
- Open your Flow
- Open the Output Tab to configure an output and select Add 'Local'
- For Alias, input "myOutput"; this is how the output will be referred to throughout the Flow,
- For folder, you can input '/myOutput'; this is the folder data will go to within the docker container
- Format will be JSON
- You can decide to use GZIP compression or none as well
- Go back to the Query tab and input a new OUTPUT statement at the end:
OUTPUT extendedTemperature TO myOutput;
- Click Deploy.
You have connected the Flow to a new output.
You can view files within a container by statrting a bash session inside the container. This is useful to view output in case you have that specified in your flow. You can cd into the folder you specified when adding a local output location, say, Local Folder URI (e.g. /app/aspnetcore/output)
- If you wish to view data from output
docker exec -it dataxlocal /bin/bash
- View the contents of a folder
ls
- Navigate to a particular folder
cd <folder name>
- View the contents of a file
cat <filename>