-
Notifications
You must be signed in to change notification settings - Fork 75
Creating JSON output
SPADE includes support for sending all the provenance metadata from the SPADE kernel to a single file in JSON format.
To do this, add the JSON storage before sending provenance metadata (by adding a SPADE reporter):
-> add storage JSON output=/tmp/provenance.json
Adding storage JSON... done
At this point, any provenance metadata sent will result in corresponding elements in the /tmp/provenance.json
file. (Note that the file will be overwritten if it already existed.)
To stop further provenance metadata from being sent to the file, the JSON storage can be removed:
-> remove storage JSON
Shutting down storage JSON... done
This material is based upon work supported by the National Science Foundation under Grants OCI-0722068, IIS-1116414, and ACI-1547467. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
- Setting up SPADE
- Storing provenance
-
Collecting provenance
- Across the operating system
- Limiting collection to a part of the filesystem
- From an external application
- With compile-time instrumentation
- Using the reporting API
- Of transactions in the Bitcoin blockchain
- Filtering provenance
- Viewing provenance
-
Querying SPADE
- Illustrative example
- Transforming query responses
- Protecting query responses
- Miscellaneous