The Generic Extract Rest API provides an interface that enables you to perform a generic extract.
...
Execute Generic Extract Request
To generate an extract request:
- To generate an extract, send a POST request
...
...
- extract.
- Set query parameters in JSON format as a request body as shown below.
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X POST -d @requestBody.json "http://host:port/eagle/v2/generic/extract" requstBody.json content: { "extractParameters": [ { "name":"maxrows", "value":"1" },{ "name":"OutputFormat", "value":"JSON" } ], "extracts": [ { "name":"ENTITYEXTRACT" }, { "name":"SMFEXTRACT" } ] } |
In
...
response,
...
you
...
receive
...
a
...
ZIP
...
archive
...
with
...
the
...
extract
...
files
...
in
...
TSR
...
or
...
JSON
...
format
...
in
...
the
...
event
...
that
...
no
...
data
...
was
...
extracted
...
or
...
errors
...
occurred.