Access the OpenSearch Service dashboard
The solution sends the metadata to OpenSearch Service. The solution provides a proxy to access the OpenSearch Service dashboard. To access the proxy securely, the solution uses AWS Systems Manager and tunnel to the instance and leverage port-forwarding to the dashboard.
Note
To use this feature, you must have the AWS Systems Manager CLI extension installed.
Complete the following instructions to access the OpenSearch Service dashboard.
-
Obtain the proxy instance name, either by using the AWS Management Console or the AWS CLI.
-
Using the AWS Management Console:*
-
Sign in to the Amazon EC2 console
. -
Choose Instances from the navigation menu.
-
Find and copy the instance name that starts with addf-aws-solutions.
-
Using the AWS CLI:
+
$ aws ec2 describe-instances \ --filter "Name=tag:Name,Values=addf-aws-solutions-integration- opensearch-tunnel/OSTunnel" \ --query "Reservations[].Instances[?State.Name == 'running'].InstanceId[]" \ --output text
-
-
Establish a tunnel by using the AWS CLI. This solution defaults the port to
3333
.The following is an example where you replace
<instance-name>
with the instance name:$ aws ssm start-session --target <instance-name> \ --document-name AWS-StartPortForwardingSession \ --parameters '{"portNumber": ["3333"], "localPortNumber": ["3333"]}'
The following is an example where the instance name is
i-123456789c45166cb
:$ aws ssm start-session --target i-123456789c45166cb \ --document-name AWS-StartPortForwardingSession \ --parameters '{"portNumber": ["3333"], "localPortNumber": ["3333"]}'
-
Use the following URL to open the dashboard: http://localhost:3333/_dashboards
. This securely tunnels to the OpenSearch Service dashboard. -
Add a new filter to discover your data. The partitions begin with
rosbag
, so we recommend selectingrosbag-*
as a starting filter.
Example OpenSearch dashboard displaying indexed roasbag data.
