Elasticsearch Case Subset
This example creates an Elasticsearch case subset of all *.html files from an existing case.
3 minute read
Example Scripts
|
|
|
|
|
|
Example Request
curl --location --request PUT 'http://localhost:8080/nuix-restful-service/svc/v1/cases/ab490af89d29460db0011f105ce6a340/userScripts' \
--header 'nuix-auth-token: YOUR_AUTH_TOKEN' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"fileName": "ElasticsearchCaseSubset.rb",
"language": "RUBY",
"async": false
}'
wget --no-check-certificate --quiet \
--method PUT \
--timeout=0 \
--header 'nuix-auth-token: YOUR_AUTH_TOKEN' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--body-data '{
"fileName": "ElasticsearchCaseSubset.rb",
"language": "RUBY",
"async": false
}' \
'http://localhost:8080/nuix-restful-service/svc/v1/cases/ab490af89d29460db0011f105ce6a340/userScripts'
Feedback
Was this page helpful?
Thank you for your feedback.
Thank you for your feedback.