Skip to content

Creating JSON output

Ashish Gehani edited this page Aug 24, 2022 · 1 revision

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
Clone this wiki locally