Create a JSON file with the required details. For a sample file, refer to JSON File Content Example.
Important: The file name must begin with historian.
If you want to use tuner securely:
Generate a bearer token.
Tip: To generate a token, you can use POSTMAN or run the following command in an Ubuntu machine: curl -u <username>:<password> -d 'grant_type=client_credentials' https://<predix uaa instance>/bearer/token
Run the following command: curl -H 'Authorization:Bearer <token>' -F 'uploadFile=@<absolute path of the JSON file>' http://<IP address of the Predix Edge device:9000/upload
If you do not want to use tuner securely, run the following command: curl -F 'uploadFile=@<absolute path of the JSON file>' http://<IP address of the Predix Edge device:9000/upload