Analyzing messages for OpenSearch Service destinations
This page describes how to analyze Amazon SNS messages sent through Amazon Kinesis Data Firehose delivery streams to Amazon OpenSearch Service (OpenSearch Service) destinations.
To analyze SNS messages sent through Kinesis Data Firehose delivery streams to OpenSearch Service destinations
-
Configure your OpenSearch Service resources. For instructions, see Getting Started with Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
-
Configure your delivery stream. For instructions, see Choose OpenSearch Service for Your Destination in the Amazon Kinesis Data Firehose Developer Guide.
-
Run a query using OpenSearch Service queries and Kibana. For more information, see Step 3: Search Documents in an OpenSearch Service Domain and Kibana in the Amazon OpenSearch Service Developer Guide.
Example query
The following example queries the my-index
index for all SNS messages received in the specified date
range:
POST https://search-my-domain.us-east-1.es.amazonaws.com/my-index/_search { "query": { "bool": { "filter": [ { "range": { "Timestamp": { "gte": "2020-12-08T00:00:00.000Z", "lte": "2020-12-09T00:00:00.000Z", "format": "strict_date_optional_time" } } } ] } } }