Manage traffic analysis metadata
API
- Retrieve information about the stored metadata
- Path:
/metadata
- Method:
GET
- Response:
json { "size": 3482904 }
- Notes: accumulates metadata from the consumers flow-tracker and pcap-processor:
- sends request to flow-tracker
GET /v1/metadata
(flow-tracker/metadata.html
)
- sends request to pcap-processor
GET /metadata
(IOTA Edge system only)
- Clean metadata in time range
- Path:
/metadata
- Method:
DELETE
- Arguments:
- URL parameters :
start_ts
- beginning of time range of metadata cleanup, epoch in nsec
end_ts
- end of time range of metadata cleanup, epoch in nsec
- Notes:
- deletion is asynchronous
- if neither of the arguments is specified, all metadata is removed
- if at least one of the two arguments <
start_ts
, end_ts
> is specified, the other also must be specified
- sends request to flow-tracker
DELETE /v1/metadata/range
(flow-tracker/metadata.html
)
- sends request to pcap-processor
DELETE /metadata/range
(IOTA Edge system only)
- Restrictions
- only a single range, delete all operation can run at the same time
- the device must not be capturing
- the automatic cleanup must not be in progress
- Clean all metadata
- Path:
/metadata
- Method:
DELETE
- Notes:
- deletion is asynchronous
- sends request to flow-tracker
DELETE /v1/metadata/all
(flow-tracker/metadata.html
)
- sends request to pcap-processor
DELETE /metadata/all
(IOTA Edge system only)
- Restrictions
- only a single range, delete all operation can run at the same time
- the device must not be capturing
- the automatic cleanup must not be in progress
Back to Index