/bulkexport/

List the bulk query export jobs and their information.

You use the /bulkexport/ endpoint to list information about the bulk export jobs that have been submitted. Access control for this endpoint is similar to /bulkexport/status but entries are filtered to only those jobs that satisfy all conditional constraints.

Request

The status endpoint requires no input values.

POST /bulkexport/

Request Example

A sample curl command to display the list of bulk export requests follows. This example shows values for the AWS region, and the ChaosSearch API key for authentication, and a query:

curl 'https://mycompany.chaossearch.com/bulkexport/' \
--aws-sigv4 "aws:amz:<region>:s3" --user "<API_Key>:<Secret>" \
  -H 'Content-Type: application/json' 

Response

The response is an array of values, one for each active export operation. The information includes the tracking UID for the bulk export, the timestamp that the export started, the view name against which the Elasticsearch query is running, and the user name that submitted the bulk query export.

[  
  {  
    "id": "{TRACKING UID}",  
    "queryName": "{UID or supplied name of export}",
    "time": "{....date and time query started....}",  
    "username": "{USERNAME}",
    "view": "{VIEW NAME}" 
  },  
  ...  
]

Example

[
   {
      "id":"954f7969-be36-4ed7-9a0e-47b6d106a014",
      "queryName":"954f7969-be36-4ed7-9a0e-47b6d106a014",
      "time":1695813767155,
      "username":"root",
      "view":"sample-elb-view"
   },
   {
      "id":"430a0dff-b0dc-428a-92ae-69adf26af69e",
      "queryName":"elb-export-discover",
      "time":1695814200837,
      "username":"root",
      "view":"sample-elb-view"
   },
   {
      "id":"b43a8b1a-13d6-41d0-8cdb-123dcd1a34c9",
      "queryName":"ui-elb-export-test",
      "time":1695816257549,
      "username":"root",
      "view":"sample-elb-view"
   },
   {
      "id":"b97dca74-5f40-47cd-8a96-f46a73b86c5f",
      "queryName":"nginx-view-export",
      "time":1695818412290,
      "username":"root",
      "view":"sample-nginx-view"
   }
]

RBAC Controls

To list and display information about the bulk export requests, your account must have permission to use the bulk export feature itself.

{  
  "Actions": [  
    "chaos:query:export:list"  
  ],  
  "Condition": {  
    "Conditions": [  
      {  
        "Equals": {  
          "chaos:owner/crn": "${chaos:principal/crn}"  
        }  
      }  
    ]  
  },  
  "Effect": "Allow",  
  "Resources": [  
    "*"  
  ],  
  "Version": "1.0"  
}

What’s Next