AWS¶
Login in to AWS as the root user¶
- Go to https://signin.aws.amazon.com/
- Click the Sign In to the Console button
- Choose the Root user sign in option
- Enter the root user email address
- Click the Next button
- Enter the root user password
- Click the Sign in button
- On the AWS Management Console page, find and click on Amazon OpenSearch Service
- You'll now be on the Amazon OpenSearch Service dashboard page
Access policy¶
Normally there should be no reason to every modify the access policy, but here is how to see it.
- Login in to AWS as the root user
- Click the
digitalarchive
domain on the Amazon OpenSearch Service dashboard page - Click on the Security configuration_ tab
Kibana¶
The examples in this section all use myindex
as the index name.
To use Kibana to view actual JSON for an AvantElasticsearch search, follow the steps to
execute Elasticsearch query in Kibana
Show mappings¶
GET /myindex/_mapping/_doc
Search¶
This example will return up to 2000 results.
GET myindex/_search
{
"query": {
"match_all": {}
} , "size": 2000
}
This example will return all items where the contributor Id is swhpl
.
GET acadia/_search
{
"query": {
"terms": {
"item.contributor-id": [
"swhpl"
]
}
}
}
Delete an index¶
DELETE /myindex
The response should be
{
"acknowledged" : true
}