From 3c3e673c6a8505ca0618be101f43479c35382f90 Mon Sep 17 00:00:00 2001 From: aravind-musigumpula Date: Mon, 4 Mar 2024 10:46:36 +0530 Subject: [PATCH 1/2] add aggregated data to alert --- .python-version | 2 +- elastalert/alerts.py | 12 + elastalert/elastalert.py | 92 +- elastalert/loaders.py | 19 +- log.log | 49702 ++++++++++++++++++++++++++++ output.yaml | 25 + test.py | 30 + test.yaml | 23 + test/config.yaml | 131 + test/rules/example_frequency.yaml | 44 + 10 files changed, 50077 insertions(+), 3 deletions(-) create mode 100644 log.log create mode 100644 output.yaml create mode 100644 test.py create mode 100644 test.yaml create mode 100644 test/config.yaml create mode 100755 test/rules/example_frequency.yaml diff --git a/.python-version b/.python-version index 2c0733315..9f3d4c178 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.11 +3.9.16 diff --git a/elastalert/alerts.py b/elastalert/alerts.py index 1d0dd60d4..cb53c51c2 100644 --- a/elastalert/alerts.py +++ b/elastalert/alerts.py @@ -88,6 +88,16 @@ def _add_top_counts(self): self.text += '%s: %s\n' % (term, count) self.text += '\n' + def _add_aggregated_data(self): + if 'aggregated_data' in self.match: + list_of_tuples = self.match.get('aggregated_data', []) + for _tuple in list_of_tuples: + print("handling tuple: "+_tuple) + for item in _tuple: + print("item : "+item) + self.text += item + ',' + self.text += "\n" + self.text += '\n' def _add_match_items(self): match_items = list(self.match.items()) @@ -124,6 +134,8 @@ def __str__(self): self._ensure_new_line() if self.rule.get('top_count_keys'): self._add_top_counts() + if self.rule.get('agregated_keys'): + self._add_aggregated_data() if self.rule.get('alert_text_type') != 'exclude_fields': self._add_match_items() return self.text diff --git a/elastalert/elastalert.py b/elastalert/elastalert.py index 5d968fdb3..460ff9fcb 100755 --- a/elastalert/elastalert.py +++ b/elastalert/elastalert.py @@ -281,7 +281,9 @@ def get_aggregation_query(self, query, rule, query_key, terms_size, timestamp_fi query_element = query['query'] if 'sort' in query_element: query_element.pop('sort') - metric_agg_element = rule['aggregation_query_element'] + metric_agg_element = {} + if 'aggregation_query_element' in rule: + metric_agg_element = rule['aggregation_query_element'] bucket_interval_period = rule.get('bucket_interval_period') if bucket_interval_period is not None: @@ -297,6 +299,8 @@ def get_aggregation_query(self, query, rule, query_key, terms_size, timestamp_fi aggs_element['interval_aggs']['date_histogram']['offset'] = '+%ss' % (rule['bucket_offset_delta']) else: aggs_element = metric_agg_element + + elastalert_logger.info("Aggregation keys: %s",query_key) if query_key is not None: for idx, key in reversed(list(enumerate(query_key.split(',')))): @@ -369,6 +373,8 @@ def process_hits(rule, hits): hit['_source'][rule['aggregation_key']] = ', '.join([str(value) for value in values]) processed_hits.append(hit['_source']) + print("len(processed_hits)") + print(len(processed_hits)) return processed_hits @@ -605,14 +611,17 @@ def get_hits_aggregation(self, rule, starttime, endtime, index, query_key, term_ sort=False, to_ts_func=rule['dt_to_ts'], ) + elastalert_logger.info("FORMED base query %s",base_query) if term_size is None: term_size = rule.get('terms_size', 50) query = self.get_aggregation_query(base_query, rule, query_key, term_size, rule['timestamp_field']) + elastalert_logger.info("FORMED aggregated query %s",query) request = get_msearch_query(query,rule) try: #using backwards compatibile msearch res = self.thread_data.current_es.msearch(body=request) res = res['responses'][0] + elastalert_logger.info("Aggregated response: %s",res) except ElasticsearchException as e: if len(str(e)) > 1024: e = str(e)[:1024] + '... (%d characters removed)' % (len(str(e)) - 1024) @@ -694,6 +703,7 @@ def remove_duplicate_events(self, data, rule): new_events = [] for event in data: if event['_id'] in rule['processed_hits']: + print("Removing duplicate hit") continue # Remember the new data's IDs @@ -1494,7 +1504,40 @@ def send_alert(self, matches, rule, alert_time=None, retried=False): end = ts_to_dt(lookup_es_key(match, rule['timestamp_field'])) + datetime.timedelta(minutes=10) keys = rule.get('top_count_keys') counts = self.get_top_counts(rule, start, end, keys, qk=qk) + elastalert_logger.info("top_count_keys: %s",counts) + elastalert_logger.info("Match: %s",match) match.update(counts) + elastalert_logger.info("Match: %s",match) + elif rule.get('aggregation_keys'): + elastalert_logger.info("GOT INTO aggregation_keys") + for match in matches: + if 'query_key' in rule: + qk = lookup_es_key(match, rule['query_key']) + else: + qk = None + + if isinstance(rule['type'], FlatlineRule): + # flatline rule triggers when there have been no events from now()-timeframe to now(), + # so using now()-timeframe will return no results. for now we can just mutliple the timeframe + # by 2, but this could probably be timeframe+run_every to prevent too large of a lookup? + timeframe = datetime.timedelta(seconds=2 * rule.get('timeframe').total_seconds()) + else: + timeframe = rule.get('timeframe', datetime.timedelta(minutes=10)) + + start = ts_to_dt(lookup_es_key(match, rule['timestamp_field'])) - timeframe + end = ts_to_dt(lookup_es_key(match, rule['timestamp_field'])) + datetime.timedelta(minutes=10) + keys = rule.get('aggregation_keys') + aggregated_data = self.get_hits_aggregation(rule, start, end, self.get_index(rule, start, end), rule.get('aggregation_keys',None)) + aggregated_data = next(iter(aggregated_data.values()))['bucket_aggs']['buckets'] + elastalert_logger.info("aggregated_data: %s" % (aggregated_data)) + flatten_data = [] + flatten_data = self.flatten_aggregated_data(aggregated_data,flatten_data) + elastalert_logger.info("csv data: %s",flatten_data) + elastalert_logger.info("Match: %s",match) + match_aggrgated_data = {"aggregated_data":flatten_data} + match.update(match_aggrgated_data) + elastalert_logger.info("Match: %s",match) + if rule.get('generate_kibana_discover_url'): kb_link = generate_kibana_discover_url(rule, matches[0]) @@ -1982,6 +2025,53 @@ def get_top_counts(self, rule, starttime, endtime, keys, number=None, qk=None): for key in keys: index = self.get_index(rule, starttime, endtime) + hits_terms = self.get_hits_terms(rule, starttime, endtime, index, key, qk, number) + elastalert_logger.info("hits_terms: %s",hits_terms) + if hits_terms is None or not hits_terms: + top_events_count = {} + else: + buckets = list(hits_terms.values())[0] + + # get_hits_terms adds to num_hits, but we don't want to count these + self.thread_data.num_hits -= len(buckets) + terms = {} + for bucket in buckets: + terms[bucket['key']] = bucket['doc_count'] + counts = list(terms.items()) + counts.sort(key=lambda x: x[1], reverse=True) + top_events_count = dict(counts[:number]) + + # Save a dict with the top 5 events by key + all_counts['top_events_%s' % (key)] = top_events_count + elastalert_logger.info("returning all_count %s",all_counts) + + return all_counts + + def flatten_aggregated_data(self,buckets,records,key=None): + for bucket in buckets: + elastalert_logger.info("handling bucket: %s",bucket) + if key == None: + nestedkey = (str(bucket['key'])) + else: + nestedkey = key + str(bucket['key']) + if 'bucket_aggs' in bucket: + records = self.flatten_aggregated_data(bucket['bucket_aggs']['buckets'],records,nestedkey) + else: + record = nestedkey + str(bucket['doc_count']) + elastalert_logger.info("record: %s",record) + records.append(record) + return records + + + def get_aggregated_data(self, rule, starttime, endtime, keys, number=None, qk=None): + """ Counts the number of events for each unique value for each key field. + Returns a dictionary with top_events_ mapped to the top 5 counts for each key. """ + all_counts = {} + if not number: + number = rule.get('aggregated_count_number', 10) + for key in keys: + index = self.get_index(rule, starttime, endtime) + hits_terms = self.get_hits_terms(rule, starttime, endtime, index, key, qk, number) if hits_terms is None or not hits_terms: top_events_count = {} diff --git a/elastalert/loaders.py b/elastalert/loaders.py index a1a07837a..2a68a5dec 100644 --- a/elastalert/loaders.py +++ b/elastalert/loaders.py @@ -68,6 +68,8 @@ def load_rule_schema(): schema_path = os.path.join(os.path.dirname(__file__), 'schema.yaml') with open(schema_path) as schema_file: schema_yml = yaml.load(schema_file, Loader=yaml.FullLoader) + print("SCHEMA YAML") + print(schema_yml) return jsonschema.Draft7Validator(schema_yml) @@ -166,7 +168,11 @@ def load(self, conf, args=None): rule_files = self.get_names(conf, use_rule) for rule_file in rule_files: try: + + rule = self.load_configuration(rule_file, conf, args) + print("RULE") + print(rule) # A rule failed to load, don't try to process it if not rule: elastalert_logger.error('Invalid rule file skipped: %s' % rule_file) @@ -399,7 +405,8 @@ def _dt_to_ts_with_format(dt): # Make sure we have required options if self.required_locals - frozenset(list(rule.keys())): raise EAException('Missing required option(s): %s' % (', '.join(self.required_locals - frozenset(list(rule.keys()))))) - + print("RULE : ") + print(rule) if 'include' in rule and type(rule['include']) != list: raise EAException('include option must be a list') @@ -418,6 +425,16 @@ def _dt_to_ts_with_format(dt): else: del(rule['query_key']) + raw_aggregation_keys = rule.get('aggregation_keys') + if isinstance(raw_aggregation_keys, list): + if len(raw_aggregation_keys) > 1: + rule['compound_aggregation_keys'] = raw_aggregation_keys + rule['aggregation_keys'] = ','.join(raw_aggregation_keys) + elif len(raw_aggregation_keys) == 1: + rule['aggregation_keys'] = raw_aggregation_keys[0] + else: + del(rule['aggregation_keys']) + if isinstance(rule.get('aggregation_key'), list): rule['compound_aggregation_key'] = rule['aggregation_key'] rule['aggregation_key'] = ','.join(rule['aggregation_key']) diff --git a/log.log b/log.log new file mode 100644 index 000000000..21ae8d775 --- /dev/null +++ b/log.log @@ -0,0 +1,49702 @@ +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:13.811935Z", "lte": "2023-12-18T18:49:13.811935Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["group", "*", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:13.811935Z", "lte": "2023-12-18T18:49:13.811935Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["group", "*", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:34.245163Z", "lte": "2023-12-18T18:49:34.245163Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "name", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:34.245163Z", "lte": "2023-12-18T18:49:34.245163Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "name", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:35:36.729830Z", "lte": "2023-12-18T18:50:36.729830Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:35:36.729830Z", "lte": "2023-12-18T18:50:36.729830Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:51:21.732053Z", + "to": "2023-12-18T18:51:21.732088Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:51:21.732053Z", + "to": "2023-12-18T18:51:21.732088Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:36:41.585574Z", "lte": "2023-12-18T18:51:41.585574Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:36:41.585574Z", "lte": "2023-12-18T18:51:41.585574Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:52:21.728616Z", + "to": "2023-12-18T18:52:21.728631Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:52:21.728616Z", + "to": "2023-12-18T18:52:21.728631Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:37:44.829202Z", "lte": "2023-12-18T18:52:44.829202Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:37:44.829202Z", "lte": "2023-12-18T18:52:44.829202Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:53:21.727322Z", + "to": "2023-12-18T18:53:21.727337Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:53:21.727322Z", + "to": "2023-12-18T18:53:21.727337Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:39:00.859498Z", "lte": "2023-12-18T18:54:00.859498Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:39:00.859498Z", "lte": "2023-12-18T18:54:00.859498Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:54:46.862331Z", + "to": "2023-12-18T18:54:46.862377Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:54:46.862331Z", + "to": "2023-12-18T18:54:46.862377Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:40:02.269905Z", "lte": "2023-12-18T18:55:02.269905Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:40:02.269905Z", "lte": "2023-12-18T18:55:02.269905Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:55:46.859631Z", + "to": "2023-12-18T18:55:46.859657Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:55:46.859631Z", + "to": "2023-12-18T18:55:46.859657Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:41:06.747413Z", "lte": "2023-12-18T18:56:06.747413Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:41:06.747413Z", "lte": "2023-12-18T18:56:06.747413Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:56:46.860009Z", + "to": "2023-12-18T18:56:46.860047Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T18:56:46.860009Z", + "to": "2023-12-18T18:56:46.860047Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:42:09.349705Z", "lte": "2023-12-18T18:57:09.349705Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:42:09.349705Z", "lte": "2023-12-18T18:57:09.349705Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:46:56.254224Z", "lte": "2023-12-18T19:01:56.254224Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:46:56.254224Z", "lte": "2023-12-18T19:01:56.254224Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:53:42.742076Z", "lte": "2023-12-18T19:08:42.742076Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:53:42.742076Z", "lte": "2023-12-18T19:08:42.742076Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:58:52.930036Z", "lte": "2023-12-18T19:13:52.930036Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:58:52.930036Z", "lte": "2023-12-18T19:13:52.930036Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:59:34.003Z", "lte": "2023-12-18T19:10:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:59:34.003Z", "lte": "2023-12-18T19:10:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:04:08.996212Z", "lte": "2023-12-18T19:19:08.996212Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:04:08.996212Z", "lte": "2023-12-18T19:19:08.996212Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:08:34.003Z", "lte": "2023-12-18T19:19:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:08:34.003Z", "lte": "2023-12-18T19:19:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:14:28.106569Z", "lte": "2023-12-18T19:29:28.106569Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:14:28.106569Z", "lte": "2023-12-18T19:29:28.106569Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:30:18.108245Z", + "to": "2023-12-18T19:30:18.108271Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:30:18.108245Z", + "to": "2023-12-18T19:30:18.108271Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:15:32.429678Z", "lte": "2023-12-18T19:30:32.429678Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:15:32.429678Z", "lte": "2023-12-18T19:30:32.429678Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:31:18.107677Z", + "to": "2023-12-18T19:31:18.107717Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:31:18.107677Z", + "to": "2023-12-18T19:31:18.107717Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:16:35.150010Z", "lte": "2023-12-18T19:31:35.150010Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:16:35.150010Z", "lte": "2023-12-18T19:31:35.150010Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:18:08.719607Z", "lte": "2023-12-18T19:33:08.719607Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:18:08.719607Z", "lte": "2023-12-18T19:33:08.719607Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:23:37.558154Z", "lte": "2023-12-18T19:38:37.558154Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "@timestamp", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:23:37.558154Z", "lte": "2023-12-18T19:38:37.558154Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "@timestamp", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:36:50.219963Z", "lte": "2023-12-18T19:51:50.219963Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:36:50.219963Z", "lte": "2023-12-18T19:51:50.219963Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:52:50.225223Z", + "to": "2023-12-18T19:52:50.225268Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:52:50.225223Z", + "to": "2023-12-18T19:52:50.225268Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:37:53.062943Z", "lte": "2023-12-18T19:52:53.062943Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:37:53.062943Z", "lte": "2023-12-18T19:52:53.062943Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:53:50.221671Z", + "to": "2023-12-18T19:53:50.221695Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T19:53:50.221671Z", + "to": "2023-12-18T19:53:50.221695Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:38:53.333616Z", "lte": "2023-12-18T19:53:53.333616Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:38:53.333616Z", "lte": "2023-12-18T19:53:53.333616Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:46:01.690490Z", "lte": "2023-12-18T20:01:01.690490Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:46:01.690490Z", "lte": "2023-12-18T20:01:01.690490Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:06:33.816087Z", "lte": "2023-12-18T20:21:33.816087Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:06:33.816087Z", "lte": "2023-12-18T20:21:33.816087Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:22:22.820018Z", + "to": "2023-12-18T20:22:22.820056Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:22:22.820018Z", + "to": "2023-12-18T20:22:22.820056Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:07:34.580396Z", "lte": "2023-12-18T20:22:34.580396Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:07:34.580396Z", "lte": "2023-12-18T20:22:34.580396Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:23:22.818827Z", + "to": "2023-12-18T20:23:22.818845Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:23:22.818827Z", + "to": "2023-12-18T20:23:22.818845Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:08:38.072026Z", "lte": "2023-12-18T20:23:38.072026Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:08:38.072026Z", "lte": "2023-12-18T20:23:38.072026Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:24:22.817615Z", + "to": "2023-12-18T20:24:22.817641Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:24:22.817615Z", + "to": "2023-12-18T20:24:22.817641Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:09:42.080286Z", "lte": "2023-12-18T20:24:42.080286Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:09:42.080286Z", "lte": "2023-12-18T20:24:42.080286Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:25:22.816339Z", + "to": "2023-12-18T20:25:22.816378Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:25:22.816339Z", + "to": "2023-12-18T20:25:22.816378Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:10:44.344666Z", "lte": "2023-12-18T20:25:44.344666Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:10:44.344666Z", "lte": "2023-12-18T20:25:44.344666Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:26:22.818869Z", + "to": "2023-12-18T20:26:22.818909Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2023-12-16T20:26:22.818869Z", + "to": "2023-12-18T20:26:22.818909Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "Example frequency rule" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:18:40.454884Z", "lte": "2023-12-18T20:33:40.454884Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:18:40.454884Z", "lte": "2023-12-18T20:33:40.454884Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:36:45.533504Z", "lte": "2024-01-11T14:37:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:36:45.533504Z", "lte": "2024-01-11T14:37:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:38:39.539399Z", + "to": "2024-01-11T14:38:39.539431Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:38:39.539399Z", + "to": "2024-01-11T14:38:39.539431Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:37:45.533504Z", "lte": "2024-01-11T14:38:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:37:45.533504Z", "lte": "2024-01-11T14:38:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:45.533504Z", "lte": "2024-01-11T14:38:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:45.533504Z", "lte": "2024-01-11T14:38:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:39:39.538856Z", + "to": "2024-01-11T14:39:39.538890Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:39:39.538856Z", + "to": "2024-01-11T14:39:39.538890Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:49.254835Z", "lte": "2024-01-11T14:39:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:49.254835Z", "lte": "2024-01-11T14:39:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:49.254835Z", "lte": "2024-01-11T14:39:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:49.254835Z", "lte": "2024-01-11T14:39:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:40:39.538369Z", + "to": "2024-01-11T14:40:39.538410Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:40:39.538369Z", + "to": "2024-01-11T14:40:39.538410Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:52.952154Z", "lte": "2024-01-11T14:40:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:52.952154Z", "lte": "2024-01-11T14:40:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:52.952154Z", "lte": "2024-01-11T14:40:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:52.952154Z", "lte": "2024-01-11T14:40:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:41:39.537018Z", + "to": "2024-01-11T14:41:39.537045Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:41:39.537018Z", + "to": "2024-01-11T14:41:39.537045Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:56.187405Z", "lte": "2024-01-11T14:41:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:56.187405Z", "lte": "2024-01-11T14:41:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:41:56.187405Z", "lte": "2024-01-11T14:42:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:41:56.187405Z", "lte": "2024-01-11T14:42:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:42:39.538731Z", + "to": "2024-01-11T14:42:39.538757Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:42:39.538731Z", + "to": "2024-01-11T14:42:39.538757Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:42:00.848468Z", "lte": "2024-01-11T14:43:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:42:00.848468Z", "lte": "2024-01-11T14:43:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:00.848468Z", "lte": "2024-01-11T14:43:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:00.848468Z", "lte": "2024-01-11T14:43:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:43:39.539090Z", + "to": "2024-01-11T14:43:39.539131Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:43:39.539090Z", + "to": "2024-01-11T14:43:39.539131Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:01.094506Z", "lte": "2024-01-11T14:44:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:01.094506Z", "lte": "2024-01-11T14:44:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:01.094506Z", "lte": "2024-01-11T14:44:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:01.094506Z", "lte": "2024-01-11T14:44:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:44:39.542069Z", + "to": "2024-01-11T14:44:39.542096Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:44:39.542069Z", + "to": "2024-01-11T14:44:39.542096Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:02.057462Z", "lte": "2024-01-11T14:45:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:02.057462Z", "lte": "2024-01-11T14:45:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.057462Z", "lte": "2024-01-11T14:45:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.057462Z", "lte": "2024-01-11T14:45:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:45:39.541554Z", + "to": "2024-01-11T14:45:39.541575Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:45:39.541554Z", + "to": "2024-01-11T14:45:39.541575Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.454308Z", "lte": "2024-01-11T14:46:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.454308Z", "lte": "2024-01-11T14:46:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:02.454308Z", "lte": "2024-01-11T14:46:04.912114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:02.454308Z", "lte": "2024-01-11T14:46:04.912114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:46:39.542227Z", + "to": "2024-01-11T14:46:39.542264Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:46:39.542227Z", + "to": "2024-01-11T14:46:39.542264Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:06.543147Z", "lte": "2024-01-11T14:47:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:06.543147Z", "lte": "2024-01-11T14:47:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:48:06.546330Z", + "to": "2024-01-11T14:48:06.546363Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:48:06.546330Z", + "to": "2024-01-11T14:48:06.546363Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:47:06.543147Z", "lte": "2024-01-11T14:48:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:47:06.543147Z", "lte": "2024-01-11T14:48:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:06.543147Z", "lte": "2024-01-11T14:48:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:06.543147Z", "lte": "2024-01-11T14:48:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:49:06.544524Z", + "to": "2024-01-11T14:49:06.544550Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:49:06.544524Z", + "to": "2024-01-11T14:49:06.544550Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:11.004423Z", "lte": "2024-01-11T14:49:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:11.004423Z", "lte": "2024-01-11T14:49:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:11.004423Z", "lte": "2024-01-11T14:49:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:11.004423Z", "lte": "2024-01-11T14:49:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:50:06.547092Z", + "to": "2024-01-11T14:50:06.547135Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:50:06.547092Z", + "to": "2024-01-11T14:50:06.547135Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:15.128860Z", "lte": "2024-01-11T14:50:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:15.128860Z", "lte": "2024-01-11T14:50:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.128860Z", "lte": "2024-01-11T14:50:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.128860Z", "lte": "2024-01-11T14:50:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:51:06.544352Z", + "to": "2024-01-11T14:51:06.544375Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:51:06.544352Z", + "to": "2024-01-11T14:51:06.544375Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.881643Z", "lte": "2024-01-11T14:51:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.881643Z", "lte": "2024-01-11T14:51:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:15.881643Z", "lte": "2024-01-11T14:51:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:15.881643Z", "lte": "2024-01-11T14:51:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:52:06.565977Z", + "to": "2024-01-11T14:52:06.565998Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:52:06.565977Z", + "to": "2024-01-11T14:52:06.565998Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:19.169525Z", "lte": "2024-01-11T14:52:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:19.169525Z", "lte": "2024-01-11T14:52:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:19.169525Z", "lte": "2024-01-11T14:52:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:19.169525Z", "lte": "2024-01-11T14:52:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:53:06.548656Z", + "to": "2024-01-11T14:53:06.548678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:53:06.548656Z", + "to": "2024-01-11T14:53:06.548678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:21.316850Z", "lte": "2024-01-11T14:53:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:21.316850Z", "lte": "2024-01-11T14:53:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:21.316850Z", "lte": "2024-01-11T14:53:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:21.316850Z", "lte": "2024-01-11T14:53:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:54:06.549254Z", + "to": "2024-01-11T14:54:06.549277Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:54:06.549254Z", + "to": "2024-01-11T14:54:06.549277Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:23.625239Z", "lte": "2024-01-11T14:54:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:23.625239Z", "lte": "2024-01-11T14:54:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:23.625239Z", "lte": "2024-01-11T14:54:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:23.625239Z", "lte": "2024-01-11T14:54:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:55:06.549494Z", + "to": "2024-01-11T14:55:06.549533Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:55:06.549494Z", + "to": "2024-01-11T14:55:06.549533Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:28.317944Z", "lte": "2024-01-11T14:55:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:28.317944Z", "lte": "2024-01-11T14:55:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:28.317944Z", "lte": "2024-01-11T14:55:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:28.317944Z", "lte": "2024-01-11T14:55:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:56:06.548059Z", + "to": "2024-01-11T14:56:06.548090Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:56:06.548059Z", + "to": "2024-01-11T14:56:06.548090Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:31.778354Z", "lte": "2024-01-11T14:56:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:31.778354Z", "lte": "2024-01-11T14:56:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:31.778354Z", "lte": "2024-01-11T14:56:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:31.778354Z", "lte": "2024-01-11T14:56:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:57:06.544871Z", + "to": "2024-01-11T14:57:06.544891Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:57:06.544871Z", + "to": "2024-01-11T14:57:06.544891Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:35.255831Z", "lte": "2024-01-11T14:57:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:35.255831Z", "lte": "2024-01-11T14:57:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:35.255831Z", "lte": "2024-01-11T14:57:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:35.255831Z", "lte": "2024-01-11T14:57:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:58:06.548400Z", + "to": "2024-01-11T14:58:06.548429Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:58:06.548400Z", + "to": "2024-01-11T14:58:06.548429Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:39.838620Z", "lte": "2024-01-11T14:58:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:39.838620Z", "lte": "2024-01-11T14:58:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:39.838620Z", "lte": "2024-01-11T14:58:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:39.838620Z", "lte": "2024-01-11T14:58:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:59:06.545469Z", + "to": "2024-01-11T14:59:06.545490Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T14:59:06.545469Z", + "to": "2024-01-11T14:59:06.545490Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:41.278979Z", "lte": "2024-01-11T14:59:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:41.278979Z", "lte": "2024-01-11T14:59:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:41.278979Z", "lte": "2024-01-11T14:59:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:41.278979Z", "lte": "2024-01-11T14:59:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:00:06.547641Z", + "to": "2024-01-11T15:00:06.547670Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:00:06.547641Z", + "to": "2024-01-11T15:00:06.547670Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:46.266810Z", "lte": "2024-01-11T15:00:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:46.266810Z", "lte": "2024-01-11T15:00:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:46.266810Z", "lte": "2024-01-11T15:00:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:46.266810Z", "lte": "2024-01-11T15:00:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:01:06.547767Z", + "to": "2024-01-11T15:01:06.547785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:01:06.547767Z", + "to": "2024-01-11T15:01:06.547785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:47.485740Z", "lte": "2024-01-11T15:01:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:47.485740Z", "lte": "2024-01-11T15:01:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:47.485740Z", "lte": "2024-01-11T15:01:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:47.485740Z", "lte": "2024-01-11T15:01:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:02:06.546405Z", + "to": "2024-01-11T15:02:06.546423Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:02:06.546405Z", + "to": "2024-01-11T15:02:06.546423Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:50.383687Z", "lte": "2024-01-11T15:02:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:50.383687Z", "lte": "2024-01-11T15:02:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:50.383687Z", "lte": "2024-01-11T15:02:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:50.383687Z", "lte": "2024-01-11T15:02:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:03:06.551155Z", + "to": "2024-01-11T15:03:06.551187Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:03:06.551155Z", + "to": "2024-01-11T15:03:06.551187Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:51.291020Z", "lte": "2024-01-11T15:03:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:51.291020Z", "lte": "2024-01-11T15:03:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:51.291020Z", "lte": "2024-01-11T15:03:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:51.291020Z", "lte": "2024-01-11T15:03:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:04:06.548353Z", + "to": "2024-01-11T15:04:06.548373Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:04:06.548353Z", + "to": "2024-01-11T15:04:06.548373Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:54.085105Z", "lte": "2024-01-11T15:04:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:54.085105Z", "lte": "2024-01-11T15:04:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:54.085105Z", "lte": "2024-01-11T15:04:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:54.085105Z", "lte": "2024-01-11T15:04:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:05:06.548437Z", + "to": "2024-01-11T15:05:06.548456Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:05:06.548437Z", + "to": "2024-01-11T15:05:06.548456Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:57.128644Z", "lte": "2024-01-11T15:05:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:57.128644Z", "lte": "2024-01-11T15:05:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:57.128644Z", "lte": "2024-01-11T15:05:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:57.128644Z", "lte": "2024-01-11T15:05:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:06:06.547613Z", + "to": "2024-01-11T15:06:06.547641Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:06:06.547613Z", + "to": "2024-01-11T15:06:06.547641Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:58.259811Z", "lte": "2024-01-11T15:06:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:58.259811Z", "lte": "2024-01-11T15:06:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:06:58.259811Z", "lte": "2024-01-11T15:07:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:06:58.259811Z", "lte": "2024-01-11T15:07:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:07:06.548571Z", + "to": "2024-01-11T15:07:06.548590Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:07:06.548571Z", + "to": "2024-01-11T15:07:06.548590Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:08:06.552107Z", + "to": "2024-01-11T15:08:06.552136Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:08:06.552107Z", + "to": "2024-01-11T15:08:06.552136Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:07:01.863476Z", "lte": "2024-01-11T15:08:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:07:01.863476Z", "lte": "2024-01-11T15:08:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:01.863476Z", "lte": "2024-01-11T15:08:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:01.863476Z", "lte": "2024-01-11T15:08:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:09:06.554091Z", + "to": "2024-01-11T15:09:06.554115Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:09:06.554091Z", + "to": "2024-01-11T15:09:06.554115Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:06.698139Z", "lte": "2024-01-11T15:09:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:06.698139Z", "lte": "2024-01-11T15:09:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:06.698139Z", "lte": "2024-01-11T15:09:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:06.698139Z", "lte": "2024-01-11T15:09:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:10:06.550012Z", + "to": "2024-01-11T15:10:06.550033Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:10:06.550012Z", + "to": "2024-01-11T15:10:06.550033Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:08.701311Z", "lte": "2024-01-11T15:10:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:08.701311Z", "lte": "2024-01-11T15:10:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:08.701311Z", "lte": "2024-01-11T15:10:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:08.701311Z", "lte": "2024-01-11T15:10:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:11:06.553462Z", + "to": "2024-01-11T15:11:06.553500Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:11:06.553462Z", + "to": "2024-01-11T15:11:06.553500Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:11.279419Z", "lte": "2024-01-11T15:11:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:11.279419Z", "lte": "2024-01-11T15:11:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:11.279419Z", "lte": "2024-01-11T15:11:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:11.279419Z", "lte": "2024-01-11T15:11:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:12:06.552549Z", + "to": "2024-01-11T15:12:06.552572Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:12:06.552549Z", + "to": "2024-01-11T15:12:06.552572Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:15.133323Z", "lte": "2024-01-11T15:12:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:15.133323Z", "lte": "2024-01-11T15:12:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.133323Z", "lte": "2024-01-11T15:12:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.133323Z", "lte": "2024-01-11T15:12:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:13:06.552084Z", + "to": "2024-01-11T15:13:06.552105Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:13:06.552084Z", + "to": "2024-01-11T15:13:06.552105Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.322002Z", "lte": "2024-01-11T15:13:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.322002Z", "lte": "2024-01-11T15:13:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.322002Z", "lte": "2024-01-11T15:13:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.322002Z", "lte": "2024-01-11T15:13:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:14:06.552389Z", + "to": "2024-01-11T15:14:06.552423Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:14:06.552389Z", + "to": "2024-01-11T15:14:06.552423Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.834694Z", "lte": "2024-01-11T15:14:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.834694Z", "lte": "2024-01-11T15:14:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:15.834694Z", "lte": "2024-01-11T15:14:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:15.834694Z", "lte": "2024-01-11T15:14:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:15:06.552623Z", + "to": "2024-01-11T15:15:06.552645Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:15:06.552623Z", + "to": "2024-01-11T15:15:06.552645Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:18.401112Z", "lte": "2024-01-11T15:15:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:18.401112Z", "lte": "2024-01-11T15:15:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:18.401112Z", "lte": "2024-01-11T15:15:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:18.401112Z", "lte": "2024-01-11T15:15:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:16:06.553565Z", + "to": "2024-01-11T15:16:06.553588Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:16:06.553565Z", + "to": "2024-01-11T15:16:06.553588Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:20.476314Z", "lte": "2024-01-11T15:16:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:20.476314Z", "lte": "2024-01-11T15:16:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:20.476314Z", "lte": "2024-01-11T15:16:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:20.476314Z", "lte": "2024-01-11T15:16:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:17:06.553988Z", + "to": "2024-01-11T15:17:06.554008Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:17:06.553988Z", + "to": "2024-01-11T15:17:06.554008Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:21.882945Z", "lte": "2024-01-11T15:17:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:21.882945Z", "lte": "2024-01-11T15:17:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:21.882945Z", "lte": "2024-01-11T15:17:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:21.882945Z", "lte": "2024-01-11T15:17:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:18:06.548179Z", + "to": "2024-01-11T15:18:06.548201Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:18:06.548179Z", + "to": "2024-01-11T15:18:06.548201Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:25.055939Z", "lte": "2024-01-11T15:18:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:25.055939Z", "lte": "2024-01-11T15:18:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:25.055939Z", "lte": "2024-01-11T15:18:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:25.055939Z", "lte": "2024-01-11T15:18:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:19:06.545118Z", + "to": "2024-01-11T15:19:06.545157Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:19:06.545118Z", + "to": "2024-01-11T15:19:06.545157Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:26.515109Z", "lte": "2024-01-11T15:19:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:26.515109Z", "lte": "2024-01-11T15:19:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:26.515109Z", "lte": "2024-01-11T15:19:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:26.515109Z", "lte": "2024-01-11T15:19:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:20:06.548728Z", + "to": "2024-01-11T15:20:06.548754Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:20:06.548728Z", + "to": "2024-01-11T15:20:06.548754Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:28.040639Z", "lte": "2024-01-11T15:20:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:28.040639Z", "lte": "2024-01-11T15:20:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:28.040639Z", "lte": "2024-01-11T15:20:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:28.040639Z", "lte": "2024-01-11T15:20:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:21:06.546260Z", + "to": "2024-01-11T15:21:06.546288Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:21:06.546260Z", + "to": "2024-01-11T15:21:06.546288Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:30.448304Z", "lte": "2024-01-11T15:21:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:30.448304Z", "lte": "2024-01-11T15:21:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:30.448304Z", "lte": "2024-01-11T15:21:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:30.448304Z", "lte": "2024-01-11T15:21:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:22:06.547727Z", + "to": "2024-01-11T15:22:06.547757Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:22:06.547727Z", + "to": "2024-01-11T15:22:06.547757Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:31.338494Z", "lte": "2024-01-11T15:22:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:31.338494Z", "lte": "2024-01-11T15:22:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:22:31.338494Z", "lte": "2024-01-11T15:22:33.115558Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:22:31.338494Z", "lte": "2024-01-11T15:22:33.115558Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:23:06.545417Z", + "to": "2024-01-11T15:23:06.545439Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-09T15:23:06.545417Z", + "to": "2024-01-11T15:23:06.545439Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:17:09.650346Z", "lte": "2024-01-12T06:18:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:17:09.650346Z", "lte": "2024-01-12T06:18:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:19:08.654158Z", + "to": "2024-01-12T06:19:08.654225Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:19:08.654158Z", + "to": "2024-01-12T06:19:08.654225Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:18:09.650346Z", "lte": "2024-01-12T06:19:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:18:09.650346Z", "lte": "2024-01-12T06:19:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:09.650346Z", "lte": "2024-01-12T06:19:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:09.650346Z", "lte": "2024-01-12T06:19:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:20:08.651070Z", + "to": "2024-01-12T06:20:08.651089Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:20:08.651070Z", + "to": "2024-01-12T06:20:08.651089Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:12.243279Z", "lte": "2024-01-12T06:20:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:12.243279Z", "lte": "2024-01-12T06:20:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:12.243279Z", "lte": "2024-01-12T06:20:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:12.243279Z", "lte": "2024-01-12T06:20:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:21:08.653824Z", + "to": "2024-01-12T06:21:08.653865Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:21:08.653824Z", + "to": "2024-01-12T06:21:08.653865Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:13.106722Z", "lte": "2024-01-12T06:21:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:13.106722Z", "lte": "2024-01-12T06:21:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:13.106722Z", "lte": "2024-01-12T06:21:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:13.106722Z", "lte": "2024-01-12T06:21:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:22:08.652110Z", + "to": "2024-01-12T06:22:08.652135Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:22:08.652110Z", + "to": "2024-01-12T06:22:08.652135Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:17.911965Z", "lte": "2024-01-12T06:22:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:17.911965Z", "lte": "2024-01-12T06:22:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:17.911965Z", "lte": "2024-01-12T06:22:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:17.911965Z", "lte": "2024-01-12T06:22:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:23:08.650190Z", + "to": "2024-01-12T06:23:08.650209Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:23:08.650190Z", + "to": "2024-01-12T06:23:08.650209Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:22.085296Z", "lte": "2024-01-12T06:23:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:22.085296Z", "lte": "2024-01-12T06:23:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:22.085296Z", "lte": "2024-01-12T06:23:25.321995Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:22.085296Z", "lte": "2024-01-12T06:23:25.321995Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bcd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bcd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bvscd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bvscd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dfg"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dfg"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dsds"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dsds"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:24:08.650365Z", + "to": "2024-01-12T06:24:08.650392Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:24:08.650365Z", + "to": "2024-01-12T06:24:08.650392Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:27.846475Z", "lte": "2024-01-12T06:36:27.846475Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:27.846475Z", "lte": "2024-01-12T06:36:27.846475Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:09.831Z", "lte": "2024-01-12T06:33:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:09.831Z", "lte": "2024-01-12T06:33:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:37:15.847264Z", + "to": "2024-01-12T06:37:15.847303Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:37:15.847264Z", + "to": "2024-01-12T06:37:15.847303Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:29.735123Z", "lte": "2024-01-12T06:37:29.735123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:29.735123Z", "lte": "2024-01-12T06:37:29.735123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:38:15.845713Z", + "to": "2024-01-12T06:38:15.845754Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-10T06:38:15.845713Z", + "to": "2024-01-12T06:38:15.845754Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:29.874810Z", "lte": "2024-01-12T06:38:29.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:29.874810Z", "lte": "2024-01-12T06:38:29.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:09.831Z", "lte": "2024-01-12T06:48:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:09.831Z", "lte": "2024-01-12T06:48:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:17:16.355790Z", "lte": "2024-01-17T07:32:16.355790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:17:16.355790Z", "lte": "2024-01-17T07:32:16.355790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:32:16.523358Z", + "endtime": "2024-01-17T07:32:16.355790Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:17:16.355790Z", + "time_taken": 0.16752004623413086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:32:16.523358Z", + "endtime": "2024-01-17T07:32:16.355790Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:17:16.355790Z", + "time_taken": 0.16752004623413086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:19:44.618960Z", "lte": "2024-01-17T07:34:44.618960Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:19:44.618960Z", "lte": "2024-01-17T07:34:44.618960Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:34:44.673559Z", + "endtime": "2024-01-17T07:34:44.618960Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:19:44.618960Z", + "time_taken": 0.05451178550720215 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:34:44.673559Z", + "endtime": "2024-01-17T07:34:44.618960Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:19:44.618960Z", + "time_taken": 0.05451178550720215 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:21:37.443356Z", "lte": "2024-01-17T07:36:37.443356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:21:37.443356Z", "lte": "2024-01-17T07:36:37.443356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:36:37.474684Z", + "endtime": "2024-01-17T07:36:37.443356Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:21:37.443356Z", + "time_taken": 0.031248092651367188 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:36:37.474684Z", + "endtime": "2024-01-17T07:36:37.443356Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:21:37.443356Z", + "time_taken": 0.031248092651367188 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:37:30.451306Z", + "to": "2024-01-17T07:37:30.451340Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:37:30.451306Z", + "to": "2024-01-17T07:37:30.451340Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:22:40.411420Z", "lte": "2024-01-17T07:37:40.411420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:22:40.411420Z", "lte": "2024-01-17T07:37:40.411420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:37:40.421681Z", + "endtime": "2024-01-17T07:37:40.411420Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:22:40.411420Z", + "time_taken": 0.010202169418334961 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:37:40.421681Z", + "endtime": "2024-01-17T07:37:40.411420Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:22:40.411420Z", + "time_taken": 0.010202169418334961 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:38:30.457326Z", + "to": "2024-01-17T07:38:30.457658Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:38:30.457326Z", + "to": "2024-01-17T07:38:30.457658Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:23:45.145369Z", "lte": "2024-01-17T07:38:45.145369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:23:45.145369Z", "lte": "2024-01-17T07:38:45.145369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:38:45.157665Z", + "endtime": "2024-01-17T07:38:45.145369Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:23:45.145369Z", + "time_taken": 0.011780977249145508 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:38:45.157665Z", + "endtime": "2024-01-17T07:38:45.145369Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:23:45.145369Z", + "time_taken": 0.011780977249145508 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:39:30.450510Z", + "to": "2024-01-17T07:39:30.450532Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:39:30.450510Z", + "to": "2024-01-17T07:39:30.450532Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:24:45.645614Z", "lte": "2024-01-17T07:39:45.645614Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:24:45.645614Z", "lte": "2024-01-17T07:39:45.645614Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:39:45.656045Z", + "endtime": "2024-01-17T07:39:45.645614Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:24:45.645614Z", + "time_taken": 0.010371923446655273 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:39:45.656045Z", + "endtime": "2024-01-17T07:39:45.645614Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:24:45.645614Z", + "time_taken": 0.010371923446655273 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:40:30.447963Z", + "to": "2024-01-17T07:40:30.447996Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:40:30.447963Z", + "to": "2024-01-17T07:40:30.447996Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:25:49.862420Z", "lte": "2024-01-17T07:40:49.862420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:25:49.862420Z", "lte": "2024-01-17T07:40:49.862420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:40:49.872914Z", + "endtime": "2024-01-17T07:40:49.862420Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:25:49.862420Z", + "time_taken": 0.010453939437866211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:40:49.872914Z", + "endtime": "2024-01-17T07:40:49.862420Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:25:49.862420Z", + "time_taken": 0.010453939437866211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:41:30.446394Z", + "to": "2024-01-17T07:41:30.446432Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:41:30.446394Z", + "to": "2024-01-17T07:41:30.446432Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:26:50.927280Z", "lte": "2024-01-17T07:41:50.927280Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:26:50.927280Z", "lte": "2024-01-17T07:41:50.927280Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:41:50.941985Z", + "endtime": "2024-01-17T07:41:50.927280Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:26:50.927280Z", + "time_taken": 0.014663934707641602 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:41:50.941985Z", + "endtime": "2024-01-17T07:41:50.927280Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:26:50.927280Z", + "time_taken": 0.014663934707641602 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:42:30.449554Z", + "to": "2024-01-17T07:42:30.449582Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:42:30.449554Z", + "to": "2024-01-17T07:42:30.449582Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:27:51.124603Z", "lte": "2024-01-17T07:42:51.124603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:27:51.124603Z", "lte": "2024-01-17T07:42:51.124603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:42:51.135602Z", + "endtime": "2024-01-17T07:42:51.124603Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:27:51.124603Z", + "time_taken": 0.010918140411376953 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:42:51.135602Z", + "endtime": "2024-01-17T07:42:51.124603Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:27:51.124603Z", + "time_taken": 0.010918140411376953 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:43:30.450802Z", + "to": "2024-01-17T07:43:30.450827Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:43:30.450802Z", + "to": "2024-01-17T07:43:30.450827Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:28:51.610275Z", "lte": "2024-01-17T07:43:51.610275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:28:51.610275Z", "lte": "2024-01-17T07:43:51.610275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:43:51.620329Z", + "endtime": "2024-01-17T07:43:51.610275Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:28:51.610275Z", + "time_taken": 0.00999593734741211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:43:51.620329Z", + "endtime": "2024-01-17T07:43:51.610275Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:28:51.610275Z", + "time_taken": 0.00999593734741211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ + "@timestamp": "2024-01-17T07:45:37.996852Z", + "data": { + "rule": "freshdesk_sqs_retry_count_is_high" + }, + "message": "Error querying for last run: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)", + "traceback": [ + "Traceback (most recent call last):", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 819, in get_starttime", + " res = self.writeback_es.search(index=index, doc_type=\u0027elastalert_status\u0027,", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/utils.py\", line 76, in _wrapped", + " return func(*args, params=params, **kwargs)", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/__init__.py\", line 659, in search", + " return self.transport.perform_request(\u0027GET\u0027, _make_path(index,", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/transport.py\", line 318, in perform_request", + " status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py\", line 90, in perform_request", + " self._raise_error(response.status_code, raw_data)", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/base.py\", line 125, in _raise_error", + " raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)", + "elasticsearch.exceptions.NotFoundError: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)" + ] +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ + "@timestamp": "2024-01-17T07:45:37.996852Z", + "data": { + "rule": "freshdesk_sqs_retry_count_is_high" + }, + "message": "Error querying for last run: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)", + "traceback": [ + "Traceback (most recent call last):", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 819, in get_starttime", + " res = self.writeback_es.search(index=index, doc_type=\u0027elastalert_status\u0027,", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/utils.py\", line 76, in _wrapped", + " return func(*args, params=params, **kwargs)", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/__init__.py\", line 659, in search", + " return self.transport.perform_request(\u0027GET\u0027, _make_path(index,", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/transport.py\", line 318, in perform_request", + " status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py\", line 90, in perform_request", + " self._raise_error(response.status_code, raw_data)", + " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/base.py\", line 125, in _raise_error", + " raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)", + "elasticsearch.exceptions.NotFoundError: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)" + ] +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:30:37.973351Z", "lte": "2024-01-17T07:45:37.973351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "wc", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:30:37.973351Z", "lte": "2024-01-17T07:45:37.973351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "wc", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:45:39.885781Z", + "endtime": "2024-01-17T07:45:37.973351Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:30:37.973351Z", + "time_taken": 1.9123289585113525 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:45:39.885781Z", + "endtime": "2024-01-17T07:45:37.973351Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:30:37.973351Z", + "time_taken": 1.9123289585113525 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:47:34.305446Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:47:34.305446Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:47:34.328059Z", + "endtime": "2024-01-17T07:47:34.305446Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.022550106048583984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:47:34.328059Z", + "endtime": "2024-01-17T07:47:34.305446Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.022550106048583984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:48:21.313285Z", + "to": "2024-01-17T07:48:21.313324Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:48:21.313285Z", + "to": "2024-01-17T07:48:21.313324Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:48:37.054924Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:48:37.054924Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:48:37.062265Z", + "endtime": "2024-01-17T07:48:37.054924Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.007302045822143555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:48:37.062265Z", + "endtime": "2024-01-17T07:48:37.054924Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.007302045822143555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:49:21.310979Z", + "to": "2024-01-17T07:49:21.310997Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:49:21.310979Z", + "to": "2024-01-17T07:49:21.310997Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:49:38.728865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:49:38.728865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:49:38.736585Z", + "endtime": "2024-01-17T07:49:38.728865Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.007682085037231445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:49:38.736585Z", + "endtime": "2024-01-17T07:49:38.728865Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.007682085037231445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:50:21.310954Z", + "to": "2024-01-17T07:50:21.310994Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:50:21.310954Z", + "to": "2024-01-17T07:50:21.310994Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:50:42.633338Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:50:42.633338Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:50:42.642052Z", + "endtime": "2024-01-17T07:50:42.633338Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.00867009162902832 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:50:42.642052Z", + "endtime": "2024-01-17T07:50:42.633338Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.00867009162902832 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:51:21.307340Z", + "to": "2024-01-17T07:51:21.307361Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:51:21.307340Z", + "to": "2024-01-17T07:51:21.307361Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:51:45.673684Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:51:45.673684Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:51:45.681789Z", + "endtime": "2024-01-17T07:51:45.673684Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.008073091506958008 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:51:45.681789Z", + "endtime": "2024-01-17T07:51:45.673684Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.008073091506958008 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:52:21.312227Z", + "to": "2024-01-17T07:52:21.312250Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:52:21.312227Z", + "to": "2024-01-17T07:52:21.312250Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:52:47.348546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:52:47.348546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:52:47.356781Z", + "endtime": "2024-01-17T07:52:47.348546Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.008181095123291016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:52:47.356781Z", + "endtime": "2024-01-17T07:52:47.348546Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.008181095123291016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:53:21.308128Z", + "to": "2024-01-17T07:53:21.308154Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:53:21.308128Z", + "to": "2024-01-17T07:53:21.308154Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:53:47.604372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:53:47.604372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:53:47.616259Z", + "endtime": "2024-01-17T07:53:47.604372Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.01180887222290039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:53:47.616259Z", + "endtime": "2024-01-17T07:53:47.604372Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.01180887222290039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:54:21.311664Z", + "to": "2024-01-17T07:54:21.311692Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:54:21.311664Z", + "to": "2024-01-17T07:54:21.311692Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:54:51.825626Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:54:51.825626Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:54:51.833903Z", + "endtime": "2024-01-17T07:54:51.825626Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.008220911026000977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:54:51.833903Z", + "endtime": "2024-01-17T07:54:51.825626Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.008220911026000977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:55:21.309117Z", + "to": "2024-01-17T07:55:21.309163Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:55:21.309117Z", + "to": "2024-01-17T07:55:21.309163Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:55:55.349408Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:55:55.349408Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:55:55.361836Z", + "endtime": "2024-01-17T07:55:55.349408Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.012343645095825195 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:55:55.361836Z", + "endtime": "2024-01-17T07:55:55.349408Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.012343645095825195 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:56:21.310503Z", + "to": "2024-01-17T07:56:21.310527Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:56:21.310503Z", + "to": "2024-01-17T07:56:21.310527Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:56:59.003014Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:56:59.003014Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:56:59.011877Z", + "endtime": "2024-01-17T07:56:59.003014Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.00880885124206543 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:56:59.011877Z", + "endtime": "2024-01-17T07:56:59.003014Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.00880885124206543 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:57:21.308328Z", + "to": "2024-01-17T07:57:21.308368Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:57:21.308328Z", + "to": "2024-01-17T07:57:21.308368Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:57:59.282441Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:57:59.282441Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:57:59.292702Z", + "endtime": "2024-01-17T07:57:59.282441Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.010197162628173828 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:57:59.292702Z", + "endtime": "2024-01-17T07:57:59.282441Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.010197162628173828 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:58:21.314458Z", + "to": "2024-01-17T07:58:21.314505Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:58:21.314458Z", + "to": "2024-01-17T07:58:21.314505Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:59:03.003393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:59:03.003393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:59:03.012769Z", + "endtime": "2024-01-17T07:59:03.003393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.009324073791503906 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T07:59:03.012769Z", + "endtime": "2024-01-17T07:59:03.003393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.009324073791503906 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:59:21.311830Z", + "to": "2024-01-17T07:59:21.311867Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T07:59:21.311830Z", + "to": "2024-01-17T07:59:21.311867Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T08:00:04.768353Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T08:00:04.768353Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:00:04.777087Z", + "endtime": "2024-01-17T08:00:04.768353Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.00870203971862793 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:00:04.777087Z", + "endtime": "2024-01-17T08:00:04.768353Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:45:37.973351Z", + "time_taken": 0.00870203971862793 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:00:21.310746Z", + "to": "2024-01-17T08:00:21.310784Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:00:21.310746Z", + "to": "2024-01-17T08:00:21.310784Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:46:07.123196Z", "lte": "2024-01-17T08:01:07.123196Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:46:07.123196Z", "lte": "2024-01-17T08:01:07.123196Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:01:07.132617Z", + "endtime": "2024-01-17T08:01:07.123196Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:46:07.123196Z", + "time_taken": 0.009366989135742188 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:01:07.132617Z", + "endtime": "2024-01-17T08:01:07.123196Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:46:07.123196Z", + "time_taken": 0.009366989135742188 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:01:21.316097Z", + "to": "2024-01-17T08:01:21.316136Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:01:21.316097Z", + "to": "2024-01-17T08:01:21.316136Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:47:07.626747Z", "lte": "2024-01-17T08:02:07.626747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:47:07.626747Z", "lte": "2024-01-17T08:02:07.626747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:02:07.637357Z", + "endtime": "2024-01-17T08:02:07.626747Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:47:07.626747Z", + "time_taken": 0.010554790496826172 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:02:07.637357Z", + "endtime": "2024-01-17T08:02:07.626747Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:47:07.626747Z", + "time_taken": 0.010554790496826172 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:02:21.317780Z", + "to": "2024-01-17T08:02:21.317807Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:02:21.317780Z", + "to": "2024-01-17T08:02:21.317807Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:48:11.734651Z", "lte": "2024-01-17T08:03:11.734651Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:48:11.734651Z", "lte": "2024-01-17T08:03:11.734651Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:03:11.745819Z", + "endtime": "2024-01-17T08:03:11.734651Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:48:11.734651Z", + "time_taken": 0.01111292839050293 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:03:11.745819Z", + "endtime": "2024-01-17T08:03:11.734651Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:48:11.734651Z", + "time_taken": 0.01111292839050293 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:03:21.311292Z", + "to": "2024-01-17T08:03:21.311330Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:03:21.311292Z", + "to": "2024-01-17T08:03:21.311330Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:49:14.260653Z", "lte": "2024-01-17T08:04:14.260653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:49:14.260653Z", "lte": "2024-01-17T08:04:14.260653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:04:14.270561Z", + "endtime": "2024-01-17T08:04:14.260653Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:49:14.260653Z", + "time_taken": 0.00985097885131836 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:04:14.270561Z", + "endtime": "2024-01-17T08:04:14.260653Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:49:14.260653Z", + "time_taken": 0.00985097885131836 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:04:21.320187Z", + "to": "2024-01-17T08:04:21.320226Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:04:21.320187Z", + "to": "2024-01-17T08:04:21.320226Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:50:19.145099Z", "lte": "2024-01-17T08:05:19.145099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:50:19.145099Z", "lte": "2024-01-17T08:05:19.145099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:05:19.153708Z", + "endtime": "2024-01-17T08:05:19.145099Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:50:19.145099Z", + "time_taken": 0.008552789688110352 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:05:19.153708Z", + "endtime": "2024-01-17T08:05:19.145099Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:50:19.145099Z", + "time_taken": 0.008552789688110352 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:05:21.318146Z", + "to": "2024-01-17T08:05:21.318174Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:05:21.318146Z", + "to": "2024-01-17T08:05:21.318174Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:51:19.768195Z", "lte": "2024-01-17T08:06:19.768195Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:51:19.768195Z", "lte": "2024-01-17T08:06:19.768195Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:06:19.777270Z", + "endtime": "2024-01-17T08:06:19.768195Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:51:19.768195Z", + "time_taken": 0.00902104377746582 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:06:19.777270Z", + "endtime": "2024-01-17T08:06:19.768195Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:51:19.768195Z", + "time_taken": 0.00902104377746582 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:06:21.310140Z", + "to": "2024-01-17T08:06:21.310178Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:06:21.310140Z", + "to": "2024-01-17T08:06:21.310178Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:07:21.315610Z", + "to": "2024-01-17T08:07:21.315637Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:07:21.315610Z", + "to": "2024-01-17T08:07:21.315637Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:52:21.727505Z", "lte": "2024-01-17T08:07:21.727505Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:52:21.727505Z", "lte": "2024-01-17T08:07:21.727505Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:07:21.735661Z", + "endtime": "2024-01-17T08:07:21.727505Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:52:21.727505Z", + "time_taken": 0.008116006851196289 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:07:21.735661Z", + "endtime": "2024-01-17T08:07:21.727505Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:52:21.727505Z", + "time_taken": 0.008116006851196289 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:08:21.308686Z", + "to": "2024-01-17T08:08:21.308724Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:08:21.308686Z", + "to": "2024-01-17T08:08:21.308724Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:53:22.426949Z", "lte": "2024-01-17T08:08:22.426949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:53:22.426949Z", "lte": "2024-01-17T08:08:22.426949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:08:22.434774Z", + "endtime": "2024-01-17T08:08:22.426949Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:53:22.426949Z", + "time_taken": 0.007773160934448242 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:08:22.434774Z", + "endtime": "2024-01-17T08:08:22.426949Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:53:22.426949Z", + "time_taken": 0.007773160934448242 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:09:21.314139Z", + "to": "2024-01-17T08:09:21.314167Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:09:21.314139Z", + "to": "2024-01-17T08:09:21.314167Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:54:26.884771Z", "lte": "2024-01-17T08:09:26.884771Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:54:26.884771Z", "lte": "2024-01-17T08:09:26.884771Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:09:26.891511Z", + "endtime": "2024-01-17T08:09:26.884771Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:54:26.884771Z", + "time_taken": 0.006706953048706055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:09:26.891511Z", + "endtime": "2024-01-17T08:09:26.884771Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:54:26.884771Z", + "time_taken": 0.006706953048706055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:10:21.313815Z", + "to": "2024-01-17T08:10:21.313843Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:10:21.313815Z", + "to": "2024-01-17T08:10:21.313843Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:55:28.206484Z", "lte": "2024-01-17T08:10:28.206484Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:55:28.206484Z", "lte": "2024-01-17T08:10:28.206484Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:10:28.215727Z", + "endtime": "2024-01-17T08:10:28.206484Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:55:28.206484Z", + "time_taken": 0.009185075759887695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:10:28.215727Z", + "endtime": "2024-01-17T08:10:28.206484Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:55:28.206484Z", + "time_taken": 0.009185075759887695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:11:21.317580Z", + "to": "2024-01-17T08:11:21.317602Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:11:21.317580Z", + "to": "2024-01-17T08:11:21.317602Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:56:30.948169Z", "lte": "2024-01-17T08:11:30.948169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:56:30.948169Z", "lte": "2024-01-17T08:11:30.948169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:11:30.957513Z", + "endtime": "2024-01-17T08:11:30.948169Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:56:30.948169Z", + "time_taken": 0.009287118911743164 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:11:30.957513Z", + "endtime": "2024-01-17T08:11:30.948169Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:56:30.948169Z", + "time_taken": 0.009287118911743164 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:12:21.317046Z", + "to": "2024-01-17T08:12:21.317086Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:12:21.317046Z", + "to": "2024-01-17T08:12:21.317086Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:57:34.437865Z", "lte": "2024-01-17T08:12:34.437865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:57:34.437865Z", "lte": "2024-01-17T08:12:34.437865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:12:34.445096Z", + "endtime": "2024-01-17T08:12:34.437865Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:57:34.437865Z", + "time_taken": 0.007192134857177734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:12:34.445096Z", + "endtime": "2024-01-17T08:12:34.437865Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:57:34.437865Z", + "time_taken": 0.007192134857177734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:13:21.315202Z", + "to": "2024-01-17T08:13:21.315230Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:13:21.315202Z", + "to": "2024-01-17T08:13:21.315230Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:58:36.198188Z", "lte": "2024-01-17T08:13:36.198188Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:58:36.198188Z", "lte": "2024-01-17T08:13:36.198188Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:13:36.208209Z", + "endtime": "2024-01-17T08:13:36.198188Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:58:36.198188Z", + "time_taken": 0.009957075119018555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:13:36.208209Z", + "endtime": "2024-01-17T08:13:36.198188Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:58:36.198188Z", + "time_taken": 0.009957075119018555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:14:21.312722Z", + "to": "2024-01-17T08:14:21.312760Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:14:21.312722Z", + "to": "2024-01-17T08:14:21.312760Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:59:36.992677Z", "lte": "2024-01-17T08:14:36.992677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:59:36.992677Z", "lte": "2024-01-17T08:14:36.992677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:14:37.000788Z", + "endtime": "2024-01-17T08:14:36.992677Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:59:36.992677Z", + "time_taken": 0.008054733276367188 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:14:37.000788Z", + "endtime": "2024-01-17T08:14:36.992677Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T07:59:36.992677Z", + "time_taken": 0.008054733276367188 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:15:21.316518Z", + "to": "2024-01-17T08:15:21.316544Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:15:21.316518Z", + "to": "2024-01-17T08:15:21.316544Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:00:37.055931Z", "lte": "2024-01-17T08:15:37.055931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:00:37.055931Z", "lte": "2024-01-17T08:15:37.055931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:15:37.064227Z", + "endtime": "2024-01-17T08:15:37.055931Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:00:37.055931Z", + "time_taken": 0.008260250091552734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:15:37.064227Z", + "endtime": "2024-01-17T08:15:37.055931Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:00:37.055931Z", + "time_taken": 0.008260250091552734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:16:21.310989Z", + "to": "2024-01-17T08:16:21.311029Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:16:21.310989Z", + "to": "2024-01-17T08:16:21.311029Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:01:40.347732Z", "lte": "2024-01-17T08:16:40.347732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:01:40.347732Z", "lte": "2024-01-17T08:16:40.347732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:16:40.355406Z", + "endtime": "2024-01-17T08:16:40.347732Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:01:40.347732Z", + "time_taken": 0.007621049880981445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:16:40.355406Z", + "endtime": "2024-01-17T08:16:40.347732Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:01:40.347732Z", + "time_taken": 0.007621049880981445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:17:21.317381Z", + "to": "2024-01-17T08:17:21.317407Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:17:21.317381Z", + "to": "2024-01-17T08:17:21.317407Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:02:41.002389Z", "lte": "2024-01-17T08:17:41.002389Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:02:41.002389Z", "lte": "2024-01-17T08:17:41.002389Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:17:41.012578Z", + "endtime": "2024-01-17T08:17:41.002389Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:02:41.002389Z", + "time_taken": 0.010132074356079102 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:17:41.012578Z", + "endtime": "2024-01-17T08:17:41.002389Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:02:41.002389Z", + "time_taken": 0.010132074356079102 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:18:21.311381Z", + "to": "2024-01-17T08:18:21.311421Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:18:21.311381Z", + "to": "2024-01-17T08:18:21.311421Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:03:41.192822Z", "lte": "2024-01-17T08:18:41.192822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:03:41.192822Z", "lte": "2024-01-17T08:18:41.192822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:18:41.200788Z", + "endtime": "2024-01-17T08:18:41.192822Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:03:41.192822Z", + "time_taken": 0.007910966873168945 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:18:41.200788Z", + "endtime": "2024-01-17T08:18:41.192822Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:03:41.192822Z", + "time_taken": 0.007910966873168945 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:19:21.311247Z", + "to": "2024-01-17T08:19:21.311287Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:19:21.311247Z", + "to": "2024-01-17T08:19:21.311287Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:04:44.679148Z", "lte": "2024-01-17T08:19:44.679148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:04:44.679148Z", "lte": "2024-01-17T08:19:44.679148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:19:44.688499Z", + "endtime": "2024-01-17T08:19:44.679148Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:04:44.679148Z", + "time_taken": 0.009243011474609375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:19:44.688499Z", + "endtime": "2024-01-17T08:19:44.679148Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:04:44.679148Z", + "time_taken": 0.009243011474609375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:20:21.313743Z", + "to": "2024-01-17T08:20:21.313783Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:20:21.313743Z", + "to": "2024-01-17T08:20:21.313783Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:05:44.707748Z", "lte": "2024-01-17T08:20:44.707748Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:05:44.707748Z", "lte": "2024-01-17T08:20:44.707748Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:20:44.716636Z", + "endtime": "2024-01-17T08:20:44.707748Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:05:44.707748Z", + "time_taken": 0.008831977844238281 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:20:44.716636Z", + "endtime": "2024-01-17T08:20:44.707748Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:05:44.707748Z", + "time_taken": 0.008831977844238281 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:21:21.314811Z", + "to": "2024-01-17T08:21:21.314849Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:21:21.314811Z", + "to": "2024-01-17T08:21:21.314849Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:06:45.400445Z", "lte": "2024-01-17T08:21:45.400445Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:06:45.400445Z", "lte": "2024-01-17T08:21:45.400445Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:21:45.406342Z", + "endtime": "2024-01-17T08:21:45.400445Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:06:45.400445Z", + "time_taken": 0.005871295928955078 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:21:45.406342Z", + "endtime": "2024-01-17T08:21:45.400445Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:06:45.400445Z", + "time_taken": 0.005871295928955078 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:22:21.310746Z", + "to": "2024-01-17T08:22:21.310785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:22:21.310746Z", + "to": "2024-01-17T08:22:21.310785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:07:46.086712Z", "lte": "2024-01-17T08:22:46.086712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:07:46.086712Z", "lte": "2024-01-17T08:22:46.086712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:22:46.093408Z", + "endtime": "2024-01-17T08:22:46.086712Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:07:46.086712Z", + "time_taken": 0.00666499137878418 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:22:46.093408Z", + "endtime": "2024-01-17T08:22:46.086712Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:07:46.086712Z", + "time_taken": 0.00666499137878418 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:23:21.317323Z", + "to": "2024-01-17T08:23:21.317363Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:23:21.317323Z", + "to": "2024-01-17T08:23:21.317363Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:08:48.317977Z", "lte": "2024-01-17T08:23:48.317977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:08:48.317977Z", "lte": "2024-01-17T08:23:48.317977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:23:48.326548Z", + "endtime": "2024-01-17T08:23:48.317977Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:08:48.317977Z", + "time_taken": 0.008538961410522461 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:23:48.326548Z", + "endtime": "2024-01-17T08:23:48.317977Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:08:48.317977Z", + "time_taken": 0.008538961410522461 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:24:21.317510Z", + "to": "2024-01-17T08:24:21.317548Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:24:21.317510Z", + "to": "2024-01-17T08:24:21.317548Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:09:50.430393Z", "lte": "2024-01-17T08:24:50.430393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:09:50.430393Z", "lte": "2024-01-17T08:24:50.430393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:24:50.438690Z", + "endtime": "2024-01-17T08:24:50.430393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:09:50.430393Z", + "time_taken": 0.008243799209594727 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:24:50.438690Z", + "endtime": "2024-01-17T08:24:50.430393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:09:50.430393Z", + "time_taken": 0.008243799209594727 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:25:21.311513Z", + "to": "2024-01-17T08:25:21.311554Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:25:21.311513Z", + "to": "2024-01-17T08:25:21.311554Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:10:54.136696Z", "lte": "2024-01-17T08:25:54.136696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:10:54.136696Z", "lte": "2024-01-17T08:25:54.136696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:25:54.145926Z", + "endtime": "2024-01-17T08:25:54.136696Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:10:54.136696Z", + "time_taken": 0.009176015853881836 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:25:54.145926Z", + "endtime": "2024-01-17T08:25:54.136696Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:10:54.136696Z", + "time_taken": 0.009176015853881836 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:26:21.308686Z", + "to": "2024-01-17T08:26:21.308725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:26:21.308686Z", + "to": "2024-01-17T08:26:21.308725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:11:58.586546Z", "lte": "2024-01-17T08:26:58.586546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:11:58.586546Z", "lte": "2024-01-17T08:26:58.586546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:26:58.597007Z", + "endtime": "2024-01-17T08:26:58.586546Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:11:58.586546Z", + "time_taken": 0.010404109954833984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:26:58.597007Z", + "endtime": "2024-01-17T08:26:58.586546Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:11:58.586546Z", + "time_taken": 0.010404109954833984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:27:21.316570Z", + "to": "2024-01-17T08:27:21.316609Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:27:21.316570Z", + "to": "2024-01-17T08:27:21.316609Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:13:02.913788Z", "lte": "2024-01-17T08:28:02.913788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:13:02.913788Z", "lte": "2024-01-17T08:28:02.913788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:28:02.921688Z", + "endtime": "2024-01-17T08:28:02.913788Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:13:02.913788Z", + "time_taken": 0.007845878601074219 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:28:02.921688Z", + "endtime": "2024-01-17T08:28:02.913788Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:13:02.913788Z", + "time_taken": 0.007845878601074219 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:28:21.317491Z", + "to": "2024-01-17T08:28:21.317529Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:28:21.317491Z", + "to": "2024-01-17T08:28:21.317529Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:14:07.881270Z", "lte": "2024-01-17T08:29:07.881270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:14:07.881270Z", "lte": "2024-01-17T08:29:07.881270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:29:07.889203Z", + "endtime": "2024-01-17T08:29:07.881270Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:14:07.881270Z", + "time_taken": 0.007879257202148438 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:29:07.889203Z", + "endtime": "2024-01-17T08:29:07.881270Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:14:07.881270Z", + "time_taken": 0.007879257202148438 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:29:21.314448Z", + "to": "2024-01-17T08:29:21.314486Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:29:21.314448Z", + "to": "2024-01-17T08:29:21.314486Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:15:08.012530Z", "lte": "2024-01-17T08:30:08.012530Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:15:08.012530Z", "lte": "2024-01-17T08:30:08.012530Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:30:08.020376Z", + "endtime": "2024-01-17T08:30:08.012530Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:15:08.012530Z", + "time_taken": 0.007805824279785156 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:30:08.020376Z", + "endtime": "2024-01-17T08:30:08.012530Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:15:08.012530Z", + "time_taken": 0.007805824279785156 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:30:21.314230Z", + "to": "2024-01-17T08:30:21.314268Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:30:21.314230Z", + "to": "2024-01-17T08:30:21.314268Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:16:12.001238Z", "lte": "2024-01-17T08:31:12.001238Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:16:12.001238Z", "lte": "2024-01-17T08:31:12.001238Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:31:12.010467Z", + "endtime": "2024-01-17T08:31:12.001238Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:16:12.001238Z", + "time_taken": 0.009173154830932617 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:31:12.010467Z", + "endtime": "2024-01-17T08:31:12.001238Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:16:12.001238Z", + "time_taken": 0.009173154830932617 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:31:21.314387Z", + "to": "2024-01-17T08:31:21.314426Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:31:21.314387Z", + "to": "2024-01-17T08:31:21.314426Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:17:16.035856Z", "lte": "2024-01-17T08:32:16.035856Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:17:16.035856Z", "lte": "2024-01-17T08:32:16.035856Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:32:16.042851Z", + "endtime": "2024-01-17T08:32:16.035856Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:17:16.035856Z", + "time_taken": 0.006937742233276367 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:32:16.042851Z", + "endtime": "2024-01-17T08:32:16.035856Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:17:16.035856Z", + "time_taken": 0.006937742233276367 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:32:21.315481Z", + "to": "2024-01-17T08:32:21.315522Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:32:21.315481Z", + "to": "2024-01-17T08:32:21.315522Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:18:20.814566Z", "lte": "2024-01-17T08:33:20.814566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:18:20.814566Z", "lte": "2024-01-17T08:33:20.814566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:33:20.820849Z", + "endtime": "2024-01-17T08:33:20.814566Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:18:20.814566Z", + "time_taken": 0.006257057189941406 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:33:20.820849Z", + "endtime": "2024-01-17T08:33:20.814566Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:18:20.814566Z", + "time_taken": 0.006257057189941406 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:33:21.308798Z", + "to": "2024-01-17T08:33:21.308837Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:33:21.308798Z", + "to": "2024-01-17T08:33:21.308837Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:34:21.315616Z", + "to": "2024-01-17T08:34:21.315654Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:34:21.315616Z", + "to": "2024-01-17T08:34:21.315654Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:19:22.165788Z", "lte": "2024-01-17T08:34:22.165788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:19:22.165788Z", "lte": "2024-01-17T08:34:22.165788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:34:22.173406Z", + "endtime": "2024-01-17T08:34:22.165788Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:19:22.165788Z", + "time_taken": 0.0075647830963134766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:34:22.173406Z", + "endtime": "2024-01-17T08:34:22.165788Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:19:22.165788Z", + "time_taken": 0.0075647830963134766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:35:21.368400Z", + "to": "2024-01-17T08:35:21.368439Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:35:21.368400Z", + "to": "2024-01-17T08:35:21.368439Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:20:26.372961Z", "lte": "2024-01-17T08:35:26.372961Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:20:26.372961Z", "lte": "2024-01-17T08:35:26.372961Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:35:26.380300Z", + "endtime": "2024-01-17T08:35:26.372961Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:20:26.372961Z", + "time_taken": 0.00728297233581543 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:35:26.380300Z", + "endtime": "2024-01-17T08:35:26.372961Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:20:26.372961Z", + "time_taken": 0.00728297233581543 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:36:21.308953Z", + "to": "2024-01-17T08:36:21.308991Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:36:21.308953Z", + "to": "2024-01-17T08:36:21.308991Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:21:26.713861Z", "lte": "2024-01-17T08:36:26.713861Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:21:26.713861Z", "lte": "2024-01-17T08:36:26.713861Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:36:26.722891Z", + "endtime": "2024-01-17T08:36:26.713861Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:21:26.713861Z", + "time_taken": 0.008974790573120117 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:36:26.722891Z", + "endtime": "2024-01-17T08:36:26.713861Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:21:26.713861Z", + "time_taken": 0.008974790573120117 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:37:21.308099Z", + "to": "2024-01-17T08:37:21.308139Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:37:21.308099Z", + "to": "2024-01-17T08:37:21.308139Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:22:27.481859Z", "lte": "2024-01-17T08:37:27.481859Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:22:27.481859Z", "lte": "2024-01-17T08:37:27.481859Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:37:27.489659Z", + "endtime": "2024-01-17T08:37:27.481859Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:22:27.481859Z", + "time_taken": 0.00774383544921875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:37:27.489659Z", + "endtime": "2024-01-17T08:37:27.481859Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:22:27.481859Z", + "time_taken": 0.00774383544921875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:38:21.310087Z", + "to": "2024-01-17T08:38:21.310125Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:38:21.310087Z", + "to": "2024-01-17T08:38:21.310125Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:23:30.257435Z", "lte": "2024-01-17T08:38:30.257435Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:23:30.257435Z", "lte": "2024-01-17T08:38:30.257435Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:38:30.264967Z", + "endtime": "2024-01-17T08:38:30.257435Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:23:30.257435Z", + "time_taken": 0.0074770450592041016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:38:30.264967Z", + "endtime": "2024-01-17T08:38:30.257435Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:23:30.257435Z", + "time_taken": 0.0074770450592041016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:39:21.317651Z", + "to": "2024-01-17T08:39:21.317689Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:39:21.317651Z", + "to": "2024-01-17T08:39:21.317689Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:24:33.625111Z", "lte": "2024-01-17T08:39:33.625111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:24:33.625111Z", "lte": "2024-01-17T08:39:33.625111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:39:33.632738Z", + "endtime": "2024-01-17T08:39:33.625111Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:24:33.625111Z", + "time_taken": 0.007572174072265625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:39:33.632738Z", + "endtime": "2024-01-17T08:39:33.625111Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:24:33.625111Z", + "time_taken": 0.007572174072265625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:40:21.313992Z", + "to": "2024-01-17T08:40:21.314031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:40:21.313992Z", + "to": "2024-01-17T08:40:21.314031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:25:34.538623Z", "lte": "2024-01-17T08:40:34.538623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:25:34.538623Z", "lte": "2024-01-17T08:40:34.538623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:40:34.545848Z", + "endtime": "2024-01-17T08:40:34.538623Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:25:34.538623Z", + "time_taken": 0.007170200347900391 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:40:34.545848Z", + "endtime": "2024-01-17T08:40:34.538623Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:25:34.538623Z", + "time_taken": 0.007170200347900391 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:41:21.316768Z", + "to": "2024-01-17T08:41:21.316808Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:41:21.316768Z", + "to": "2024-01-17T08:41:21.316808Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:26:37.918800Z", "lte": "2024-01-17T08:41:37.918800Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:26:37.918800Z", "lte": "2024-01-17T08:41:37.918800Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:41:37.926847Z", + "endtime": "2024-01-17T08:41:37.918800Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:26:37.918800Z", + "time_taken": 0.007992744445800781 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:41:37.926847Z", + "endtime": "2024-01-17T08:41:37.918800Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:26:37.918800Z", + "time_taken": 0.007992744445800781 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:42:21.317733Z", + "to": "2024-01-17T08:42:21.317771Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:42:21.317733Z", + "to": "2024-01-17T08:42:21.317771Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:27:38.701385Z", "lte": "2024-01-17T08:42:38.701385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:27:38.701385Z", "lte": "2024-01-17T08:42:38.701385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:42:38.708973Z", + "endtime": "2024-01-17T08:42:38.701385Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:27:38.701385Z", + "time_taken": 0.007533073425292969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:42:38.708973Z", + "endtime": "2024-01-17T08:42:38.701385Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:27:38.701385Z", + "time_taken": 0.007533073425292969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:43:21.317747Z", + "to": "2024-01-17T08:43:21.317785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:43:21.317747Z", + "to": "2024-01-17T08:43:21.317785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:28:43.319710Z", "lte": "2024-01-17T08:43:43.319710Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:28:43.319710Z", "lte": "2024-01-17T08:43:43.319710Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:43:43.328512Z", + "endtime": "2024-01-17T08:43:43.319710Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:28:43.319710Z", + "time_taken": 0.008746147155761719 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:43:43.328512Z", + "endtime": "2024-01-17T08:43:43.319710Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:28:43.319710Z", + "time_taken": 0.008746147155761719 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:44:21.312152Z", + "to": "2024-01-17T08:44:21.312191Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:44:21.312152Z", + "to": "2024-01-17T08:44:21.312191Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:29:44.561404Z", "lte": "2024-01-17T08:44:44.561404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:29:44.561404Z", "lte": "2024-01-17T08:44:44.561404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:44:44.571244Z", + "endtime": "2024-01-17T08:44:44.561404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:29:44.561404Z", + "time_taken": 0.009804010391235352 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:44:44.571244Z", + "endtime": "2024-01-17T08:44:44.561404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:29:44.561404Z", + "time_taken": 0.009804010391235352 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:45:21.312630Z", + "to": "2024-01-17T08:45:21.312670Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:45:21.312630Z", + "to": "2024-01-17T08:45:21.312670Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:30:44.802157Z", "lte": "2024-01-17T08:45:44.802157Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:30:44.802157Z", "lte": "2024-01-17T08:45:44.802157Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:45:44.809729Z", + "endtime": "2024-01-17T08:45:44.802157Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:30:44.802157Z", + "time_taken": 0.007544040679931641 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:45:44.809729Z", + "endtime": "2024-01-17T08:45:44.802157Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:30:44.802157Z", + "time_taken": 0.007544040679931641 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:46:21.311098Z", + "to": "2024-01-17T08:46:21.311137Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:46:21.311098Z", + "to": "2024-01-17T08:46:21.311137Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:31:48.780294Z", "lte": "2024-01-17T08:46:48.780294Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:31:48.780294Z", "lte": "2024-01-17T08:46:48.780294Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:46:48.788196Z", + "endtime": "2024-01-17T08:46:48.780294Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:31:48.780294Z", + "time_taken": 0.007847785949707031 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:46:48.788196Z", + "endtime": "2024-01-17T08:46:48.780294Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:31:48.780294Z", + "time_taken": 0.007847785949707031 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:47:21.307723Z", + "to": "2024-01-17T08:47:21.307749Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:47:21.307723Z", + "to": "2024-01-17T08:47:21.307749Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:32:52.720768Z", "lte": "2024-01-17T08:47:52.720768Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:32:52.720768Z", "lte": "2024-01-17T08:47:52.720768Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:47:52.729917Z", + "endtime": "2024-01-17T08:47:52.720768Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:32:52.720768Z", + "time_taken": 0.009093046188354492 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:47:52.729917Z", + "endtime": "2024-01-17T08:47:52.720768Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:32:52.720768Z", + "time_taken": 0.009093046188354492 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:48:21.312368Z", + "to": "2024-01-17T08:48:21.312411Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:48:21.312368Z", + "to": "2024-01-17T08:48:21.312411Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:33:54.175915Z", "lte": "2024-01-17T08:48:54.175915Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:33:54.175915Z", "lte": "2024-01-17T08:48:54.175915Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:48:54.217795Z", + "endtime": "2024-01-17T08:48:54.175915Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:33:54.175915Z", + "time_taken": 0.041821956634521484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:48:54.217795Z", + "endtime": "2024-01-17T08:48:54.175915Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:33:54.175915Z", + "time_taken": 0.041821956634521484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:49:21.309591Z", + "to": "2024-01-17T08:49:21.309632Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:49:21.309591Z", + "to": "2024-01-17T08:49:21.309632Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:34:54.809374Z", "lte": "2024-01-17T08:49:54.809374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:34:54.809374Z", "lte": "2024-01-17T08:49:54.809374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:49:54.818264Z", + "endtime": "2024-01-17T08:49:54.809374Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:34:54.809374Z", + "time_taken": 0.008834123611450195 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:49:54.818264Z", + "endtime": "2024-01-17T08:49:54.809374Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:34:54.809374Z", + "time_taken": 0.008834123611450195 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:50:21.311585Z", + "to": "2024-01-17T08:50:21.311612Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:50:21.311585Z", + "to": "2024-01-17T08:50:21.311612Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:37:13.471113Z", "lte": "2024-01-17T08:52:13.471113Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:37:13.471113Z", "lte": "2024-01-17T08:52:13.471113Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:52:13.493902Z", + "endtime": "2024-01-17T08:52:13.471113Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:37:13.471113Z", + "time_taken": 0.02267169952392578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:52:13.493902Z", + "endtime": "2024-01-17T08:52:13.471113Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:37:13.471113Z", + "time_taken": 0.02267169952392578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:53:12.474049Z", + "to": "2024-01-17T08:53:12.474078Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:53:12.474049Z", + "to": "2024-01-17T08:53:12.474078Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:38:13.726741Z", "lte": "2024-01-17T08:53:13.726741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:38:13.726741Z", "lte": "2024-01-17T08:53:13.726741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:53:13.733028Z", + "endtime": "2024-01-17T08:53:13.726741Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:38:13.726741Z", + "time_taken": 0.006258726119995117 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:53:13.733028Z", + "endtime": "2024-01-17T08:53:13.726741Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:38:13.726741Z", + "time_taken": 0.006258726119995117 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:54:12.472960Z", + "to": "2024-01-17T08:54:12.472988Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:54:12.472960Z", + "to": "2024-01-17T08:54:12.472988Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:14.975966Z", "lte": "2024-01-17T08:54:14.975966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:14.975966Z", "lte": "2024-01-17T08:54:14.975966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:54:15.045016Z", + "endtime": "2024-01-17T08:54:14.975966Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:39:14.975966Z", + "time_taken": 0.06899499893188477 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:54:15.045016Z", + "endtime": "2024-01-17T08:54:14.975966Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:39:14.975966Z", + "time_taken": 0.06899499893188477 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:55:12.473324Z", + "to": "2024-01-17T08:55:12.473348Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T08:55:12.473324Z", + "to": "2024-01-17T08:55:12.473348Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:15.721066Z", "lte": "2024-01-17T08:55:15.721066Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:15.721066Z", "lte": "2024-01-17T08:55:15.721066Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T08:55:15.741858Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T08:56:15.741843Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T08:55:15.741858Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T08:56:15.741843Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:37.831Z", "lte": "2024-01-17T09:04:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:37.831Z", "lte": "2024-01-17T09:04:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ + "@timestamp": "2024-01-17T08:55:15.880357Z", + "data": { + "rule": "freshdesk_sqs_retry_count_is_high" + }, + "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: name \u0027response\u0027 is not defined", + "traceback": [ + "Traceback (most recent call last):", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", + " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", + " alert.alert(matches)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 86, in alert", + " response.raise_for_status()", + "NameError: name \u0027response\u0027 is not defined" + ] +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ + "@timestamp": "2024-01-17T08:55:15.880357Z", + "data": { + "rule": "freshdesk_sqs_retry_count_is_high" + }, + "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: name \u0027response\u0027 is not defined", + "traceback": [ + "Traceback (most recent call last):", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", + " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", + " alert.alert(matches)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 86, in alert", + " response.raise_for_status()", + "NameError: name \u0027response\u0027 is not defined" + ] +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:55:15.997969Z", + "endtime": "2024-01-17T08:55:15.721066Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:40:15.721066Z", + "time_taken": 0.27685022354125977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:55:15.997969Z", + "endtime": "2024-01-17T08:55:15.721066Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:40:15.721066Z", + "time_taken": 0.27685022354125977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:55:15.721066Z", "lte": "2024-01-17T08:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:55:15.721066Z", "lte": "2024-01-17T08:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T08:58:51.309381Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T08:59:51.309374Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T08:58:51.309381Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T08:59:51.309374Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:37.831Z", "lte": "2024-01-17T09:05:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:37.831Z", "lte": "2024-01-17T09:05:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T08:58:51.362780Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T08:58:51.354426Z", + "match_body": { + "@timestamp": "2024-01-17T08:55:37.831Z", + "_id": "zwmhFo0BKaace7fnKosu", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 4, + "num_matches": 4, + "top_events_wc": { + "bcd": 2, + "bvscd": 2, + "dfg": 2, + "dsds": 2 + }, + "wc": "dfg" + }, + "match_time": "2024-01-17T08:55:37.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T08:58:51.362780Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T08:58:51.354426Z", + "match_body": { + "@timestamp": "2024-01-17T08:55:37.831Z", + "_id": "zwmhFo0BKaace7fnKosu", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 4, + "num_matches": 4, + "top_events_wc": { + "bcd": 2, + "bvscd": 2, + "dfg": 2, + "dsds": 2 + }, + "wc": "dfg" + }, + "match_time": "2024-01-17T08:55:37.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:58:51.475647Z", + "endtime": "2024-01-17T08:58:51.271388Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:55:15.721066Z", + "time_taken": 0.20417189598083496 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T08:58:51.475647Z", + "endtime": "2024-01-17T08:58:51.271388Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:55:15.721066Z", + "time_taken": 0.20417189598083496 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:58:51.271388Z", "lte": "2024-01-17T09:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:58:51.271388Z", "lte": "2024-01-17T09:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:13:51.271388Z", "lte": "2024-01-17T09:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:13:51.271388Z", "lte": "2024-01-17T09:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:28:51.271388Z", "lte": "2024-01-17T09:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:28:51.271388Z", "lte": "2024-01-17T09:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:43:51.271388Z", "lte": "2024-01-17T09:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:43:51.271388Z", "lte": "2024-01-17T09:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:58:51.271388Z", "lte": "2024-01-17T10:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:58:51.271388Z", "lte": "2024-01-17T10:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:13:51.271388Z", "lte": "2024-01-17T10:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:13:51.271388Z", "lte": "2024-01-17T10:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:28:51.271388Z", "lte": "2024-01-17T10:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:28:51.271388Z", "lte": "2024-01-17T10:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:43:51.271388Z", "lte": "2024-01-17T10:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:43:51.271388Z", "lte": "2024-01-17T10:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:58:51.271388Z", "lte": "2024-01-17T11:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:58:51.271388Z", "lte": "2024-01-17T11:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:13:51.271388Z", "lte": "2024-01-17T11:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:13:51.271388Z", "lte": "2024-01-17T11:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:28:51.271388Z", "lte": "2024-01-17T11:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:28:51.271388Z", "lte": "2024-01-17T11:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:43:51.271388Z", "lte": "2024-01-17T11:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:43:51.271388Z", "lte": "2024-01-17T11:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:51.271388Z", "lte": "2024-01-17T12:09:25.926780Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:51.271388Z", "lte": "2024-01-17T12:09:25.926780Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:09:26.115321Z", + "endtime": "2024-01-17T12:09:25.926780Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:58:51.271388Z", + "time_taken": 0.1884303092956543 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:09:26.115321Z", + "endtime": "2024-01-17T12:09:25.926780Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T08:58:51.271388Z", + "time_taken": 0.1884303092956543 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:10:14.933252Z", + "to": "2024-01-17T12:10:14.933281Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:10:14.933252Z", + "to": "2024-01-17T12:10:14.933281Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:55:27.384133Z", "lte": "2024-01-17T12:10:27.384133Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:55:27.384133Z", "lte": "2024-01-17T12:10:27.384133Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:10:27.393330Z", + "endtime": "2024-01-17T12:10:27.384133Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T11:55:27.384133Z", + "time_taken": 0.009157180786132812 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:10:27.393330Z", + "endtime": "2024-01-17T12:10:27.384133Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T11:55:27.384133Z", + "time_taken": 0.009157180786132812 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:11:14.932628Z", + "to": "2024-01-17T12:11:14.932667Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:11:14.932628Z", + "to": "2024-01-17T12:11:14.932667Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:56:28.225709Z", "lte": "2024-01-17T12:11:28.225709Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:56:28.225709Z", "lte": "2024-01-17T12:11:28.225709Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:11:28.267786Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:12:28.267779Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:11:28.267786Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:12:28.267779Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:45:37.831Z", "lte": "2024-01-17T12:10:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:45:37.831Z", "lte": "2024-01-17T12:10:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ + "@timestamp": "2024-01-17T12:11:28.392545Z", + "data": { + "rule": "freshdesk_sqs_retry_count_is_high" + }, + "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: \u0027dict\u0027 object has no attribute \u0027labels\u0027", + "traceback": [ + "Traceback (most recent call last):", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", + " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", + " alert.alert(matches)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 65, in alert", + " payload.labels[\u0027alert_time\u0027]=matches[0][self.rule.get(\u0027timestamp_field\u0027)]", + "AttributeError: \u0027dict\u0027 object has no attribute \u0027labels\u0027" + ] +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ + "@timestamp": "2024-01-17T12:11:28.392545Z", + "data": { + "rule": "freshdesk_sqs_retry_count_is_high" + }, + "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: \u0027dict\u0027 object has no attribute \u0027labels\u0027", + "traceback": [ + "Traceback (most recent call last):", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", + " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", + " alert.alert(matches)", + " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 65, in alert", + " payload.labels[\u0027alert_time\u0027]=matches[0][self.rule.get(\u0027timestamp_field\u0027)]", + "AttributeError: \u0027dict\u0027 object has no attribute \u0027labels\u0027" + ] +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:11:28.461369Z", + "endtime": "2024-01-17T12:11:28.225709Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T11:56:28.225709Z", + "time_taken": 0.23560404777526855 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:11:28.461369Z", + "endtime": "2024-01-17T12:11:28.225709Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T11:56:28.225709Z", + "time_taken": 0.23560404777526855 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:12:14.930382Z", + "to": "2024-01-17T12:12:14.930401Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:12:14.930382Z", + "to": "2024-01-17T12:12:14.930401Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:13:19.903448Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:13:19.903448Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:13:19.941554Z", + "endtime": "2024-01-17T12:13:19.903448Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.03801393508911133 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:13:19.941554Z", + "endtime": "2024-01-17T12:13:19.903448Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.03801393508911133 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:14:09.907077Z", + "to": "2024-01-17T12:14:09.907114Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:14:09.907077Z", + "to": "2024-01-17T12:14:09.907114Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:14:20.305079Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:14:20.305079Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:14:20.328928Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:15:20.328921Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:14:20.328928Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:15:20.328921Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:37.831Z", "lte": "2024-01-17T12:23:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:37.831Z", "lte": "2024-01-17T12:23:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T12:14:20.390013Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T12:14:20.376359Z", + "match_body": { + "@timestamp": "2024-01-17T12:13:37.831Z", + "_id": "3wlVF40BKaace7fnM4u-", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 8, + "num_matches": 8, + "top_events_wc": { + "bcd": 4, + "bvscd": 4, + "dfg": 4, + "dsds": 4 + }, + "wc": "dfg" + }, + "match_time": "2024-01-17T12:13:37.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T12:14:20.390013Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T12:14:20.376359Z", + "match_body": { + "@timestamp": "2024-01-17T12:13:37.831Z", + "_id": "3wlVF40BKaace7fnM4u-", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 8, + "num_matches": 8, + "top_events_wc": { + "bcd": 4, + "bvscd": 4, + "dfg": 4, + "dsds": 4 + }, + "wc": "dfg" + }, + "match_time": "2024-01-17T12:13:37.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:14:20.485113Z", + "endtime": "2024-01-17T12:14:20.305079Z", + "hits": 8, + "matches": 8, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.1799769401550293 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:14:20.485113Z", + "endtime": "2024-01-17T12:14:20.305079Z", + "hits": 8, + "matches": 8, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.1799769401550293 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:15:09.906458Z", + "to": "2024-01-17T12:15:09.906501Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:15:09.906458Z", + "to": "2024-01-17T12:15:09.906501Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:15:20.652166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:15:20.652166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:15:20.670216Z", + "endtime": "2024-01-17T12:15:20.652166Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.01799607276916504 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:15:20.670216Z", + "endtime": "2024-01-17T12:15:20.652166Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.01799607276916504 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:16:09.907367Z", + "to": "2024-01-17T12:16:09.907396Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:16:09.907367Z", + "to": "2024-01-17T12:16:09.907396Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:16:25.611886Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:16:25.611886Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:16:25.635789Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:17:25.635782Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:16:25.635789Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:17:25.635782Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:37.831Z", "lte": "2024-01-17T12:25:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:37.831Z", "lte": "2024-01-17T12:25:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T12:16:25.696416Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T12:16:25.680952Z", + "match_body": { + "@timestamp": "2024-01-17T12:15:37.831Z", + "_id": "6wlXF40BKaace7fnlIvZ", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 10, + "num_matches": 2, + "top_events_wc": { + "bcd": 4, + "bvscd": 4, + "dfg": 3, + "dsds": 4 + }, + "wc": "dfg" + }, + "match_time": "2024-01-17T12:15:37.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T12:16:25.696416Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T12:16:25.680952Z", + "match_body": { + "@timestamp": "2024-01-17T12:15:37.831Z", + "_id": "6wlXF40BKaace7fnlIvZ", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 10, + "num_matches": 2, + "top_events_wc": { + "bcd": 4, + "bvscd": 4, + "dfg": 3, + "dsds": 4 + }, + "wc": "dfg" + }, + "match_time": "2024-01-17T12:15:37.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:16:25.747013Z", + "endtime": "2024-01-17T12:16:25.611886Z", + "hits": 10, + "matches": 2, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.13508820533752441 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:16:25.747013Z", + "endtime": "2024-01-17T12:16:25.611886Z", + "hits": 10, + "matches": 2, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.13508820533752441 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:17:09.906340Z", + "to": "2024-01-17T12:17:09.906370Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:17:09.906340Z", + "to": "2024-01-17T12:17:09.906370Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:17:30.475016Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:17:30.475016Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:17:30.486844Z", + "endtime": "2024-01-17T12:17:30.475016Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.011792182922363281 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:17:30.486844Z", + "endtime": "2024-01-17T12:17:30.475016Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.011792182922363281 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:18:09.905318Z", + "to": "2024-01-17T12:18:09.905357Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:18:09.905318Z", + "to": "2024-01-17T12:18:09.905357Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:18:31.929966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:18:31.929966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:18:31.946319Z", + "endtime": "2024-01-17T12:18:31.929966Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.016315937042236328 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:18:31.946319Z", + "endtime": "2024-01-17T12:18:31.929966Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.016315937042236328 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:19:09.904538Z", + "to": "2024-01-17T12:19:09.904581Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:19:09.904538Z", + "to": "2024-01-17T12:19:09.904581Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:19:35.237474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:19:35.237474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:19:35.252676Z", + "endtime": "2024-01-17T12:19:35.237474Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.015161991119384766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:19:35.252676Z", + "endtime": "2024-01-17T12:19:35.237474Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.015161991119384766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:20:09.906853Z", + "to": "2024-01-17T12:20:09.906875Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:20:09.906853Z", + "to": "2024-01-17T12:20:09.906875Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:20:39.922482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:20:39.922482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:20:39.933929Z", + "endtime": "2024-01-17T12:20:39.922482Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.011392831802368164 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:20:39.933929Z", + "endtime": "2024-01-17T12:20:39.922482Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.011392831802368164 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:21:09.906939Z", + "to": "2024-01-17T12:21:09.906961Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:21:09.906939Z", + "to": "2024-01-17T12:21:09.906961Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:21:44.298729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:21:44.298729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:21:44.309814Z", + "endtime": "2024-01-17T12:21:44.298729Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.011044740676879883 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:21:44.309814Z", + "endtime": "2024-01-17T12:21:44.298729Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.011044740676879883 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:22:09.903549Z", + "to": "2024-01-17T12:22:09.903576Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:22:09.903549Z", + "to": "2024-01-17T12:22:09.903576Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:22:48.756166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:22:48.756166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:22:48.772118Z", + "endtime": "2024-01-17T12:22:48.756166Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.015897035598754883 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:22:48.772118Z", + "endtime": "2024-01-17T12:22:48.756166Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.015897035598754883 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:23:09.905507Z", + "to": "2024-01-17T12:23:09.905541Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:23:09.905507Z", + "to": "2024-01-17T12:23:09.905541Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:23:50.974053Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:23:50.974053Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:23:50.984352Z", + "endtime": "2024-01-17T12:23:50.974053Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.010263204574584961 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:23:50.984352Z", + "endtime": "2024-01-17T12:23:50.974053Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.010263204574584961 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:24:09.904166Z", + "to": "2024-01-17T12:24:09.904188Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:24:09.904166Z", + "to": "2024-01-17T12:24:09.904188Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:24:54.940095Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:24:54.940095Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:24:54.950603Z", + "endtime": "2024-01-17T12:24:54.940095Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.010453939437866211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:24:54.950603Z", + "endtime": "2024-01-17T12:24:54.940095Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.010453939437866211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:25:09.904883Z", + "to": "2024-01-17T12:25:09.904910Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:25:09.904883Z", + "to": "2024-01-17T12:25:09.904910Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:25:55.825372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:25:55.825372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:25:55.839690Z", + "endtime": "2024-01-17T12:25:55.825372Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.014261007308959961 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:25:55.839690Z", + "endtime": "2024-01-17T12:25:55.825372Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:28.225709Z", + "time_taken": 0.014261007308959961 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:26:09.903476Z", + "to": "2024-01-17T12:26:09.903513Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:26:09.903476Z", + "to": "2024-01-17T12:26:09.903513Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:56.176122Z", "lte": "2024-01-17T12:26:56.176122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:56.176122Z", "lte": "2024-01-17T12:26:56.176122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:26:56.195738Z", + "endtime": "2024-01-17T12:26:56.176122Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:56.176122Z", + "time_taken": 0.01955699920654297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:26:56.195738Z", + "endtime": "2024-01-17T12:26:56.176122Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:11:56.176122Z", + "time_taken": 0.01955699920654297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:27:09.904196Z", + "to": "2024-01-17T12:27:09.904235Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:27:09.904196Z", + "to": "2024-01-17T12:27:09.904235Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:12:56.562092Z", "lte": "2024-01-17T12:27:56.562092Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:12:56.562092Z", "lte": "2024-01-17T12:27:56.562092Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:27:56.574631Z", + "endtime": "2024-01-17T12:27:56.562092Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:12:56.562092Z", + "time_taken": 0.012482881546020508 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:27:56.574631Z", + "endtime": "2024-01-17T12:27:56.562092Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:12:56.562092Z", + "time_taken": 0.012482881546020508 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:28:09.908134Z", + "to": "2024-01-17T12:28:09.908172Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:28:09.908134Z", + "to": "2024-01-17T12:28:09.908172Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:13:58.566550Z", "lte": "2024-01-17T12:28:58.566550Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:13:58.566550Z", "lte": "2024-01-17T12:28:58.566550Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:28:58.591234Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:29:58.591205Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-17T12:28:58.591234Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-17T12:29:58.591205Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:39.831Z", "lte": "2024-01-17T12:25:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:39.831Z", "lte": "2024-01-17T12:25:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T12:28:58.651195Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T12:28:58.639588Z", + "match_body": { + "@timestamp": "2024-01-17T12:15:39.831Z", + "_id": "6QlXF40BKaace7fnlItj", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 4, + "num_matches": 2, + "top_events_wc": { + "bcd": 3, + "bvscd": 3, + "dfg": 3, + "dsds": 3 + }, + "wc": "dsds" + }, + "match_time": "2024-01-17T12:15:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-17T12:28:58.651195Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-17T12:28:58.639588Z", + "match_body": { + "@timestamp": "2024-01-17T12:15:39.831Z", + "_id": "6QlXF40BKaace7fnlItj", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 4, + "num_matches": 2, + "top_events_wc": { + "bcd": 3, + "bvscd": 3, + "dfg": 3, + "dsds": 3 + }, + "wc": "dsds" + }, + "match_time": "2024-01-17T12:15:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:28:58.704843Z", + "endtime": "2024-01-17T12:28:58.566550Z", + "hits": 4, + "matches": 2, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:13:58.566550Z", + "time_taken": 0.1382288932800293 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:28:58.704843Z", + "endtime": "2024-01-17T12:28:58.566550Z", + "hits": 4, + "matches": 2, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:13:58.566550Z", + "time_taken": 0.1382288932800293 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:29:09.904408Z", + "to": "2024-01-17T12:29:09.904468Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:29:09.904408Z", + "to": "2024-01-17T12:29:09.904468Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:15:00.762117Z", "lte": "2024-01-17T12:30:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:15:00.762117Z", "lte": "2024-01-17T12:30:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:30:00.777998Z", + "endtime": "2024-01-17T12:30:00.762117Z", + "hits": 4, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:15:00.762117Z", + "time_taken": 0.015831947326660156 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T12:30:00.777998Z", + "endtime": "2024-01-17T12:30:00.762117Z", + "hits": 4, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:15:00.762117Z", + "time_taken": 0.015831947326660156 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:30:09.921501Z", + "to": "2024-01-17T12:30:09.921522Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T12:30:09.921501Z", + "to": "2024-01-17T12:30:09.921522Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:30:00.762117Z", "lte": "2024-01-17T12:45:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:30:00.762117Z", "lte": "2024-01-17T12:45:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:45:00.762117Z", "lte": "2024-01-17T13:00:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:45:00.762117Z", "lte": "2024-01-17T13:00:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:00.762117Z", "lte": "2024-01-17T13:02:04.226456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:00.762117Z", "lte": "2024-01-17T13:02:04.226456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:02:04.272389Z", + "endtime": "2024-01-17T13:02:04.226456Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:30:00.762117Z", + "time_taken": 0.04589509963989258 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:02:04.272389Z", + "endtime": "2024-01-17T13:02:04.226456Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:30:00.762117Z", + "time_taken": 0.04589509963989258 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:02:09.904755Z", + "to": "2024-01-17T13:02:09.904776Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:02:09.904755Z", + "to": "2024-01-17T13:02:09.904776Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:48:06.731003Z", "lte": "2024-01-17T13:03:06.731003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:48:06.731003Z", "lte": "2024-01-17T13:03:06.731003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:03:06.742774Z", + "endtime": "2024-01-17T13:03:06.731003Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:48:06.731003Z", + "time_taken": 0.01174616813659668 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:03:06.742774Z", + "endtime": "2024-01-17T13:03:06.731003Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:48:06.731003Z", + "time_taken": 0.01174616813659668 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:03:09.904846Z", + "to": "2024-01-17T13:03:09.904874Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:03:09.904846Z", + "to": "2024-01-17T13:03:09.904874Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:49:07.686632Z", "lte": "2024-01-17T13:04:07.686632Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:49:07.686632Z", "lte": "2024-01-17T13:04:07.686632Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:04:07.698365Z", + "endtime": "2024-01-17T13:04:07.686632Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:49:07.686632Z", + "time_taken": 0.011674165725708008 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:04:07.698365Z", + "endtime": "2024-01-17T13:04:07.686632Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:49:07.686632Z", + "time_taken": 0.011674165725708008 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:04:09.906423Z", + "to": "2024-01-17T13:04:09.906441Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:04:09.906423Z", + "to": "2024-01-17T13:04:09.906441Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:50:09.393305Z", "lte": "2024-01-17T13:05:09.393305Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:50:09.393305Z", "lte": "2024-01-17T13:05:09.393305Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:05:09.404226Z", + "endtime": "2024-01-17T13:05:09.393305Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:50:09.393305Z", + "time_taken": 0.010864973068237305 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:05:09.404226Z", + "endtime": "2024-01-17T13:05:09.393305Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:50:09.393305Z", + "time_taken": 0.010864973068237305 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:05:09.913647Z", + "to": "2024-01-17T13:05:09.913686Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:05:09.913647Z", + "to": "2024-01-17T13:05:09.913686Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:06:09.911208Z", + "to": "2024-01-17T13:06:09.911234Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:06:09.911208Z", + "to": "2024-01-17T13:06:09.911234Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:51:12.806285Z", "lte": "2024-01-17T13:06:12.806285Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:51:12.806285Z", "lte": "2024-01-17T13:06:12.806285Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:06:12.813755Z", + "endtime": "2024-01-17T13:06:12.806285Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:51:12.806285Z", + "time_taken": 0.007416248321533203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:06:12.813755Z", + "endtime": "2024-01-17T13:06:12.806285Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:51:12.806285Z", + "time_taken": 0.007416248321533203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:07:09.913473Z", + "to": "2024-01-17T13:07:09.913499Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:07:09.913473Z", + "to": "2024-01-17T13:07:09.913499Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:52:15.712405Z", "lte": "2024-01-17T13:07:15.712405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:52:15.712405Z", "lte": "2024-01-17T13:07:15.712405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:07:15.719934Z", + "endtime": "2024-01-17T13:07:15.712405Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:52:15.712405Z", + "time_taken": 0.007476091384887695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:07:15.719934Z", + "endtime": "2024-01-17T13:07:15.712405Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:52:15.712405Z", + "time_taken": 0.007476091384887695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:08:09.904416Z", + "to": "2024-01-17T13:08:09.904455Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:08:09.904416Z", + "to": "2024-01-17T13:08:09.904455Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:53:19.182219Z", "lte": "2024-01-17T13:08:19.182219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:53:19.182219Z", "lte": "2024-01-17T13:08:19.182219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:08:19.189065Z", + "endtime": "2024-01-17T13:08:19.182219Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:53:19.182219Z", + "time_taken": 0.006814002990722656 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:08:19.189065Z", + "endtime": "2024-01-17T13:08:19.182219Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:53:19.182219Z", + "time_taken": 0.006814002990722656 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:09:09.913930Z", + "to": "2024-01-17T13:09:09.913960Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:09:09.913930Z", + "to": "2024-01-17T13:09:09.913960Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:54:21.960966Z", "lte": "2024-01-17T13:09:21.960966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:54:21.960966Z", "lte": "2024-01-17T13:09:21.960966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:09:21.968240Z", + "endtime": "2024-01-17T13:09:21.960966Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:54:21.960966Z", + "time_taken": 0.007228851318359375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:09:21.968240Z", + "endtime": "2024-01-17T13:09:21.960966Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:54:21.960966Z", + "time_taken": 0.007228851318359375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:10:09.904774Z", + "to": "2024-01-17T13:10:09.904812Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:10:09.904774Z", + "to": "2024-01-17T13:10:09.904812Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:55:26.116207Z", "lte": "2024-01-17T13:10:26.116207Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:55:26.116207Z", "lte": "2024-01-17T13:10:26.116207Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:10:26.123489Z", + "endtime": "2024-01-17T13:10:26.116207Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:55:26.116207Z", + "time_taken": 0.007225751876831055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:10:26.123489Z", + "endtime": "2024-01-17T13:10:26.116207Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:55:26.116207Z", + "time_taken": 0.007225751876831055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:11:09.905201Z", + "to": "2024-01-17T13:11:09.905240Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:11:09.905201Z", + "to": "2024-01-17T13:11:09.905240Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:56:27.820009Z", "lte": "2024-01-17T13:11:27.820009Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:56:27.820009Z", "lte": "2024-01-17T13:11:27.820009Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:11:27.834629Z", + "endtime": "2024-01-17T13:11:27.820009Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:56:27.820009Z", + "time_taken": 0.014564037322998047 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:11:27.834629Z", + "endtime": "2024-01-17T13:11:27.820009Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:56:27.820009Z", + "time_taken": 0.014564037322998047 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:12:09.910756Z", + "to": "2024-01-17T13:12:09.910806Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:12:09.910756Z", + "to": "2024-01-17T13:12:09.910806Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:57:29.730264Z", "lte": "2024-01-17T13:12:29.730264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:57:29.730264Z", "lte": "2024-01-17T13:12:29.730264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:12:29.740126Z", + "endtime": "2024-01-17T13:12:29.730264Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:57:29.730264Z", + "time_taken": 0.00980520248413086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:12:29.740126Z", + "endtime": "2024-01-17T13:12:29.730264Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:57:29.730264Z", + "time_taken": 0.00980520248413086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:13:09.910125Z", + "to": "2024-01-17T13:13:09.910141Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:13:09.910125Z", + "to": "2024-01-17T13:13:09.910141Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:58:33.429159Z", "lte": "2024-01-17T13:13:33.429159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:58:33.429159Z", "lte": "2024-01-17T13:13:33.429159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:13:33.437547Z", + "endtime": "2024-01-17T13:13:33.429159Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:58:33.429159Z", + "time_taken": 0.008331060409545898 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:13:33.437547Z", + "endtime": "2024-01-17T13:13:33.429159Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:58:33.429159Z", + "time_taken": 0.008331060409545898 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:14:09.913374Z", + "to": "2024-01-17T13:14:09.913413Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:14:09.913374Z", + "to": "2024-01-17T13:14:09.913413Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:59:35.269985Z", "lte": "2024-01-17T13:14:35.269985Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:59:35.269985Z", "lte": "2024-01-17T13:14:35.269985Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:14:35.276979Z", + "endtime": "2024-01-17T13:14:35.269985Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:59:35.269985Z", + "time_taken": 0.006934165954589844 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:14:35.276979Z", + "endtime": "2024-01-17T13:14:35.269985Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T12:59:35.269985Z", + "time_taken": 0.006934165954589844 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:15:09.913485Z", + "to": "2024-01-17T13:15:09.913525Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:15:09.913485Z", + "to": "2024-01-17T13:15:09.913525Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:39.744669Z", "lte": "2024-01-17T13:15:39.744669Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:39.744669Z", "lte": "2024-01-17T13:15:39.744669Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:15:39.752186Z", + "endtime": "2024-01-17T13:15:39.744669Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:00:39.744669Z", + "time_taken": 0.007483959197998047 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:15:39.752186Z", + "endtime": "2024-01-17T13:15:39.744669Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:00:39.744669Z", + "time_taken": 0.007483959197998047 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:16:09.912051Z", + "to": "2024-01-17T13:16:09.912091Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:16:09.912051Z", + "to": "2024-01-17T13:16:09.912091Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:01:43.187728Z", "lte": "2024-01-17T13:16:43.187728Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:01:43.187728Z", "lte": "2024-01-17T13:16:43.187728Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:16:43.206018Z", + "endtime": "2024-01-17T13:16:43.187728Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:01:43.187728Z", + "time_taken": 0.018231868743896484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:16:43.206018Z", + "endtime": "2024-01-17T13:16:43.187728Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:01:43.187728Z", + "time_taken": 0.018231868743896484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:17:09.905905Z", + "to": "2024-01-17T13:17:09.905943Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:17:09.905905Z", + "to": "2024-01-17T13:17:09.905943Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:02:43.434932Z", "lte": "2024-01-17T13:17:43.434932Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:02:43.434932Z", "lte": "2024-01-17T13:17:43.434932Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:17:43.441606Z", + "endtime": "2024-01-17T13:17:43.434932Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:02:43.434932Z", + "time_taken": 0.006618022918701172 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:17:43.441606Z", + "endtime": "2024-01-17T13:17:43.434932Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:02:43.434932Z", + "time_taken": 0.006618022918701172 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:18:09.912113Z", + "to": "2024-01-17T13:18:09.912138Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:18:09.912113Z", + "to": "2024-01-17T13:18:09.912138Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:03:43.511956Z", "lte": "2024-01-17T13:18:43.511956Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:03:43.511956Z", "lte": "2024-01-17T13:18:43.511956Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:18:43.520131Z", + "endtime": "2024-01-17T13:18:43.511956Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:03:43.511956Z", + "time_taken": 0.008118867874145508 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:18:43.520131Z", + "endtime": "2024-01-17T13:18:43.511956Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:03:43.511956Z", + "time_taken": 0.008118867874145508 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:19:09.909994Z", + "to": "2024-01-17T13:19:09.910021Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:19:09.909994Z", + "to": "2024-01-17T13:19:09.910021Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:04:44.135641Z", "lte": "2024-01-17T13:19:44.135641Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:04:44.135641Z", "lte": "2024-01-17T13:19:44.135641Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:19:44.143722Z", + "endtime": "2024-01-17T13:19:44.135641Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:04:44.135641Z", + "time_taken": 0.008024930953979492 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:19:44.143722Z", + "endtime": "2024-01-17T13:19:44.135641Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:04:44.135641Z", + "time_taken": 0.008024930953979492 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:20:09.913615Z", + "to": "2024-01-17T13:20:09.913640Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:20:09.913615Z", + "to": "2024-01-17T13:20:09.913640Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:05:48.347738Z", "lte": "2024-01-17T13:20:48.347738Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:05:48.347738Z", "lte": "2024-01-17T13:20:48.347738Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:20:48.355304Z", + "endtime": "2024-01-17T13:20:48.347738Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:05:48.347738Z", + "time_taken": 0.0075299739837646484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:20:48.355304Z", + "endtime": "2024-01-17T13:20:48.347738Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:05:48.347738Z", + "time_taken": 0.0075299739837646484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:21:09.912709Z", + "to": "2024-01-17T13:21:09.912750Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:21:09.912709Z", + "to": "2024-01-17T13:21:09.912750Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:06:50.149247Z", "lte": "2024-01-17T13:21:50.149247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:06:50.149247Z", "lte": "2024-01-17T13:21:50.149247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:21:50.157632Z", + "endtime": "2024-01-17T13:21:50.149247Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:06:50.149247Z", + "time_taken": 0.008350849151611328 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:21:50.157632Z", + "endtime": "2024-01-17T13:21:50.149247Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:06:50.149247Z", + "time_taken": 0.008350849151611328 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:22:09.910305Z", + "to": "2024-01-17T13:22:09.910322Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:22:09.910305Z", + "to": "2024-01-17T13:22:09.910322Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:07:52.372117Z", "lte": "2024-01-17T13:22:52.372117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:07:52.372117Z", "lte": "2024-01-17T13:22:52.372117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:22:52.381159Z", + "endtime": "2024-01-17T13:22:52.372117Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:07:52.372117Z", + "time_taken": 0.00898599624633789 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:22:52.381159Z", + "endtime": "2024-01-17T13:22:52.372117Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:07:52.372117Z", + "time_taken": 0.00898599624633789 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:23:09.905871Z", + "to": "2024-01-17T13:23:09.905890Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:23:09.905871Z", + "to": "2024-01-17T13:23:09.905890Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:08:55.024167Z", "lte": "2024-01-17T13:23:55.024167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:08:55.024167Z", "lte": "2024-01-17T13:23:55.024167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:23:55.035897Z", + "endtime": "2024-01-17T13:23:55.024167Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:08:55.024167Z", + "time_taken": 0.01168513298034668 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:23:55.035897Z", + "endtime": "2024-01-17T13:23:55.024167Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:08:55.024167Z", + "time_taken": 0.01168513298034668 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:24:09.906432Z", + "to": "2024-01-17T13:24:09.906471Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:24:09.906432Z", + "to": "2024-01-17T13:24:09.906471Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:09:57.194802Z", "lte": "2024-01-17T13:24:57.194802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:09:57.194802Z", "lte": "2024-01-17T13:24:57.194802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:24:57.203728Z", + "endtime": "2024-01-17T13:24:57.194802Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:09:57.194802Z", + "time_taken": 0.00887298583984375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:24:57.203728Z", + "endtime": "2024-01-17T13:24:57.194802Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:09:57.194802Z", + "time_taken": 0.00887298583984375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:25:09.906534Z", + "to": "2024-01-17T13:25:09.906573Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:25:09.906534Z", + "to": "2024-01-17T13:25:09.906573Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:11:02.174918Z", "lte": "2024-01-17T13:26:02.174918Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:11:02.174918Z", "lte": "2024-01-17T13:26:02.174918Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:26:02.183367Z", + "endtime": "2024-01-17T13:26:02.174918Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:11:02.174918Z", + "time_taken": 0.008408069610595703 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:26:02.183367Z", + "endtime": "2024-01-17T13:26:02.174918Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:11:02.174918Z", + "time_taken": 0.008408069610595703 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:26:09.905838Z", + "to": "2024-01-17T13:26:09.905877Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:26:09.905838Z", + "to": "2024-01-17T13:26:09.905877Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:12:05.633839Z", "lte": "2024-01-17T13:27:05.633839Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:12:05.633839Z", "lte": "2024-01-17T13:27:05.633839Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:27:05.641617Z", + "endtime": "2024-01-17T13:27:05.633839Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:12:05.633839Z", + "time_taken": 0.007706165313720703 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:27:05.641617Z", + "endtime": "2024-01-17T13:27:05.633839Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:12:05.633839Z", + "time_taken": 0.007706165313720703 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:27:09.908245Z", + "to": "2024-01-17T13:27:09.908284Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:27:09.908245Z", + "to": "2024-01-17T13:27:09.908284Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:13:09.502392Z", "lte": "2024-01-17T13:28:09.502392Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:13:09.502392Z", "lte": "2024-01-17T13:28:09.502392Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:28:09.510402Z", + "endtime": "2024-01-17T13:28:09.502392Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:13:09.502392Z", + "time_taken": 0.007977008819580078 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:28:09.510402Z", + "endtime": "2024-01-17T13:28:09.502392Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:13:09.502392Z", + "time_taken": 0.007977008819580078 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:28:09.907070Z", + "to": "2024-01-17T13:28:09.907087Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:28:09.907070Z", + "to": "2024-01-17T13:28:09.907087Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:14:09.830443Z", "lte": "2024-01-17T13:29:09.830443Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:14:09.830443Z", "lte": "2024-01-17T13:29:09.830443Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:29:09.838919Z", + "endtime": "2024-01-17T13:29:09.830443Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:14:09.830443Z", + "time_taken": 0.008437156677246094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:29:09.838919Z", + "endtime": "2024-01-17T13:29:09.830443Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:14:09.830443Z", + "time_taken": 0.008437156677246094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:29:09.907430Z", + "to": "2024-01-17T13:29:09.907451Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:29:09.907430Z", + "to": "2024-01-17T13:29:09.907451Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:30:09.906829Z", + "to": "2024-01-17T13:30:09.906868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:30:09.906829Z", + "to": "2024-01-17T13:30:09.906868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:15:10.847812Z", "lte": "2024-01-17T13:30:10.847812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:15:10.847812Z", "lte": "2024-01-17T13:30:10.847812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:30:10.856080Z", + "endtime": "2024-01-17T13:30:10.847812Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:15:10.847812Z", + "time_taken": 0.008227109909057617 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:30:10.856080Z", + "endtime": "2024-01-17T13:30:10.847812Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:15:10.847812Z", + "time_taken": 0.008227109909057617 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:31:09.909062Z", + "to": "2024-01-17T13:31:09.909102Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:31:09.909062Z", + "to": "2024-01-17T13:31:09.909102Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:16:11.013071Z", "lte": "2024-01-17T13:31:11.013071Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:16:11.013071Z", "lte": "2024-01-17T13:31:11.013071Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:31:11.035445Z", + "endtime": "2024-01-17T13:31:11.013071Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:16:11.013071Z", + "time_taken": 0.022343158721923828 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:31:11.035445Z", + "endtime": "2024-01-17T13:31:11.013071Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:16:11.013071Z", + "time_taken": 0.022343158721923828 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:32:09.908774Z", + "to": "2024-01-17T13:32:09.908801Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:32:09.908774Z", + "to": "2024-01-17T13:32:09.908801Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:17:15.733074Z", "lte": "2024-01-17T13:32:15.733074Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:17:15.733074Z", "lte": "2024-01-17T13:32:15.733074Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:32:15.740441Z", + "endtime": "2024-01-17T13:32:15.733074Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:17:15.733074Z", + "time_taken": 0.007328033447265625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:32:15.740441Z", + "endtime": "2024-01-17T13:32:15.733074Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:17:15.733074Z", + "time_taken": 0.007328033447265625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:33:09.903858Z", + "to": "2024-01-17T13:33:09.903888Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:33:09.903858Z", + "to": "2024-01-17T13:33:09.903888Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:18:16.739495Z", "lte": "2024-01-17T13:33:16.739495Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:18:16.739495Z", "lte": "2024-01-17T13:33:16.739495Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:33:16.745400Z", + "endtime": "2024-01-17T13:33:16.739495Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:18:16.739495Z", + "time_taken": 0.005873918533325195 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:33:16.745400Z", + "endtime": "2024-01-17T13:33:16.739495Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:18:16.739495Z", + "time_taken": 0.005873918533325195 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:34:09.903274Z", + "to": "2024-01-17T13:34:09.903312Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:34:09.903274Z", + "to": "2024-01-17T13:34:09.903312Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:19:20.632781Z", "lte": "2024-01-17T13:34:20.632781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:19:20.632781Z", "lte": "2024-01-17T13:34:20.632781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:34:20.638421Z", + "endtime": "2024-01-17T13:34:20.632781Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:19:20.632781Z", + "time_taken": 0.005606174468994141 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:34:20.638421Z", + "endtime": "2024-01-17T13:34:20.632781Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:19:20.632781Z", + "time_taken": 0.005606174468994141 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:35:09.906614Z", + "to": "2024-01-17T13:35:09.906657Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:35:09.906614Z", + "to": "2024-01-17T13:35:09.906657Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:20:22.615252Z", "lte": "2024-01-17T13:35:22.615252Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:20:22.615252Z", "lte": "2024-01-17T13:35:22.615252Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:35:22.626527Z", + "endtime": "2024-01-17T13:35:22.615252Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:20:22.615252Z", + "time_taken": 0.011210203170776367 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:35:22.626527Z", + "endtime": "2024-01-17T13:35:22.615252Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:20:22.615252Z", + "time_taken": 0.011210203170776367 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:36:09.908015Z", + "to": "2024-01-17T13:36:09.908055Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:36:09.908015Z", + "to": "2024-01-17T13:36:09.908055Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:21:24.822497Z", "lte": "2024-01-17T13:36:24.822497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:21:24.822497Z", "lte": "2024-01-17T13:36:24.822497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:36:24.829543Z", + "endtime": "2024-01-17T13:36:24.822497Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:21:24.822497Z", + "time_taken": 0.00700688362121582 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:36:24.829543Z", + "endtime": "2024-01-17T13:36:24.822497Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:21:24.822497Z", + "time_taken": 0.00700688362121582 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:37:09.907047Z", + "to": "2024-01-17T13:37:09.907072Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:37:09.907047Z", + "to": "2024-01-17T13:37:09.907072Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:22:28.058030Z", "lte": "2024-01-17T13:37:28.058030Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:22:28.058030Z", "lte": "2024-01-17T13:37:28.058030Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:37:28.067643Z", + "endtime": "2024-01-17T13:37:28.058030Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:22:28.058030Z", + "time_taken": 0.009535789489746094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:37:28.067643Z", + "endtime": "2024-01-17T13:37:28.058030Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:22:28.058030Z", + "time_taken": 0.009535789489746094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:38:09.908079Z", + "to": "2024-01-17T13:38:09.908229Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:38:09.908079Z", + "to": "2024-01-17T13:38:09.908229Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:23:28.684833Z", "lte": "2024-01-17T13:38:28.684833Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:23:28.684833Z", "lte": "2024-01-17T13:38:28.684833Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:38:28.691856Z", + "endtime": "2024-01-17T13:38:28.684833Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:23:28.684833Z", + "time_taken": 0.006968021392822266 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:38:28.691856Z", + "endtime": "2024-01-17T13:38:28.684833Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:23:28.684833Z", + "time_taken": 0.006968021392822266 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:39:09.906036Z", + "to": "2024-01-17T13:39:09.906075Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:39:09.906036Z", + "to": "2024-01-17T13:39:09.906075Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:24:31.705650Z", "lte": "2024-01-17T13:39:31.705650Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:24:31.705650Z", "lte": "2024-01-17T13:39:31.705650Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:39:31.714562Z", + "endtime": "2024-01-17T13:39:31.705650Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:24:31.705650Z", + "time_taken": 0.008854866027832031 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:39:31.714562Z", + "endtime": "2024-01-17T13:39:31.705650Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:24:31.705650Z", + "time_taken": 0.008854866027832031 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:40:09.904723Z", + "to": "2024-01-17T13:40:09.904762Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:40:09.904723Z", + "to": "2024-01-17T13:40:09.904762Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:25:33.664809Z", "lte": "2024-01-17T13:40:33.664809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:25:33.664809Z", "lte": "2024-01-17T13:40:33.664809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:40:33.673702Z", + "endtime": "2024-01-17T13:40:33.664809Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:25:33.664809Z", + "time_taken": 0.008852958679199219 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:40:33.673702Z", + "endtime": "2024-01-17T13:40:33.664809Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:25:33.664809Z", + "time_taken": 0.008852958679199219 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:41:09.908011Z", + "to": "2024-01-17T13:41:09.908051Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:41:09.908011Z", + "to": "2024-01-17T13:41:09.908051Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:26:38.138489Z", "lte": "2024-01-17T13:41:38.138489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:26:38.138489Z", "lte": "2024-01-17T13:41:38.138489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:41:38.145518Z", + "endtime": "2024-01-17T13:41:38.138489Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:26:38.138489Z", + "time_taken": 0.006989002227783203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:41:38.145518Z", + "endtime": "2024-01-17T13:41:38.138489Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:26:38.138489Z", + "time_taken": 0.006989002227783203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:42:09.907440Z", + "to": "2024-01-17T13:42:09.907465Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:42:09.907440Z", + "to": "2024-01-17T13:42:09.907465Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:27:42.859808Z", "lte": "2024-01-17T13:42:42.859808Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:27:42.859808Z", "lte": "2024-01-17T13:42:42.859808Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:42:42.868095Z", + "endtime": "2024-01-17T13:42:42.859808Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:27:42.859808Z", + "time_taken": 0.008246660232543945 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:42:42.868095Z", + "endtime": "2024-01-17T13:42:42.859808Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:27:42.859808Z", + "time_taken": 0.008246660232543945 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:43:09.908110Z", + "to": "2024-01-17T13:43:09.908137Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:43:09.908110Z", + "to": "2024-01-17T13:43:09.908137Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:28:42.913622Z", "lte": "2024-01-17T13:43:42.913622Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:28:42.913622Z", "lte": "2024-01-17T13:43:42.913622Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:43:42.924514Z", + "endtime": "2024-01-17T13:43:42.913622Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:28:42.913622Z", + "time_taken": 0.0108489990234375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:43:42.924514Z", + "endtime": "2024-01-17T13:43:42.913622Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:28:42.913622Z", + "time_taken": 0.0108489990234375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:44:09.905927Z", + "to": "2024-01-17T13:44:09.905968Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:44:09.905927Z", + "to": "2024-01-17T13:44:09.905968Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:29:44.531581Z", "lte": "2024-01-17T13:44:44.531581Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:29:44.531581Z", "lte": "2024-01-17T13:44:44.531581Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:44:44.538634Z", + "endtime": "2024-01-17T13:44:44.531581Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:29:44.531581Z", + "time_taken": 0.006996870040893555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:44:44.538634Z", + "endtime": "2024-01-17T13:44:44.531581Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:29:44.531581Z", + "time_taken": 0.006996870040893555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:45:09.903943Z", + "to": "2024-01-17T13:45:09.903982Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:45:09.903943Z", + "to": "2024-01-17T13:45:09.903982Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:30:49.427583Z", "lte": "2024-01-17T13:45:49.427583Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:30:49.427583Z", "lte": "2024-01-17T13:45:49.427583Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:45:49.436351Z", + "endtime": "2024-01-17T13:45:49.427583Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:30:49.427583Z", + "time_taken": 0.0087127685546875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:45:49.436351Z", + "endtime": "2024-01-17T13:45:49.427583Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:30:49.427583Z", + "time_taken": 0.0087127685546875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:46:09.906616Z", + "to": "2024-01-17T13:46:09.906645Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:46:09.906616Z", + "to": "2024-01-17T13:46:09.906645Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:31:50.981463Z", "lte": "2024-01-17T13:46:50.981463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:31:50.981463Z", "lte": "2024-01-17T13:46:50.981463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:46:50.989986Z", + "endtime": "2024-01-17T13:46:50.981463Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:31:50.981463Z", + "time_taken": 0.008487939834594727 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:46:50.989986Z", + "endtime": "2024-01-17T13:46:50.981463Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:31:50.981463Z", + "time_taken": 0.008487939834594727 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:47:09.906162Z", + "to": "2024-01-17T13:47:09.906180Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:47:09.906162Z", + "to": "2024-01-17T13:47:09.906180Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:32:52.960335Z", "lte": "2024-01-17T13:47:52.960335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:32:52.960335Z", "lte": "2024-01-17T13:47:52.960335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:47:52.969169Z", + "endtime": "2024-01-17T13:47:52.960335Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:32:52.960335Z", + "time_taken": 0.008779048919677734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:47:52.969169Z", + "endtime": "2024-01-17T13:47:52.960335Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:32:52.960335Z", + "time_taken": 0.008779048919677734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:48:09.907436Z", + "to": "2024-01-17T13:48:09.907462Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:48:09.907436Z", + "to": "2024-01-17T13:48:09.907462Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:33:55.058577Z", "lte": "2024-01-17T13:48:55.058577Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:33:55.058577Z", "lte": "2024-01-17T13:48:55.058577Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:48:55.066971Z", + "endtime": "2024-01-17T13:48:55.058577Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:33:55.058577Z", + "time_taken": 0.008334159851074219 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:48:55.066971Z", + "endtime": "2024-01-17T13:48:55.058577Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:33:55.058577Z", + "time_taken": 0.008334159851074219 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:49:09.903331Z", + "to": "2024-01-17T13:49:09.903355Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:49:09.903331Z", + "to": "2024-01-17T13:49:09.903355Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:35:00.054829Z", "lte": "2024-01-17T13:50:00.054829Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:35:00.054829Z", "lte": "2024-01-17T13:50:00.054829Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:50:00.066501Z", + "endtime": "2024-01-17T13:50:00.054829Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:35:00.054829Z", + "time_taken": 0.011622905731201172 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:50:00.066501Z", + "endtime": "2024-01-17T13:50:00.054829Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:35:00.054829Z", + "time_taken": 0.011622905731201172 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:50:09.903921Z", + "to": "2024-01-17T13:50:09.903952Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:50:09.903921Z", + "to": "2024-01-17T13:50:09.903952Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:36:03.884345Z", "lte": "2024-01-17T13:51:03.884345Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:36:03.884345Z", "lte": "2024-01-17T13:51:03.884345Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:51:03.898865Z", + "endtime": "2024-01-17T13:51:03.884345Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:36:03.884345Z", + "time_taken": 0.014486074447631836 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:51:03.898865Z", + "endtime": "2024-01-17T13:51:03.884345Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:36:03.884345Z", + "time_taken": 0.014486074447631836 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:51:09.905090Z", + "to": "2024-01-17T13:51:09.905110Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:51:09.905090Z", + "to": "2024-01-17T13:51:09.905110Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:37:04.983619Z", "lte": "2024-01-17T13:52:04.983619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:37:04.983619Z", "lte": "2024-01-17T13:52:04.983619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:52:04.994715Z", + "endtime": "2024-01-17T13:52:04.983619Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:37:04.983619Z", + "time_taken": 0.011034011840820312 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:52:04.994715Z", + "endtime": "2024-01-17T13:52:04.983619Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:37:04.983619Z", + "time_taken": 0.011034011840820312 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:52:09.903919Z", + "to": "2024-01-17T13:52:09.903940Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:52:09.903919Z", + "to": "2024-01-17T13:52:09.903940Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:38:09.874810Z", "lte": "2024-01-17T13:53:09.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:38:09.874810Z", "lte": "2024-01-17T13:53:09.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:53:09.884653Z", + "endtime": "2024-01-17T13:53:09.874810Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:38:09.874810Z", + "time_taken": 0.009786844253540039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:53:09.884653Z", + "endtime": "2024-01-17T13:53:09.874810Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:38:09.874810Z", + "time_taken": 0.009786844253540039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:53:09.905188Z", + "to": "2024-01-17T13:53:09.905206Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:53:09.905188Z", + "to": "2024-01-17T13:53:09.905206Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:54:09.906482Z", + "to": "2024-01-17T13:54:09.906509Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:54:09.906482Z", + "to": "2024-01-17T13:54:09.906509Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:39:12.209948Z", "lte": "2024-01-17T13:54:12.209948Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:39:12.209948Z", "lte": "2024-01-17T13:54:12.209948Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:54:12.217116Z", + "endtime": "2024-01-17T13:54:12.209948Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:39:12.209948Z", + "time_taken": 0.007113933563232422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:54:12.217116Z", + "endtime": "2024-01-17T13:54:12.209948Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:39:12.209948Z", + "time_taken": 0.007113933563232422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:55:09.905753Z", + "to": "2024-01-17T13:55:09.905792Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:55:09.905753Z", + "to": "2024-01-17T13:55:09.905792Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:40:16.000354Z", "lte": "2024-01-17T13:55:16.000354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:40:16.000354Z", "lte": "2024-01-17T13:55:16.000354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:55:16.005920Z", + "endtime": "2024-01-17T13:55:16.000354Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:40:16.000354Z", + "time_taken": 0.005532979965209961 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:55:16.005920Z", + "endtime": "2024-01-17T13:55:16.000354Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:40:16.000354Z", + "time_taken": 0.005532979965209961 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:56:09.905741Z", + "to": "2024-01-17T13:56:09.905785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:56:09.905741Z", + "to": "2024-01-17T13:56:09.905785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:41:17.555180Z", "lte": "2024-01-17T13:56:17.555180Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:41:17.555180Z", "lte": "2024-01-17T13:56:17.555180Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:56:17.562866Z", + "endtime": "2024-01-17T13:56:17.555180Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:41:17.555180Z", + "time_taken": 0.00765228271484375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:56:17.562866Z", + "endtime": "2024-01-17T13:56:17.555180Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:41:17.555180Z", + "time_taken": 0.00765228271484375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:57:09.904582Z", + "to": "2024-01-17T13:57:09.904626Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:57:09.904582Z", + "to": "2024-01-17T13:57:09.904626Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:42:18.311200Z", "lte": "2024-01-17T13:57:18.311200Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:42:18.311200Z", "lte": "2024-01-17T13:57:18.311200Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:57:18.320267Z", + "endtime": "2024-01-17T13:57:18.311200Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:42:18.311200Z", + "time_taken": 0.009011030197143555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:57:18.320267Z", + "endtime": "2024-01-17T13:57:18.311200Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:42:18.311200Z", + "time_taken": 0.009011030197143555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:58:09.904176Z", + "to": "2024-01-17T13:58:09.904214Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:58:09.904176Z", + "to": "2024-01-17T13:58:09.904214Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:43:23.042005Z", "lte": "2024-01-17T13:58:23.042005Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:43:23.042005Z", "lte": "2024-01-17T13:58:23.042005Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:58:23.053624Z", + "endtime": "2024-01-17T13:58:23.042005Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:43:23.042005Z", + "time_taken": 0.011579751968383789 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:58:23.053624Z", + "endtime": "2024-01-17T13:58:23.042005Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:43:23.042005Z", + "time_taken": 0.011579751968383789 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:59:09.903356Z", + "to": "2024-01-17T13:59:09.903395Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T13:59:09.903356Z", + "to": "2024-01-17T13:59:09.903395Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:44:26.281134Z", "lte": "2024-01-17T13:59:26.281134Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:44:26.281134Z", "lte": "2024-01-17T13:59:26.281134Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:59:26.289144Z", + "endtime": "2024-01-17T13:59:26.281134Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:44:26.281134Z", + "time_taken": 0.007977008819580078 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T13:59:26.289144Z", + "endtime": "2024-01-17T13:59:26.281134Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:44:26.281134Z", + "time_taken": 0.007977008819580078 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:00:09.903920Z", + "to": "2024-01-17T14:00:09.903961Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:00:09.903920Z", + "to": "2024-01-17T14:00:09.903961Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:45:29.018181Z", "lte": "2024-01-17T14:00:29.018181Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:45:29.018181Z", "lte": "2024-01-17T14:00:29.018181Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:00:29.027554Z", + "endtime": "2024-01-17T14:00:29.018181Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:45:29.018181Z", + "time_taken": 0.009320974349975586 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:00:29.027554Z", + "endtime": "2024-01-17T14:00:29.018181Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:45:29.018181Z", + "time_taken": 0.009320974349975586 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:01:09.907066Z", + "to": "2024-01-17T14:01:09.907083Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:01:09.907066Z", + "to": "2024-01-17T14:01:09.907083Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:46:31.053417Z", "lte": "2024-01-17T14:01:31.053417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:46:31.053417Z", "lte": "2024-01-17T14:01:31.053417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:01:31.062470Z", + "endtime": "2024-01-17T14:01:31.053417Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:46:31.053417Z", + "time_taken": 0.008985280990600586 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:01:31.062470Z", + "endtime": "2024-01-17T14:01:31.053417Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:46:31.053417Z", + "time_taken": 0.008985280990600586 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:02:09.906228Z", + "to": "2024-01-17T14:02:09.906270Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:02:09.906228Z", + "to": "2024-01-17T14:02:09.906270Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:47:32.439562Z", "lte": "2024-01-17T14:02:32.439562Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:47:32.439562Z", "lte": "2024-01-17T14:02:32.439562Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:02:32.451159Z", + "endtime": "2024-01-17T14:02:32.439562Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:47:32.439562Z", + "time_taken": 0.011535882949829102 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:02:32.451159Z", + "endtime": "2024-01-17T14:02:32.439562Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:47:32.439562Z", + "time_taken": 0.011535882949829102 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:03:09.904201Z", + "to": "2024-01-17T14:03:09.904242Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:03:09.904201Z", + "to": "2024-01-17T14:03:09.904242Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:48:32.601603Z", "lte": "2024-01-17T14:03:32.601603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:48:32.601603Z", "lte": "2024-01-17T14:03:32.601603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:03:32.609236Z", + "endtime": "2024-01-17T14:03:32.601603Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:48:32.601603Z", + "time_taken": 0.007578849792480469 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:03:32.609236Z", + "endtime": "2024-01-17T14:03:32.601603Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:48:32.601603Z", + "time_taken": 0.007578849792480469 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:04:09.974149Z", + "to": "2024-01-17T14:04:09.974190Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:04:09.974149Z", + "to": "2024-01-17T14:04:09.974190Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:49:37.362747Z", "lte": "2024-01-17T14:04:37.362747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:49:37.362747Z", "lte": "2024-01-17T14:04:37.362747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:04:37.370537Z", + "endtime": "2024-01-17T14:04:37.362747Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:49:37.362747Z", + "time_taken": 0.007734060287475586 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:04:37.370537Z", + "endtime": "2024-01-17T14:04:37.362747Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:49:37.362747Z", + "time_taken": 0.007734060287475586 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:05:09.910129Z", + "to": "2024-01-17T14:05:09.910167Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:05:09.910129Z", + "to": "2024-01-17T14:05:09.910167Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:50:38.512003Z", "lte": "2024-01-17T14:05:38.512003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:50:38.512003Z", "lte": "2024-01-17T14:05:38.512003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:05:38.519856Z", + "endtime": "2024-01-17T14:05:38.512003Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:50:38.512003Z", + "time_taken": 0.007796764373779297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:05:38.519856Z", + "endtime": "2024-01-17T14:05:38.512003Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:50:38.512003Z", + "time_taken": 0.007796764373779297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:06:09.912954Z", + "to": "2024-01-17T14:06:09.912976Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:06:09.912954Z", + "to": "2024-01-17T14:06:09.912976Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:51:38.855210Z", "lte": "2024-01-17T14:06:38.855210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:51:38.855210Z", "lte": "2024-01-17T14:06:38.855210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:06:38.862770Z", + "endtime": "2024-01-17T14:06:38.855210Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:51:38.855210Z", + "time_taken": 0.00750422477722168 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:06:38.862770Z", + "endtime": "2024-01-17T14:06:38.855210Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:51:38.855210Z", + "time_taken": 0.00750422477722168 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:07:09.911802Z", + "to": "2024-01-17T14:07:09.911829Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:07:09.911802Z", + "to": "2024-01-17T14:07:09.911829Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:52:40.479535Z", "lte": "2024-01-17T14:07:40.479535Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:52:40.479535Z", "lte": "2024-01-17T14:07:40.479535Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:07:40.486804Z", + "endtime": "2024-01-17T14:07:40.479535Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:52:40.479535Z", + "time_taken": 0.00722813606262207 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:07:40.486804Z", + "endtime": "2024-01-17T14:07:40.479535Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:52:40.479535Z", + "time_taken": 0.00722813606262207 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:08:09.908149Z", + "to": "2024-01-17T14:08:09.908187Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:08:09.908149Z", + "to": "2024-01-17T14:08:09.908187Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:53:41.638812Z", "lte": "2024-01-17T14:08:41.638812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:53:41.638812Z", "lte": "2024-01-17T14:08:41.638812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:08:41.646761Z", + "endtime": "2024-01-17T14:08:41.638812Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:53:41.638812Z", + "time_taken": 0.007891178131103516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:08:41.646761Z", + "endtime": "2024-01-17T14:08:41.638812Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:53:41.638812Z", + "time_taken": 0.007891178131103516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:09:09.904135Z", + "to": "2024-01-17T14:09:09.904173Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:09:09.904135Z", + "to": "2024-01-17T14:09:09.904173Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:54:42.383797Z", "lte": "2024-01-17T14:09:42.383797Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:54:42.383797Z", "lte": "2024-01-17T14:09:42.383797Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:09:42.392471Z", + "endtime": "2024-01-17T14:09:42.383797Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:54:42.383797Z", + "time_taken": 0.008620023727416992 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:09:42.392471Z", + "endtime": "2024-01-17T14:09:42.383797Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:54:42.383797Z", + "time_taken": 0.008620023727416992 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:10:09.907496Z", + "to": "2024-01-17T14:10:09.907534Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:10:09.907496Z", + "to": "2024-01-17T14:10:09.907534Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:55:43.609652Z", "lte": "2024-01-17T14:10:43.609652Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:55:43.609652Z", "lte": "2024-01-17T14:10:43.609652Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:10:43.618272Z", + "endtime": "2024-01-17T14:10:43.609652Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:55:43.609652Z", + "time_taken": 0.008565187454223633 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:10:43.618272Z", + "endtime": "2024-01-17T14:10:43.609652Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:55:43.609652Z", + "time_taken": 0.008565187454223633 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:11:09.912388Z", + "to": "2024-01-17T14:11:09.912410Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:11:09.912388Z", + "to": "2024-01-17T14:11:09.912410Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:56:47.245852Z", "lte": "2024-01-17T14:11:47.245852Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:56:47.245852Z", "lte": "2024-01-17T14:11:47.245852Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:11:47.253017Z", + "endtime": "2024-01-17T14:11:47.245852Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:56:47.245852Z", + "time_taken": 0.007111072540283203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:11:47.253017Z", + "endtime": "2024-01-17T14:11:47.245852Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:56:47.245852Z", + "time_taken": 0.007111072540283203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:12:09.907148Z", + "to": "2024-01-17T14:12:09.907187Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:12:09.907148Z", + "to": "2024-01-17T14:12:09.907187Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:57:50.403335Z", "lte": "2024-01-17T14:12:50.403335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:57:50.403335Z", "lte": "2024-01-17T14:12:50.403335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:12:50.411558Z", + "endtime": "2024-01-17T14:12:50.403335Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:57:50.403335Z", + "time_taken": 0.008165121078491211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:12:50.411558Z", + "endtime": "2024-01-17T14:12:50.403335Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:57:50.403335Z", + "time_taken": 0.008165121078491211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:13:09.904643Z", + "to": "2024-01-17T14:13:09.904661Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:13:09.904643Z", + "to": "2024-01-17T14:13:09.904661Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:58:53.696463Z", "lte": "2024-01-17T14:13:53.696463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:58:53.696463Z", "lte": "2024-01-17T14:13:53.696463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:13:53.704741Z", + "endtime": "2024-01-17T14:13:53.696463Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:58:53.696463Z", + "time_taken": 0.008241891860961914 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:13:53.704741Z", + "endtime": "2024-01-17T14:13:53.696463Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:58:53.696463Z", + "time_taken": 0.008241891860961914 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:14:09.911995Z", + "to": "2024-01-17T14:14:09.912021Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:14:09.911995Z", + "to": "2024-01-17T14:14:09.912021Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:59:58.246827Z", "lte": "2024-01-17T14:14:58.246827Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:59:58.246827Z", "lte": "2024-01-17T14:14:58.246827Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:14:58.253795Z", + "endtime": "2024-01-17T14:14:58.246827Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:59:58.246827Z", + "time_taken": 0.0069141387939453125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:14:58.253795Z", + "endtime": "2024-01-17T14:14:58.246827Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T13:59:58.246827Z", + "time_taken": 0.0069141387939453125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:15:09.909428Z", + "to": "2024-01-17T14:15:09.909467Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:15:09.909428Z", + "to": "2024-01-17T14:15:09.909467Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:01:01.184817Z", "lte": "2024-01-17T14:16:01.184817Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:01:01.184817Z", "lte": "2024-01-17T14:16:01.184817Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:16:01.192982Z", + "endtime": "2024-01-17T14:16:01.184817Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:01:01.184817Z", + "time_taken": 0.008101940155029297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:16:01.192982Z", + "endtime": "2024-01-17T14:16:01.184817Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:01:01.184817Z", + "time_taken": 0.008101940155029297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:16:09.912224Z", + "to": "2024-01-17T14:16:09.912246Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:16:09.912224Z", + "to": "2024-01-17T14:16:09.912246Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:02:02.943547Z", "lte": "2024-01-17T14:17:02.943547Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:02:02.943547Z", "lte": "2024-01-17T14:17:02.943547Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:17:02.952533Z", + "endtime": "2024-01-17T14:17:02.943547Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:02:02.943547Z", + "time_taken": 0.00893092155456543 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:17:02.952533Z", + "endtime": "2024-01-17T14:17:02.943547Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:02:02.943547Z", + "time_taken": 0.00893092155456543 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:17:09.907972Z", + "to": "2024-01-17T14:17:09.908010Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:17:09.907972Z", + "to": "2024-01-17T14:17:09.908010Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:03:07.365261Z", "lte": "2024-01-17T14:18:07.365261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:03:07.365261Z", "lte": "2024-01-17T14:18:07.365261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:18:07.373062Z", + "endtime": "2024-01-17T14:18:07.365261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:03:07.365261Z", + "time_taken": 0.0077440738677978516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:18:07.373062Z", + "endtime": "2024-01-17T14:18:07.365261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:03:07.365261Z", + "time_taken": 0.0077440738677978516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:18:09.909312Z", + "to": "2024-01-17T14:18:09.909351Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:18:09.909312Z", + "to": "2024-01-17T14:18:09.909351Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:04:07.903037Z", "lte": "2024-01-17T14:19:07.903037Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:04:07.903037Z", "lte": "2024-01-17T14:19:07.903037Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:19:07.912973Z", + "endtime": "2024-01-17T14:19:07.903037Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:04:07.903037Z", + "time_taken": 0.009880781173706055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:19:07.912973Z", + "endtime": "2024-01-17T14:19:07.903037Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:04:07.903037Z", + "time_taken": 0.009880781173706055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:19:09.968254Z", + "to": "2024-01-17T14:19:09.968280Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:19:09.968254Z", + "to": "2024-01-17T14:19:09.968280Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:20:09.913546Z", + "to": "2024-01-17T14:20:09.913585Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:20:09.913546Z", + "to": "2024-01-17T14:20:09.913585Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:05:11.890261Z", "lte": "2024-01-17T14:20:11.890261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:05:11.890261Z", "lte": "2024-01-17T14:20:11.890261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:20:11.896169Z", + "endtime": "2024-01-17T14:20:11.890261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:05:11.890261Z", + "time_taken": 0.0058748722076416016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:20:11.896169Z", + "endtime": "2024-01-17T14:20:11.890261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:05:11.890261Z", + "time_taken": 0.0058748722076416016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:21:09.908138Z", + "to": "2024-01-17T14:21:09.908177Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:21:09.908138Z", + "to": "2024-01-17T14:21:09.908177Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:06:12.289887Z", "lte": "2024-01-17T14:21:12.289887Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:06:12.289887Z", "lte": "2024-01-17T14:21:12.289887Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:21:12.297148Z", + "endtime": "2024-01-17T14:21:12.289887Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:06:12.289887Z", + "time_taken": 0.007203102111816406 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:21:12.297148Z", + "endtime": "2024-01-17T14:21:12.289887Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:06:12.289887Z", + "time_taken": 0.007203102111816406 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:22:09.913574Z", + "to": "2024-01-17T14:22:09.913612Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:22:09.913574Z", + "to": "2024-01-17T14:22:09.913612Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:07:14.566604Z", "lte": "2024-01-17T14:22:14.566604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:07:14.566604Z", "lte": "2024-01-17T14:22:14.566604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:22:14.573744Z", + "endtime": "2024-01-17T14:22:14.566604Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:07:14.566604Z", + "time_taken": 0.007083892822265625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:22:14.573744Z", + "endtime": "2024-01-17T14:22:14.566604Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:07:14.566604Z", + "time_taken": 0.007083892822265625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:23:09.905838Z", + "to": "2024-01-17T14:23:09.905879Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:23:09.905838Z", + "to": "2024-01-17T14:23:09.905879Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:08:18.845260Z", "lte": "2024-01-17T14:23:18.845260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:08:18.845260Z", "lte": "2024-01-17T14:23:18.845260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:23:18.853077Z", + "endtime": "2024-01-17T14:23:18.845260Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:08:18.845260Z", + "time_taken": 0.007778644561767578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:23:18.853077Z", + "endtime": "2024-01-17T14:23:18.845260Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:08:18.845260Z", + "time_taken": 0.007778644561767578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:24:09.913587Z", + "to": "2024-01-17T14:24:09.913625Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:24:09.913587Z", + "to": "2024-01-17T14:24:09.913625Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:09:22.035824Z", "lte": "2024-01-17T14:24:22.035824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:09:22.035824Z", "lte": "2024-01-17T14:24:22.035824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:24:22.042052Z", + "endtime": "2024-01-17T14:24:22.035824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:09:22.035824Z", + "time_taken": 0.006172895431518555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:24:22.042052Z", + "endtime": "2024-01-17T14:24:22.035824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:09:22.035824Z", + "time_taken": 0.006172895431518555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:25:09.913460Z", + "to": "2024-01-17T14:25:09.913499Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:25:09.913460Z", + "to": "2024-01-17T14:25:09.913499Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:10:26.985222Z", "lte": "2024-01-17T14:25:26.985222Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:10:26.985222Z", "lte": "2024-01-17T14:25:26.985222Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:25:26.991586Z", + "endtime": "2024-01-17T14:25:26.985222Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:10:26.985222Z", + "time_taken": 0.00633692741394043 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:25:26.991586Z", + "endtime": "2024-01-17T14:25:26.985222Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:10:26.985222Z", + "time_taken": 0.00633692741394043 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:26:09.913399Z", + "to": "2024-01-17T14:26:09.913438Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:26:09.913399Z", + "to": "2024-01-17T14:26:09.913438Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:11:29.851406Z", "lte": "2024-01-17T14:26:29.851406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:11:29.851406Z", "lte": "2024-01-17T14:26:29.851406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:26:29.858274Z", + "endtime": "2024-01-17T14:26:29.851406Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:11:29.851406Z", + "time_taken": 0.006811857223510742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:26:29.858274Z", + "endtime": "2024-01-17T14:26:29.851406Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:11:29.851406Z", + "time_taken": 0.006811857223510742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:27:09.913596Z", + "to": "2024-01-17T14:27:09.913634Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:27:09.913596Z", + "to": "2024-01-17T14:27:09.913634Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:12:31.740210Z", "lte": "2024-01-17T14:27:31.740210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:12:31.740210Z", "lte": "2024-01-17T14:27:31.740210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:27:31.745173Z", + "endtime": "2024-01-17T14:27:31.740210Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:12:31.740210Z", + "time_taken": 0.004937887191772461 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:27:31.745173Z", + "endtime": "2024-01-17T14:27:31.740210Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:12:31.740210Z", + "time_taken": 0.004937887191772461 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:28:09.909899Z", + "to": "2024-01-17T14:28:09.909938Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:28:09.909899Z", + "to": "2024-01-17T14:28:09.909938Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:13:33.743125Z", "lte": "2024-01-17T14:28:33.743125Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:13:33.743125Z", "lte": "2024-01-17T14:28:33.743125Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:28:33.751488Z", + "endtime": "2024-01-17T14:28:33.743125Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:13:33.743125Z", + "time_taken": 0.008308172225952148 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:28:33.751488Z", + "endtime": "2024-01-17T14:28:33.743125Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:13:33.743125Z", + "time_taken": 0.008308172225952148 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:29:09.911887Z", + "to": "2024-01-17T14:29:09.911926Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:29:09.911887Z", + "to": "2024-01-17T14:29:09.911926Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:14:36.799364Z", "lte": "2024-01-17T14:29:36.799364Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:14:36.799364Z", "lte": "2024-01-17T14:29:36.799364Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:29:36.807990Z", + "endtime": "2024-01-17T14:29:36.799364Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:14:36.799364Z", + "time_taken": 0.008587121963500977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:29:36.807990Z", + "endtime": "2024-01-17T14:29:36.799364Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:14:36.799364Z", + "time_taken": 0.008587121963500977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:30:09.906011Z", + "to": "2024-01-17T14:30:09.906037Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:30:09.906011Z", + "to": "2024-01-17T14:30:09.906037Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:15:37.102575Z", "lte": "2024-01-17T14:30:37.102575Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:15:37.102575Z", "lte": "2024-01-17T14:30:37.102575Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:30:37.111184Z", + "endtime": "2024-01-17T14:30:37.102575Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:15:37.102575Z", + "time_taken": 0.008553028106689453 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:30:37.111184Z", + "endtime": "2024-01-17T14:30:37.102575Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:15:37.102575Z", + "time_taken": 0.008553028106689453 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:31:09.906320Z", + "to": "2024-01-17T14:31:09.906336Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:31:09.906320Z", + "to": "2024-01-17T14:31:09.906336Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:16:40.904307Z", "lte": "2024-01-17T14:31:40.904307Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:16:40.904307Z", "lte": "2024-01-17T14:31:40.904307Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:31:40.910173Z", + "endtime": "2024-01-17T14:31:40.904307Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:16:40.904307Z", + "time_taken": 0.005838155746459961 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:31:40.910173Z", + "endtime": "2024-01-17T14:31:40.904307Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:16:40.904307Z", + "time_taken": 0.005838155746459961 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:32:09.912466Z", + "to": "2024-01-17T14:32:09.912505Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:32:09.912466Z", + "to": "2024-01-17T14:32:09.912505Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:17:43.947036Z", "lte": "2024-01-17T14:32:43.947036Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:17:43.947036Z", "lte": "2024-01-17T14:32:43.947036Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:32:43.955016Z", + "endtime": "2024-01-17T14:32:43.947036Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:17:43.947036Z", + "time_taken": 0.00793004035949707 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:32:43.955016Z", + "endtime": "2024-01-17T14:32:43.947036Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:17:43.947036Z", + "time_taken": 0.00793004035949707 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:33:09.903378Z", + "to": "2024-01-17T14:33:09.903404Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:33:09.903378Z", + "to": "2024-01-17T14:33:09.903404Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:18:48.112135Z", "lte": "2024-01-17T14:33:48.112135Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:18:48.112135Z", "lte": "2024-01-17T14:33:48.112135Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:33:48.120180Z", + "endtime": "2024-01-17T14:33:48.112135Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:18:48.112135Z", + "time_taken": 0.008005857467651367 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:33:48.120180Z", + "endtime": "2024-01-17T14:33:48.112135Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:18:48.112135Z", + "time_taken": 0.008005857467651367 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:34:09.914480Z", + "to": "2024-01-17T14:34:09.914519Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:34:09.914480Z", + "to": "2024-01-17T14:34:09.914519Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:19:50.524850Z", "lte": "2024-01-17T14:34:50.524850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:19:50.524850Z", "lte": "2024-01-17T14:34:50.524850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:34:50.533265Z", + "endtime": "2024-01-17T14:34:50.524850Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:19:50.524850Z", + "time_taken": 0.008358240127563477 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:34:50.533265Z", + "endtime": "2024-01-17T14:34:50.524850Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:19:50.524850Z", + "time_taken": 0.008358240127563477 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:35:09.914620Z", + "to": "2024-01-17T14:35:09.914647Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:35:09.914620Z", + "to": "2024-01-17T14:35:09.914647Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:20:53.482677Z", "lte": "2024-01-17T14:35:53.482677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:20:53.482677Z", "lte": "2024-01-17T14:35:53.482677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:35:53.490566Z", + "endtime": "2024-01-17T14:35:53.482677Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:20:53.482677Z", + "time_taken": 0.007848978042602539 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:35:53.490566Z", + "endtime": "2024-01-17T14:35:53.482677Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:20:53.482677Z", + "time_taken": 0.007848978042602539 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:36:09.907081Z", + "to": "2024-01-17T14:36:09.907122Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:36:09.907081Z", + "to": "2024-01-17T14:36:09.907122Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:21:56.684512Z", "lte": "2024-01-17T14:36:56.684512Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:21:56.684512Z", "lte": "2024-01-17T14:36:56.684512Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:36:56.691619Z", + "endtime": "2024-01-17T14:36:56.684512Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:21:56.684512Z", + "time_taken": 0.007050991058349609 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:36:56.691619Z", + "endtime": "2024-01-17T14:36:56.684512Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:21:56.684512Z", + "time_taken": 0.007050991058349609 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:37:09.909524Z", + "to": "2024-01-17T14:37:09.909563Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:37:09.909524Z", + "to": "2024-01-17T14:37:09.909563Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:22:59.200640Z", "lte": "2024-01-17T14:37:59.200640Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:22:59.200640Z", "lte": "2024-01-17T14:37:59.200640Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:37:59.207572Z", + "endtime": "2024-01-17T14:37:59.200640Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:22:59.200640Z", + "time_taken": 0.006876945495605469 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:37:59.207572Z", + "endtime": "2024-01-17T14:37:59.200640Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:22:59.200640Z", + "time_taken": 0.006876945495605469 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:38:09.907600Z", + "to": "2024-01-17T14:38:09.907637Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:38:09.907600Z", + "to": "2024-01-17T14:38:09.907637Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:24:02.649955Z", "lte": "2024-01-17T14:39:02.649955Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:24:02.649955Z", "lte": "2024-01-17T14:39:02.649955Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:39:02.658118Z", + "endtime": "2024-01-17T14:39:02.649955Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:24:02.649955Z", + "time_taken": 0.008124113082885742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:39:02.658118Z", + "endtime": "2024-01-17T14:39:02.649955Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:24:02.649955Z", + "time_taken": 0.008124113082885742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:39:09.913628Z", + "to": "2024-01-17T14:39:09.913666Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:39:09.913628Z", + "to": "2024-01-17T14:39:09.913666Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:25:03.674131Z", "lte": "2024-01-17T14:40:03.674131Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:25:03.674131Z", "lte": "2024-01-17T14:40:03.674131Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:40:03.686332Z", + "endtime": "2024-01-17T14:40:03.674131Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:25:03.674131Z", + "time_taken": 0.012144088745117188 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:40:03.686332Z", + "endtime": "2024-01-17T14:40:03.674131Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:25:03.674131Z", + "time_taken": 0.012144088745117188 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:40:09.913684Z", + "to": "2024-01-17T14:40:09.913725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:40:09.913684Z", + "to": "2024-01-17T14:40:09.913725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:26:04.842003Z", "lte": "2024-01-17T14:41:04.842003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:26:04.842003Z", "lte": "2024-01-17T14:41:04.842003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:41:04.848693Z", + "endtime": "2024-01-17T14:41:04.842003Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:26:04.842003Z", + "time_taken": 0.006647825241088867 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:41:04.848693Z", + "endtime": "2024-01-17T14:41:04.842003Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:26:04.842003Z", + "time_taken": 0.006647825241088867 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:41:09.905136Z", + "to": "2024-01-17T14:41:09.905163Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:41:09.905136Z", + "to": "2024-01-17T14:41:09.905163Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:27:04.853088Z", "lte": "2024-01-17T14:42:04.853088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:27:04.853088Z", "lte": "2024-01-17T14:42:04.853088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:42:04.860250Z", + "endtime": "2024-01-17T14:42:04.853088Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:27:04.853088Z", + "time_taken": 0.00710606575012207 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:42:04.860250Z", + "endtime": "2024-01-17T14:42:04.853088Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:27:04.853088Z", + "time_taken": 0.00710606575012207 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:42:09.913362Z", + "to": "2024-01-17T14:42:09.913400Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:42:09.913362Z", + "to": "2024-01-17T14:42:09.913400Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:28:07.637086Z", "lte": "2024-01-17T14:43:07.637086Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:28:07.637086Z", "lte": "2024-01-17T14:43:07.637086Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:43:07.645197Z", + "endtime": "2024-01-17T14:43:07.637086Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:28:07.637086Z", + "time_taken": 0.008055925369262695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:43:07.645197Z", + "endtime": "2024-01-17T14:43:07.637086Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:28:07.637086Z", + "time_taken": 0.008055925369262695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:43:09.905048Z", + "to": "2024-01-17T14:43:09.905086Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:43:09.905048Z", + "to": "2024-01-17T14:43:09.905086Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:44:09.910933Z", + "to": "2024-01-17T14:44:09.910972Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:44:09.910933Z", + "to": "2024-01-17T14:44:09.910972Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:29:12.438513Z", "lte": "2024-01-17T14:44:12.438513Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:29:12.438513Z", "lte": "2024-01-17T14:44:12.438513Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:44:12.445587Z", + "endtime": "2024-01-17T14:44:12.438513Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:29:12.438513Z", + "time_taken": 0.007018089294433594 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:44:12.445587Z", + "endtime": "2024-01-17T14:44:12.438513Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:29:12.438513Z", + "time_taken": 0.007018089294433594 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:45:09.906068Z", + "to": "2024-01-17T14:45:09.906095Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:45:09.906068Z", + "to": "2024-01-17T14:45:09.906095Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:30:14.204863Z", "lte": "2024-01-17T14:45:14.204863Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:30:14.204863Z", "lte": "2024-01-17T14:45:14.204863Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:45:14.212140Z", + "endtime": "2024-01-17T14:45:14.204863Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:30:14.204863Z", + "time_taken": 0.00722193717956543 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:45:14.212140Z", + "endtime": "2024-01-17T14:45:14.204863Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:30:14.204863Z", + "time_taken": 0.00722193717956543 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:46:09.906864Z", + "to": "2024-01-17T14:46:09.906904Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:46:09.906864Z", + "to": "2024-01-17T14:46:09.906904Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:31:18.166393Z", "lte": "2024-01-17T14:46:18.166393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:31:18.166393Z", "lte": "2024-01-17T14:46:18.166393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:46:18.173602Z", + "endtime": "2024-01-17T14:46:18.166393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:31:18.166393Z", + "time_taken": 0.007150888442993164 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:46:18.173602Z", + "endtime": "2024-01-17T14:46:18.166393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:31:18.166393Z", + "time_taken": 0.007150888442993164 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:47:09.913906Z", + "to": "2024-01-17T14:47:09.913945Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:47:09.913906Z", + "to": "2024-01-17T14:47:09.913945Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:32:19.594385Z", "lte": "2024-01-17T14:47:19.594385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:32:19.594385Z", "lte": "2024-01-17T14:47:19.594385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:47:19.604229Z", + "endtime": "2024-01-17T14:47:19.594385Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:32:19.594385Z", + "time_taken": 0.009785175323486328 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:47:19.604229Z", + "endtime": "2024-01-17T14:47:19.594385Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:32:19.594385Z", + "time_taken": 0.009785175323486328 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:48:09.910942Z", + "to": "2024-01-17T14:48:09.910980Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:48:09.910942Z", + "to": "2024-01-17T14:48:09.910980Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:33:24.340377Z", "lte": "2024-01-17T14:48:24.340377Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:33:24.340377Z", "lte": "2024-01-17T14:48:24.340377Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:48:24.350484Z", + "endtime": "2024-01-17T14:48:24.340377Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:33:24.340377Z", + "time_taken": 0.010050058364868164 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:48:24.350484Z", + "endtime": "2024-01-17T14:48:24.340377Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:33:24.340377Z", + "time_taken": 0.010050058364868164 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:49:09.913216Z", + "to": "2024-01-17T14:49:09.913232Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:49:09.913216Z", + "to": "2024-01-17T14:49:09.913232Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:34:28.859688Z", "lte": "2024-01-17T14:49:28.859688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:34:28.859688Z", "lte": "2024-01-17T14:49:28.859688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:49:28.865926Z", + "endtime": "2024-01-17T14:49:28.859688Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:34:28.859688Z", + "time_taken": 0.006194114685058594 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:49:28.865926Z", + "endtime": "2024-01-17T14:49:28.859688Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:34:28.859688Z", + "time_taken": 0.006194114685058594 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:50:09.918132Z", + "to": "2024-01-17T14:50:09.918169Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:50:09.918132Z", + "to": "2024-01-17T14:50:09.918169Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:35:32.931463Z", "lte": "2024-01-17T14:50:32.931463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:35:32.931463Z", "lte": "2024-01-17T14:50:32.931463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:50:32.936513Z", + "endtime": "2024-01-17T14:50:32.931463Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:35:32.931463Z", + "time_taken": 0.005024909973144531 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:50:32.936513Z", + "endtime": "2024-01-17T14:50:32.931463Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:35:32.931463Z", + "time_taken": 0.005024909973144531 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:51:09.909167Z", + "to": "2024-01-17T14:51:09.909199Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:51:09.909167Z", + "to": "2024-01-17T14:51:09.909199Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:36:37.794668Z", "lte": "2024-01-17T14:51:37.794668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:36:37.794668Z", "lte": "2024-01-17T14:51:37.794668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:51:37.802905Z", + "endtime": "2024-01-17T14:51:37.794668Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:36:37.794668Z", + "time_taken": 0.008174896240234375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:51:37.802905Z", + "endtime": "2024-01-17T14:51:37.794668Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:36:37.794668Z", + "time_taken": 0.008174896240234375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:52:09.906819Z", + "to": "2024-01-17T14:52:09.906837Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:52:09.906819Z", + "to": "2024-01-17T14:52:09.906837Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:37:42.559609Z", "lte": "2024-01-17T14:52:42.559609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:37:42.559609Z", "lte": "2024-01-17T14:52:42.559609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:52:42.568482Z", + "endtime": "2024-01-17T14:52:42.559609Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:37:42.559609Z", + "time_taken": 0.008815765380859375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:52:42.568482Z", + "endtime": "2024-01-17T14:52:42.559609Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:37:42.559609Z", + "time_taken": 0.008815765380859375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:53:09.906535Z", + "to": "2024-01-17T14:53:09.906560Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:53:09.906535Z", + "to": "2024-01-17T14:53:09.906560Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:38:47.344342Z", "lte": "2024-01-17T14:53:47.344342Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:38:47.344342Z", "lte": "2024-01-17T14:53:47.344342Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:53:47.353465Z", + "endtime": "2024-01-17T14:53:47.344342Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:38:47.344342Z", + "time_taken": 0.009025096893310547 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:53:47.353465Z", + "endtime": "2024-01-17T14:53:47.344342Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:38:47.344342Z", + "time_taken": 0.009025096893310547 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:54:09.907873Z", + "to": "2024-01-17T14:54:09.907912Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:54:09.907873Z", + "to": "2024-01-17T14:54:09.907912Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:39:48.347604Z", "lte": "2024-01-17T14:54:48.347604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:39:48.347604Z", "lte": "2024-01-17T14:54:48.347604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:54:48.356285Z", + "endtime": "2024-01-17T14:54:48.347604Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:39:48.347604Z", + "time_taken": 0.008625030517578125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:54:48.356285Z", + "endtime": "2024-01-17T14:54:48.347604Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:39:48.347604Z", + "time_taken": 0.008625030517578125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:55:09.906355Z", + "to": "2024-01-17T14:55:09.906393Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:55:09.906355Z", + "to": "2024-01-17T14:55:09.906393Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:40:50.059380Z", "lte": "2024-01-17T14:55:50.059380Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:40:50.059380Z", "lte": "2024-01-17T14:55:50.059380Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:55:50.067497Z", + "endtime": "2024-01-17T14:55:50.059380Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:40:50.059380Z", + "time_taken": 0.008060216903686523 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:55:50.067497Z", + "endtime": "2024-01-17T14:55:50.059380Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:40:50.059380Z", + "time_taken": 0.008060216903686523 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:56:09.903865Z", + "to": "2024-01-17T14:56:09.903905Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:56:09.903865Z", + "to": "2024-01-17T14:56:09.903905Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:41:53.052690Z", "lte": "2024-01-17T14:56:53.052690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:41:53.052690Z", "lte": "2024-01-17T14:56:53.052690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:56:53.063125Z", + "endtime": "2024-01-17T14:56:53.052690Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:41:53.052690Z", + "time_taken": 0.010405302047729492 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:56:53.063125Z", + "endtime": "2024-01-17T14:56:53.052690Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:41:53.052690Z", + "time_taken": 0.010405302047729492 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:57:09.908474Z", + "to": "2024-01-17T14:57:09.908516Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:57:09.908474Z", + "to": "2024-01-17T14:57:09.908516Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:42:55.167468Z", "lte": "2024-01-17T14:57:55.167468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:42:55.167468Z", "lte": "2024-01-17T14:57:55.167468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:57:55.186344Z", + "endtime": "2024-01-17T14:57:55.167468Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:42:55.167468Z", + "time_taken": 0.018841028213500977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:57:55.186344Z", + "endtime": "2024-01-17T14:57:55.167468Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:42:55.167468Z", + "time_taken": 0.018841028213500977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:58:09.908664Z", + "to": "2024-01-17T14:58:09.908716Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:58:09.908664Z", + "to": "2024-01-17T14:58:09.908716Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:43:57.060722Z", "lte": "2024-01-17T14:58:57.060722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:43:57.060722Z", "lte": "2024-01-17T14:58:57.060722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:58:57.069240Z", + "endtime": "2024-01-17T14:58:57.060722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:43:57.060722Z", + "time_taken": 0.008445024490356445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:58:57.069240Z", + "endtime": "2024-01-17T14:58:57.060722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:43:57.060722Z", + "time_taken": 0.008445024490356445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:59:09.906731Z", + "to": "2024-01-17T14:59:09.906758Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T14:59:09.906731Z", + "to": "2024-01-17T14:59:09.906758Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:44:58.144847Z", "lte": "2024-01-17T14:59:58.144847Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:44:58.144847Z", "lte": "2024-01-17T14:59:58.144847Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:59:58.155146Z", + "endtime": "2024-01-17T14:59:58.144847Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:44:58.144847Z", + "time_taken": 0.010235071182250977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T14:59:58.155146Z", + "endtime": "2024-01-17T14:59:58.144847Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:44:58.144847Z", + "time_taken": 0.010235071182250977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:00:09.908749Z", + "to": "2024-01-17T15:00:09.908787Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:00:09.908749Z", + "to": "2024-01-17T15:00:09.908787Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:46:02.347413Z", "lte": "2024-01-17T15:01:02.347413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:46:02.347413Z", "lte": "2024-01-17T15:01:02.347413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:01:02.356959Z", + "endtime": "2024-01-17T15:01:02.347413Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:46:02.347413Z", + "time_taken": 0.009488105773925781 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:01:02.356959Z", + "endtime": "2024-01-17T15:01:02.347413Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:46:02.347413Z", + "time_taken": 0.009488105773925781 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:01:09.904495Z", + "to": "2024-01-17T15:01:09.904511Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:01:09.904495Z", + "to": "2024-01-17T15:01:09.904511Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:47:06.494099Z", "lte": "2024-01-17T15:02:06.494099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:47:06.494099Z", "lte": "2024-01-17T15:02:06.494099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:02:06.502530Z", + "endtime": "2024-01-17T15:02:06.494099Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:47:06.494099Z", + "time_taken": 0.00837397575378418 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:02:06.502530Z", + "endtime": "2024-01-17T15:02:06.494099Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:47:06.494099Z", + "time_taken": 0.00837397575378418 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:02:09.906656Z", + "to": "2024-01-17T15:02:09.906695Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:02:09.906656Z", + "to": "2024-01-17T15:02:09.906695Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:48:09.015763Z", "lte": "2024-01-17T15:03:09.015763Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:48:09.015763Z", "lte": "2024-01-17T15:03:09.015763Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:03:09.022082Z", + "endtime": "2024-01-17T15:03:09.015763Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:48:09.015763Z", + "time_taken": 0.006285905838012695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:03:09.022082Z", + "endtime": "2024-01-17T15:03:09.015763Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:48:09.015763Z", + "time_taken": 0.006285905838012695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:03:09.903528Z", + "to": "2024-01-17T15:03:09.903566Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:03:09.903528Z", + "to": "2024-01-17T15:03:09.903566Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:04:09.907350Z", + "to": "2024-01-17T15:04:09.907369Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:04:09.907350Z", + "to": "2024-01-17T15:04:09.907369Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:49:10.523891Z", "lte": "2024-01-17T15:04:10.523891Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:49:10.523891Z", "lte": "2024-01-17T15:04:10.523891Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:04:10.530593Z", + "endtime": "2024-01-17T15:04:10.523891Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:49:10.523891Z", + "time_taken": 0.006661891937255859 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:04:10.530593Z", + "endtime": "2024-01-17T15:04:10.523891Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:49:10.523891Z", + "time_taken": 0.006661891937255859 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:05:09.920683Z", + "to": "2024-01-17T15:05:09.920711Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:05:09.920683Z", + "to": "2024-01-17T15:05:09.920711Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:50:13.312528Z", "lte": "2024-01-17T15:05:13.312528Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:50:13.312528Z", "lte": "2024-01-17T15:05:13.312528Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:05:13.319456Z", + "endtime": "2024-01-17T15:05:13.312528Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:50:13.312528Z", + "time_taken": 0.006872892379760742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:05:13.319456Z", + "endtime": "2024-01-17T15:05:13.312528Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:50:13.312528Z", + "time_taken": 0.006872892379760742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:06:09.905581Z", + "to": "2024-01-17T15:06:09.905602Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:06:09.905581Z", + "to": "2024-01-17T15:06:09.905602Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:51:15.813262Z", "lte": "2024-01-17T15:06:15.813262Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:51:15.813262Z", "lte": "2024-01-17T15:06:15.813262Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:06:15.819319Z", + "endtime": "2024-01-17T15:06:15.813262Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:51:15.813262Z", + "time_taken": 0.006024837493896484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:06:15.819319Z", + "endtime": "2024-01-17T15:06:15.813262Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:51:15.813262Z", + "time_taken": 0.006024837493896484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:07:09.909064Z", + "to": "2024-01-17T15:07:09.909108Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:07:09.909064Z", + "to": "2024-01-17T15:07:09.909108Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:52:16.529328Z", "lte": "2024-01-17T15:07:16.529328Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:52:16.529328Z", "lte": "2024-01-17T15:07:16.529328Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:07:16.536109Z", + "endtime": "2024-01-17T15:07:16.529328Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:52:16.529328Z", + "time_taken": 0.006754875183105469 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:07:16.536109Z", + "endtime": "2024-01-17T15:07:16.529328Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:52:16.529328Z", + "time_taken": 0.006754875183105469 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:08:09.903868Z", + "to": "2024-01-17T15:08:09.903894Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:08:09.903868Z", + "to": "2024-01-17T15:08:09.903894Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:53:18.704938Z", "lte": "2024-01-17T15:08:18.704938Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:53:18.704938Z", "lte": "2024-01-17T15:08:18.704938Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:08:18.712683Z", + "endtime": "2024-01-17T15:08:18.704938Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:53:18.704938Z", + "time_taken": 0.007704734802246094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:08:18.712683Z", + "endtime": "2024-01-17T15:08:18.704938Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:53:18.704938Z", + "time_taken": 0.007704734802246094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:09:09.907270Z", + "to": "2024-01-17T15:09:09.907296Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:09:09.907270Z", + "to": "2024-01-17T15:09:09.907296Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:54:20.940062Z", "lte": "2024-01-17T15:09:20.940062Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:54:20.940062Z", "lte": "2024-01-17T15:09:20.940062Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:09:20.947369Z", + "endtime": "2024-01-17T15:09:20.940062Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:54:20.940062Z", + "time_taken": 0.007274150848388672 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:09:20.947369Z", + "endtime": "2024-01-17T15:09:20.940062Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:54:20.940062Z", + "time_taken": 0.007274150848388672 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:10:09.904116Z", + "to": "2024-01-17T15:10:09.904157Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:10:09.904116Z", + "to": "2024-01-17T15:10:09.904157Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:55:21.124825Z", "lte": "2024-01-17T15:10:21.124825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:55:21.124825Z", "lte": "2024-01-17T15:10:21.124825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:10:21.133667Z", + "endtime": "2024-01-17T15:10:21.124825Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:55:21.124825Z", + "time_taken": 0.008795976638793945 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:10:21.133667Z", + "endtime": "2024-01-17T15:10:21.124825Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:55:21.124825Z", + "time_taken": 0.008795976638793945 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:11:09.904419Z", + "to": "2024-01-17T15:11:09.904449Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:11:09.904419Z", + "to": "2024-01-17T15:11:09.904449Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:56:21.606868Z", "lte": "2024-01-17T15:11:21.606868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:56:21.606868Z", "lte": "2024-01-17T15:11:21.606868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:11:21.613736Z", + "endtime": "2024-01-17T15:11:21.606868Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:56:21.606868Z", + "time_taken": 0.0068280696868896484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:11:21.613736Z", + "endtime": "2024-01-17T15:11:21.606868Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:56:21.606868Z", + "time_taken": 0.0068280696868896484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:12:09.906552Z", + "to": "2024-01-17T15:12:09.906578Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:12:09.906552Z", + "to": "2024-01-17T15:12:09.906578Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:57:22.534012Z", "lte": "2024-01-17T15:12:22.534012Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:57:22.534012Z", "lte": "2024-01-17T15:12:22.534012Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:12:22.543028Z", + "endtime": "2024-01-17T15:12:22.534012Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:57:22.534012Z", + "time_taken": 0.008979082107543945 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:12:22.543028Z", + "endtime": "2024-01-17T15:12:22.534012Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:57:22.534012Z", + "time_taken": 0.008979082107543945 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:13:09.904506Z", + "to": "2024-01-17T15:13:09.904533Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:13:09.904506Z", + "to": "2024-01-17T15:13:09.904533Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:58:25.035163Z", "lte": "2024-01-17T15:13:25.035163Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:58:25.035163Z", "lte": "2024-01-17T15:13:25.035163Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:13:25.043289Z", + "endtime": "2024-01-17T15:13:25.035163Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:58:25.035163Z", + "time_taken": 0.008074045181274414 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:13:25.043289Z", + "endtime": "2024-01-17T15:13:25.035163Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:58:25.035163Z", + "time_taken": 0.008074045181274414 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:14:09.903885Z", + "to": "2024-01-17T15:14:09.903903Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:14:09.903885Z", + "to": "2024-01-17T15:14:09.903903Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:59:27.395824Z", "lte": "2024-01-17T15:14:27.395824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:59:27.395824Z", "lte": "2024-01-17T15:14:27.395824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:14:27.402650Z", + "endtime": "2024-01-17T15:14:27.395824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:59:27.395824Z", + "time_taken": 0.00678706169128418 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:14:27.402650Z", + "endtime": "2024-01-17T15:14:27.395824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T14:59:27.395824Z", + "time_taken": 0.00678706169128418 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:15:09.907341Z", + "to": "2024-01-17T15:15:09.907370Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:15:09.907341Z", + "to": "2024-01-17T15:15:09.907370Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:00:29.236741Z", "lte": "2024-01-17T15:15:29.236741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:00:29.236741Z", "lte": "2024-01-17T15:15:29.236741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:15:29.243341Z", + "endtime": "2024-01-17T15:15:29.236741Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:00:29.236741Z", + "time_taken": 0.006551980972290039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:15:29.243341Z", + "endtime": "2024-01-17T15:15:29.236741Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:00:29.236741Z", + "time_taken": 0.006551980972290039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:16:09.904945Z", + "to": "2024-01-17T15:16:09.904973Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:16:09.904945Z", + "to": "2024-01-17T15:16:09.904973Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:01:29.939104Z", "lte": "2024-01-17T15:16:29.939104Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:01:29.939104Z", "lte": "2024-01-17T15:16:29.939104Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:16:29.946582Z", + "endtime": "2024-01-17T15:16:29.939104Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:01:29.939104Z", + "time_taken": 0.0074388980865478516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:16:29.946582Z", + "endtime": "2024-01-17T15:16:29.939104Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:01:29.939104Z", + "time_taken": 0.0074388980865478516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:17:09.908016Z", + "to": "2024-01-17T15:17:09.908044Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:17:09.908016Z", + "to": "2024-01-17T15:17:09.908044Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:02:33.310270Z", "lte": "2024-01-17T15:17:33.310270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:02:33.310270Z", "lte": "2024-01-17T15:17:33.310270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:17:33.317430Z", + "endtime": "2024-01-17T15:17:33.310270Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:02:33.310270Z", + "time_taken": 0.007126808166503906 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:17:33.317430Z", + "endtime": "2024-01-17T15:17:33.310270Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:02:33.310270Z", + "time_taken": 0.007126808166503906 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:18:09.911070Z", + "to": "2024-01-17T15:18:09.911108Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:18:09.911070Z", + "to": "2024-01-17T15:18:09.911108Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:03:37.795607Z", "lte": "2024-01-17T15:18:37.795607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:03:37.795607Z", "lte": "2024-01-17T15:18:37.795607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:18:37.803504Z", + "endtime": "2024-01-17T15:18:37.795607Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:03:37.795607Z", + "time_taken": 0.007843255996704102 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:18:37.803504Z", + "endtime": "2024-01-17T15:18:37.795607Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:03:37.795607Z", + "time_taken": 0.007843255996704102 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:19:09.906249Z", + "to": "2024-01-17T15:19:09.906267Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:19:09.906249Z", + "to": "2024-01-17T15:19:09.906267Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:04:39.971170Z", "lte": "2024-01-17T15:19:39.971170Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:04:39.971170Z", "lte": "2024-01-17T15:19:39.971170Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:19:39.991503Z", + "endtime": "2024-01-17T15:19:39.971170Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:04:39.971170Z", + "time_taken": 0.020298004150390625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:19:39.991503Z", + "endtime": "2024-01-17T15:19:39.971170Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:04:39.971170Z", + "time_taken": 0.020298004150390625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:20:09.913449Z", + "to": "2024-01-17T15:20:09.913487Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:20:09.913449Z", + "to": "2024-01-17T15:20:09.913487Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:05:41.044270Z", "lte": "2024-01-17T15:20:41.044270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:05:41.044270Z", "lte": "2024-01-17T15:20:41.044270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:20:41.052505Z", + "endtime": "2024-01-17T15:20:41.044270Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:05:41.044270Z", + "time_taken": 0.008175134658813477 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:20:41.052505Z", + "endtime": "2024-01-17T15:20:41.044270Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:05:41.044270Z", + "time_taken": 0.008175134658813477 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:21:09.907857Z", + "to": "2024-01-17T15:21:09.907896Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:21:09.907857Z", + "to": "2024-01-17T15:21:09.907896Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:06:43.702174Z", "lte": "2024-01-17T15:21:43.702174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:06:43.702174Z", "lte": "2024-01-17T15:21:43.702174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:21:43.710061Z", + "endtime": "2024-01-17T15:21:43.702174Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:06:43.702174Z", + "time_taken": 0.00783085823059082 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:21:43.710061Z", + "endtime": "2024-01-17T15:21:43.702174Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:06:43.702174Z", + "time_taken": 0.00783085823059082 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:22:09.908616Z", + "to": "2024-01-17T15:22:09.908656Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:22:09.908616Z", + "to": "2024-01-17T15:22:09.908656Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:07:43.890610Z", "lte": "2024-01-17T15:22:43.890610Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:07:43.890610Z", "lte": "2024-01-17T15:22:43.890610Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:22:43.897646Z", + "endtime": "2024-01-17T15:22:43.890610Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:07:43.890610Z", + "time_taken": 0.0069811344146728516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:22:43.897646Z", + "endtime": "2024-01-17T15:22:43.890610Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:07:43.890610Z", + "time_taken": 0.0069811344146728516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:23:09.903849Z", + "to": "2024-01-17T15:23:09.903868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:23:09.903849Z", + "to": "2024-01-17T15:23:09.903868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:08:44.398654Z", "lte": "2024-01-17T15:23:44.398654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:08:44.398654Z", "lte": "2024-01-17T15:23:44.398654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:23:44.405327Z", + "endtime": "2024-01-17T15:23:44.398654Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:08:44.398654Z", + "time_taken": 0.006627082824707031 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:23:44.405327Z", + "endtime": "2024-01-17T15:23:44.398654Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:08:44.398654Z", + "time_taken": 0.006627082824707031 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:24:09.903471Z", + "to": "2024-01-17T15:24:09.903496Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:24:09.903471Z", + "to": "2024-01-17T15:24:09.903496Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:09:46.753643Z", "lte": "2024-01-17T15:24:46.753643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:09:46.753643Z", "lte": "2024-01-17T15:24:46.753643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:24:46.760785Z", + "endtime": "2024-01-17T15:24:46.753643Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:09:46.753643Z", + "time_taken": 0.007086038589477539 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:24:46.760785Z", + "endtime": "2024-01-17T15:24:46.753643Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:09:46.753643Z", + "time_taken": 0.007086038589477539 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:25:09.908625Z", + "to": "2024-01-17T15:25:09.908668Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:25:09.908625Z", + "to": "2024-01-17T15:25:09.908668Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:10:50.041189Z", "lte": "2024-01-17T15:25:50.041189Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:10:50.041189Z", "lte": "2024-01-17T15:25:50.041189Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:25:50.051060Z", + "endtime": "2024-01-17T15:25:50.041189Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:10:50.041189Z", + "time_taken": 0.009813070297241211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:25:50.051060Z", + "endtime": "2024-01-17T15:25:50.041189Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:10:50.041189Z", + "time_taken": 0.009813070297241211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:26:09.906499Z", + "to": "2024-01-17T15:26:09.906522Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:26:09.906499Z", + "to": "2024-01-17T15:26:09.906522Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:11:54.273171Z", "lte": "2024-01-17T15:26:54.273171Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:11:54.273171Z", "lte": "2024-01-17T15:26:54.273171Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:26:54.280704Z", + "endtime": "2024-01-17T15:26:54.273171Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:11:54.273171Z", + "time_taken": 0.007477998733520508 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:26:54.280704Z", + "endtime": "2024-01-17T15:26:54.273171Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:11:54.273171Z", + "time_taken": 0.007477998733520508 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:27:09.908687Z", + "to": "2024-01-17T15:27:09.908718Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:27:09.908687Z", + "to": "2024-01-17T15:27:09.908718Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:12:56.597232Z", "lte": "2024-01-17T15:27:56.597232Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:12:56.597232Z", "lte": "2024-01-17T15:27:56.597232Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:27:56.606447Z", + "endtime": "2024-01-17T15:27:56.597232Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:12:56.597232Z", + "time_taken": 0.009158849716186523 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:27:56.606447Z", + "endtime": "2024-01-17T15:27:56.597232Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:12:56.597232Z", + "time_taken": 0.009158849716186523 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:28:09.904445Z", + "to": "2024-01-17T15:28:09.904472Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:28:09.904445Z", + "to": "2024-01-17T15:28:09.904472Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:14:01.565722Z", "lte": "2024-01-17T15:29:01.565722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:14:01.565722Z", "lte": "2024-01-17T15:29:01.565722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:29:01.573223Z", + "endtime": "2024-01-17T15:29:01.565722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:14:01.565722Z", + "time_taken": 0.0074460506439208984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:29:01.573223Z", + "endtime": "2024-01-17T15:29:01.565722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:14:01.565722Z", + "time_taken": 0.0074460506439208984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:29:09.912546Z", + "to": "2024-01-17T15:29:09.912575Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:29:09.912546Z", + "to": "2024-01-17T15:29:09.912575Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:15:03.974129Z", "lte": "2024-01-17T15:30:03.974129Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:15:03.974129Z", "lte": "2024-01-17T15:30:03.974129Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:30:03.982383Z", + "endtime": "2024-01-17T15:30:03.974129Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:15:03.974129Z", + "time_taken": 0.00821995735168457 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:30:03.982383Z", + "endtime": "2024-01-17T15:30:03.974129Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:15:03.974129Z", + "time_taken": 0.00821995735168457 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:30:09.910244Z", + "to": "2024-01-17T15:30:09.910283Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:30:09.910244Z", + "to": "2024-01-17T15:30:09.910283Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:16:05.700743Z", "lte": "2024-01-17T15:31:05.700743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:16:05.700743Z", "lte": "2024-01-17T15:31:05.700743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:31:05.708116Z", + "endtime": "2024-01-17T15:31:05.700743Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:16:05.700743Z", + "time_taken": 0.007334709167480469 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:31:05.708116Z", + "endtime": "2024-01-17T15:31:05.700743Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:16:05.700743Z", + "time_taken": 0.007334709167480469 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:31:09.909391Z", + "to": "2024-01-17T15:31:09.909429Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:31:09.909391Z", + "to": "2024-01-17T15:31:09.909429Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:32:09.911489Z", + "to": "2024-01-17T15:32:09.911527Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:32:09.911489Z", + "to": "2024-01-17T15:32:09.911527Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:17:10.337235Z", "lte": "2024-01-17T15:32:10.337235Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:17:10.337235Z", "lte": "2024-01-17T15:32:10.337235Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:32:10.344583Z", + "endtime": "2024-01-17T15:32:10.337235Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:17:10.337235Z", + "time_taken": 0.007287025451660156 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:32:10.344583Z", + "endtime": "2024-01-17T15:32:10.337235Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:17:10.337235Z", + "time_taken": 0.007287025451660156 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:33:09.911362Z", + "to": "2024-01-17T15:33:09.911401Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:33:09.911362Z", + "to": "2024-01-17T15:33:09.911401Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:18:10.827063Z", "lte": "2024-01-17T15:33:10.827063Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:18:10.827063Z", "lte": "2024-01-17T15:33:10.827063Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:33:10.833972Z", + "endtime": "2024-01-17T15:33:10.827063Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:18:10.827063Z", + "time_taken": 0.006851911544799805 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:33:10.833972Z", + "endtime": "2024-01-17T15:33:10.827063Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:18:10.827063Z", + "time_taken": 0.006851911544799805 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:34:09.910603Z", + "to": "2024-01-17T15:34:09.910643Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:34:09.910603Z", + "to": "2024-01-17T15:34:09.910643Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:19:15.546878Z", "lte": "2024-01-17T15:34:15.546878Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:19:15.546878Z", "lte": "2024-01-17T15:34:15.546878Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:34:15.555561Z", + "endtime": "2024-01-17T15:34:15.546878Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:19:15.546878Z", + "time_taken": 0.008625984191894531 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:34:15.555561Z", + "endtime": "2024-01-17T15:34:15.546878Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:19:15.546878Z", + "time_taken": 0.008625984191894531 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:35:09.911751Z", + "to": "2024-01-17T15:35:09.911773Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:35:09.911751Z", + "to": "2024-01-17T15:35:09.911773Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:20:18.857680Z", "lte": "2024-01-17T15:35:18.857680Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:20:18.857680Z", "lte": "2024-01-17T15:35:18.857680Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:35:18.868221Z", + "endtime": "2024-01-17T15:35:18.857680Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:20:18.857680Z", + "time_taken": 0.010500907897949219 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:35:18.868221Z", + "endtime": "2024-01-17T15:35:18.857680Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:20:18.857680Z", + "time_taken": 0.010500907897949219 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:36:09.906635Z", + "to": "2024-01-17T15:36:09.906678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:36:09.906635Z", + "to": "2024-01-17T15:36:09.906678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:21:22.415453Z", "lte": "2024-01-17T15:36:22.415453Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:21:22.415453Z", "lte": "2024-01-17T15:36:22.415453Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:36:22.422351Z", + "endtime": "2024-01-17T15:36:22.415453Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:21:22.415453Z", + "time_taken": 0.006858110427856445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:36:22.422351Z", + "endtime": "2024-01-17T15:36:22.415453Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:21:22.415453Z", + "time_taken": 0.006858110427856445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:37:09.905248Z", + "to": "2024-01-17T15:37:09.905285Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:37:09.905248Z", + "to": "2024-01-17T15:37:09.905285Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:22:23.968159Z", "lte": "2024-01-17T15:37:23.968159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:22:23.968159Z", "lte": "2024-01-17T15:37:23.968159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:37:23.975187Z", + "endtime": "2024-01-17T15:37:23.968159Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:22:23.968159Z", + "time_taken": 0.006972074508666992 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:37:23.975187Z", + "endtime": "2024-01-17T15:37:23.968159Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:22:23.968159Z", + "time_taken": 0.006972074508666992 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:38:09.909766Z", + "to": "2024-01-17T15:38:09.909804Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:38:09.909766Z", + "to": "2024-01-17T15:38:09.909804Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:23:24.110275Z", "lte": "2024-01-17T15:38:24.110275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:23:24.110275Z", "lte": "2024-01-17T15:38:24.110275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:38:24.117332Z", + "endtime": "2024-01-17T15:38:24.110275Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:23:24.110275Z", + "time_taken": 0.0070018768310546875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:38:24.117332Z", + "endtime": "2024-01-17T15:38:24.110275Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:23:24.110275Z", + "time_taken": 0.0070018768310546875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:39:09.909713Z", + "to": "2024-01-17T15:39:09.909753Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:39:09.909713Z", + "to": "2024-01-17T15:39:09.909753Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:24:27.984984Z", "lte": "2024-01-17T15:39:27.984984Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:24:27.984984Z", "lte": "2024-01-17T15:39:27.984984Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:39:27.994133Z", + "endtime": "2024-01-17T15:39:27.984984Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:24:27.984984Z", + "time_taken": 0.00910806655883789 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:39:27.994133Z", + "endtime": "2024-01-17T15:39:27.984984Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:24:27.984984Z", + "time_taken": 0.00910806655883789 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:40:09.909638Z", + "to": "2024-01-17T15:40:09.909680Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:40:09.909638Z", + "to": "2024-01-17T15:40:09.909680Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:25:31.231310Z", "lte": "2024-01-17T15:40:31.231310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:25:31.231310Z", "lte": "2024-01-17T15:40:31.231310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:40:31.246078Z", + "endtime": "2024-01-17T15:40:31.231310Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:25:31.231310Z", + "time_taken": 0.014732122421264648 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:40:31.246078Z", + "endtime": "2024-01-17T15:40:31.231310Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:25:31.231310Z", + "time_taken": 0.014732122421264648 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:41:09.904833Z", + "to": "2024-01-17T15:41:09.904855Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:41:09.904833Z", + "to": "2024-01-17T15:41:09.904855Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:26:35.288142Z", "lte": "2024-01-17T15:41:35.288142Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:26:35.288142Z", "lte": "2024-01-17T15:41:35.288142Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:41:35.293786Z", + "endtime": "2024-01-17T15:41:35.288142Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:26:35.288142Z", + "time_taken": 0.0056188106536865234 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:41:35.293786Z", + "endtime": "2024-01-17T15:41:35.288142Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:26:35.288142Z", + "time_taken": 0.0056188106536865234 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:42:09.907254Z", + "to": "2024-01-17T15:42:09.907281Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:42:09.907254Z", + "to": "2024-01-17T15:42:09.907281Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:27:38.630992Z", "lte": "2024-01-17T15:42:38.630992Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:27:38.630992Z", "lte": "2024-01-17T15:42:38.630992Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:42:38.638908Z", + "endtime": "2024-01-17T15:42:38.630992Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:27:38.630992Z", + "time_taken": 0.007858991622924805 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:42:38.638908Z", + "endtime": "2024-01-17T15:42:38.630992Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:27:38.630992Z", + "time_taken": 0.007858991622924805 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:43:09.908723Z", + "to": "2024-01-17T15:43:09.908749Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:43:09.908723Z", + "to": "2024-01-17T15:43:09.908749Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:28:40.684618Z", "lte": "2024-01-17T15:43:40.684618Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:28:40.684618Z", "lte": "2024-01-17T15:43:40.684618Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:43:40.691234Z", + "endtime": "2024-01-17T15:43:40.684618Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:28:40.684618Z", + "time_taken": 0.0065801143646240234 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:43:40.691234Z", + "endtime": "2024-01-17T15:43:40.684618Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:28:40.684618Z", + "time_taken": 0.0065801143646240234 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:44:09.904088Z", + "to": "2024-01-17T15:44:09.904132Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:44:09.904088Z", + "to": "2024-01-17T15:44:09.904132Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:29:44.050822Z", "lte": "2024-01-17T15:44:44.050822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:29:44.050822Z", "lte": "2024-01-17T15:44:44.050822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:44:44.057858Z", + "endtime": "2024-01-17T15:44:44.050822Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:29:44.050822Z", + "time_taken": 0.006978034973144531 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:44:44.057858Z", + "endtime": "2024-01-17T15:44:44.050822Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:29:44.050822Z", + "time_taken": 0.006978034973144531 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:45:09.903680Z", + "to": "2024-01-17T15:45:09.903706Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:45:09.903680Z", + "to": "2024-01-17T15:45:09.903706Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:30:45.967413Z", "lte": "2024-01-17T15:45:45.967413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:30:45.967413Z", "lte": "2024-01-17T15:45:45.967413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:45:45.974831Z", + "endtime": "2024-01-17T15:45:45.967413Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:30:45.967413Z", + "time_taken": 0.007363080978393555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:45:45.974831Z", + "endtime": "2024-01-17T15:45:45.967413Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:30:45.967413Z", + "time_taken": 0.007363080978393555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:46:09.907638Z", + "to": "2024-01-17T15:46:09.907680Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:46:09.907638Z", + "to": "2024-01-17T15:46:09.907680Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:31:46.613642Z", "lte": "2024-01-17T15:46:46.613642Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:31:46.613642Z", "lte": "2024-01-17T15:46:46.613642Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:46:46.620493Z", + "endtime": "2024-01-17T15:46:46.613642Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:31:46.613642Z", + "time_taken": 0.0067899227142333984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:46:46.620493Z", + "endtime": "2024-01-17T15:46:46.613642Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:31:46.613642Z", + "time_taken": 0.0067899227142333984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:47:09.909084Z", + "to": "2024-01-17T15:47:09.909101Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:47:09.909084Z", + "to": "2024-01-17T15:47:09.909101Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:32:49.156406Z", "lte": "2024-01-17T15:47:49.156406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:32:49.156406Z", "lte": "2024-01-17T15:47:49.156406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:47:49.166233Z", + "endtime": "2024-01-17T15:47:49.156406Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:32:49.156406Z", + "time_taken": 0.009788990020751953 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:47:49.166233Z", + "endtime": "2024-01-17T15:47:49.156406Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:32:49.156406Z", + "time_taken": 0.009788990020751953 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:48:09.907189Z", + "to": "2024-01-17T15:48:09.907218Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:48:09.907189Z", + "to": "2024-01-17T15:48:09.907218Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:33:52.550637Z", "lte": "2024-01-17T15:48:52.550637Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:33:52.550637Z", "lte": "2024-01-17T15:48:52.550637Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:48:52.557598Z", + "endtime": "2024-01-17T15:48:52.550637Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:33:52.550637Z", + "time_taken": 0.006905078887939453 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:48:52.557598Z", + "endtime": "2024-01-17T15:48:52.550637Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:33:52.550637Z", + "time_taken": 0.006905078887939453 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:49:09.908399Z", + "to": "2024-01-17T15:49:09.908433Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:49:09.908399Z", + "to": "2024-01-17T15:49:09.908433Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:34:56.189061Z", "lte": "2024-01-17T15:49:56.189061Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:34:56.189061Z", "lte": "2024-01-17T15:49:56.189061Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:49:56.196292Z", + "endtime": "2024-01-17T15:49:56.189061Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:34:56.189061Z", + "time_taken": 0.007192134857177734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:49:56.196292Z", + "endtime": "2024-01-17T15:49:56.189061Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:34:56.189061Z", + "time_taken": 0.007192134857177734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:50:09.905400Z", + "to": "2024-01-17T15:50:09.905422Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:50:09.905400Z", + "to": "2024-01-17T15:50:09.905422Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:35:58.916741Z", "lte": "2024-01-17T15:50:58.916741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:35:58.916741Z", "lte": "2024-01-17T15:50:58.916741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:50:58.925965Z", + "endtime": "2024-01-17T15:50:58.916741Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:35:58.916741Z", + "time_taken": 0.009168863296508789 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:50:58.925965Z", + "endtime": "2024-01-17T15:50:58.916741Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:35:58.916741Z", + "time_taken": 0.009168863296508789 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:51:09.903732Z", + "to": "2024-01-17T15:51:09.903773Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:51:09.903732Z", + "to": "2024-01-17T15:51:09.903773Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:37:03.556556Z", "lte": "2024-01-17T15:52:03.556556Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:37:03.556556Z", "lte": "2024-01-17T15:52:03.556556Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:52:03.562911Z", + "endtime": "2024-01-17T15:52:03.556556Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:37:03.556556Z", + "time_taken": 0.006312131881713867 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:52:03.562911Z", + "endtime": "2024-01-17T15:52:03.556556Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:37:03.556556Z", + "time_taken": 0.006312131881713867 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:52:09.904791Z", + "to": "2024-01-17T15:52:09.904819Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:52:09.904791Z", + "to": "2024-01-17T15:52:09.904819Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:38:03.784249Z", "lte": "2024-01-17T15:53:03.784249Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:38:03.784249Z", "lte": "2024-01-17T15:53:03.784249Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:53:03.793641Z", + "endtime": "2024-01-17T15:53:03.784249Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:38:03.784249Z", + "time_taken": 0.009322166442871094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:53:03.793641Z", + "endtime": "2024-01-17T15:53:03.784249Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:38:03.784249Z", + "time_taken": 0.009322166442871094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:53:09.904891Z", + "to": "2024-01-17T15:53:09.904908Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:53:09.904891Z", + "to": "2024-01-17T15:53:09.904908Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:39:05.794506Z", "lte": "2024-01-17T15:54:05.794506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:39:05.794506Z", "lte": "2024-01-17T15:54:05.794506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:54:05.802038Z", + "endtime": "2024-01-17T15:54:05.794506Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:39:05.794506Z", + "time_taken": 0.0074808597564697266 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:54:05.802038Z", + "endtime": "2024-01-17T15:54:05.794506Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:39:05.794506Z", + "time_taken": 0.0074808597564697266 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:54:09.907985Z", + "to": "2024-01-17T15:54:09.908027Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:54:09.907985Z", + "to": "2024-01-17T15:54:09.908027Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:40:05.978777Z", "lte": "2024-01-17T15:55:05.978777Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:40:05.978777Z", "lte": "2024-01-17T15:55:05.978777Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:55:05.986452Z", + "endtime": "2024-01-17T15:55:05.978777Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:40:05.978777Z", + "time_taken": 0.007635831832885742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:55:05.986452Z", + "endtime": "2024-01-17T15:55:05.978777Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:40:05.978777Z", + "time_taken": 0.007635831832885742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:55:09.906448Z", + "to": "2024-01-17T15:55:09.906486Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:55:09.906448Z", + "to": "2024-01-17T15:55:09.906486Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:41:06.151697Z", "lte": "2024-01-17T15:56:06.151697Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:41:06.151697Z", "lte": "2024-01-17T15:56:06.151697Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:56:06.158718Z", + "endtime": "2024-01-17T15:56:06.151697Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:41:06.151697Z", + "time_taken": 0.006964921951293945 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:56:06.158718Z", + "endtime": "2024-01-17T15:56:06.151697Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:41:06.151697Z", + "time_taken": 0.006964921951293945 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:56:09.903787Z", + "to": "2024-01-17T15:56:09.903832Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:56:09.903787Z", + "to": "2024-01-17T15:56:09.903832Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:42:08.190645Z", "lte": "2024-01-17T15:57:08.190645Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:42:08.190645Z", "lte": "2024-01-17T15:57:08.190645Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:57:08.196970Z", + "endtime": "2024-01-17T15:57:08.190645Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:42:08.190645Z", + "time_taken": 0.006289005279541016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:57:08.196970Z", + "endtime": "2024-01-17T15:57:08.190645Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:42:08.190645Z", + "time_taken": 0.006289005279541016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:57:09.907988Z", + "to": "2024-01-17T15:57:09.908031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:57:09.907988Z", + "to": "2024-01-17T15:57:09.908031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:58:09.904851Z", + "to": "2024-01-17T15:58:09.904876Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:58:09.904851Z", + "to": "2024-01-17T15:58:09.904876Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:43:12.713068Z", "lte": "2024-01-17T15:58:12.713068Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:43:12.713068Z", "lte": "2024-01-17T15:58:12.713068Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:58:12.721134Z", + "endtime": "2024-01-17T15:58:12.713068Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:43:12.713068Z", + "time_taken": 0.008009910583496094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:58:12.721134Z", + "endtime": "2024-01-17T15:58:12.713068Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:43:12.713068Z", + "time_taken": 0.008009910583496094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:59:09.904812Z", + "to": "2024-01-17T15:59:09.904851Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T15:59:09.904812Z", + "to": "2024-01-17T15:59:09.904851Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:44:15.017701Z", "lte": "2024-01-17T15:59:15.017701Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:44:15.017701Z", "lte": "2024-01-17T15:59:15.017701Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:59:15.024642Z", + "endtime": "2024-01-17T15:59:15.017701Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:44:15.017701Z", + "time_taken": 0.006886720657348633 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T15:59:15.024642Z", + "endtime": "2024-01-17T15:59:15.017701Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:44:15.017701Z", + "time_taken": 0.006886720657348633 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:00:09.907647Z", + "to": "2024-01-17T16:00:09.907678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:00:09.907647Z", + "to": "2024-01-17T16:00:09.907678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:45:15.833559Z", "lte": "2024-01-17T16:00:15.833559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:45:15.833559Z", "lte": "2024-01-17T16:00:15.833559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:00:15.840448Z", + "endtime": "2024-01-17T16:00:15.833559Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:45:15.833559Z", + "time_taken": 0.00683283805847168 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:00:15.840448Z", + "endtime": "2024-01-17T16:00:15.833559Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:45:15.833559Z", + "time_taken": 0.00683283805847168 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:01:09.904005Z", + "to": "2024-01-17T16:01:09.904022Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:01:09.904005Z", + "to": "2024-01-17T16:01:09.904022Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:46:16.833916Z", "lte": "2024-01-17T16:01:16.833916Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:46:16.833916Z", "lte": "2024-01-17T16:01:16.833916Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:01:16.839606Z", + "endtime": "2024-01-17T16:01:16.833916Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:46:16.833916Z", + "time_taken": 0.005663156509399414 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:01:16.839606Z", + "endtime": "2024-01-17T16:01:16.833916Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:46:16.833916Z", + "time_taken": 0.005663156509399414 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:02:09.906317Z", + "to": "2024-01-17T16:02:09.906360Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:02:09.906317Z", + "to": "2024-01-17T16:02:09.906360Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:47:16.913318Z", "lte": "2024-01-17T16:02:16.913318Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:47:16.913318Z", "lte": "2024-01-17T16:02:16.913318Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:02:16.919651Z", + "endtime": "2024-01-17T16:02:16.913318Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:47:16.913318Z", + "time_taken": 0.00630497932434082 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:02:16.919651Z", + "endtime": "2024-01-17T16:02:16.913318Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:47:16.913318Z", + "time_taken": 0.00630497932434082 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:03:09.906306Z", + "to": "2024-01-17T16:03:09.906326Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:03:09.906306Z", + "to": "2024-01-17T16:03:09.906326Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:48:18.727949Z", "lte": "2024-01-17T16:03:18.727949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:48:18.727949Z", "lte": "2024-01-17T16:03:18.727949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:03:18.735799Z", + "endtime": "2024-01-17T16:03:18.727949Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:48:18.727949Z", + "time_taken": 0.007809162139892578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:03:18.735799Z", + "endtime": "2024-01-17T16:03:18.727949Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:48:18.727949Z", + "time_taken": 0.007809162139892578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:04:09.908459Z", + "to": "2024-01-17T16:04:09.908500Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:04:09.908459Z", + "to": "2024-01-17T16:04:09.908500Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:49:19.602089Z", "lte": "2024-01-17T16:04:19.602089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:49:19.602089Z", "lte": "2024-01-17T16:04:19.602089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:04:19.609295Z", + "endtime": "2024-01-17T16:04:19.602089Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:49:19.602089Z", + "time_taken": 0.007172107696533203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:04:19.609295Z", + "endtime": "2024-01-17T16:04:19.602089Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:49:19.602089Z", + "time_taken": 0.007172107696533203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:05:09.903610Z", + "to": "2024-01-17T16:05:09.903633Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:05:09.903610Z", + "to": "2024-01-17T16:05:09.903633Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:50:21.870880Z", "lte": "2024-01-17T16:05:21.870880Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:50:21.870880Z", "lte": "2024-01-17T16:05:21.870880Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:05:21.877281Z", + "endtime": "2024-01-17T16:05:21.870880Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:50:21.870880Z", + "time_taken": 0.006374835968017578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:05:21.877281Z", + "endtime": "2024-01-17T16:05:21.870880Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:50:21.870880Z", + "time_taken": 0.006374835968017578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:06:09.907042Z", + "to": "2024-01-17T16:06:09.907059Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:06:09.907042Z", + "to": "2024-01-17T16:06:09.907059Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:51:22.353784Z", "lte": "2024-01-17T16:06:22.353784Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:51:22.353784Z", "lte": "2024-01-17T16:06:22.353784Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:06:22.361751Z", + "endtime": "2024-01-17T16:06:22.353784Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:51:22.353784Z", + "time_taken": 0.007934808731079102 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:06:22.361751Z", + "endtime": "2024-01-17T16:06:22.353784Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:51:22.353784Z", + "time_taken": 0.007934808731079102 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:07:09.906366Z", + "to": "2024-01-17T16:07:09.906388Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:07:09.906366Z", + "to": "2024-01-17T16:07:09.906388Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:52:25.378088Z", "lte": "2024-01-17T16:07:25.378088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:52:25.378088Z", "lte": "2024-01-17T16:07:25.378088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:07:25.385234Z", + "endtime": "2024-01-17T16:07:25.378088Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:52:25.378088Z", + "time_taken": 0.007090091705322266 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:07:25.385234Z", + "endtime": "2024-01-17T16:07:25.378088Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:52:25.378088Z", + "time_taken": 0.007090091705322266 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:08:09.904425Z", + "to": "2024-01-17T16:08:09.904464Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:08:09.904425Z", + "to": "2024-01-17T16:08:09.904464Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:53:27.262144Z", "lte": "2024-01-17T16:08:27.262144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:53:27.262144Z", "lte": "2024-01-17T16:08:27.262144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:08:27.267883Z", + "endtime": "2024-01-17T16:08:27.262144Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:53:27.262144Z", + "time_taken": 0.005712985992431641 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:08:27.267883Z", + "endtime": "2024-01-17T16:08:27.262144Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:53:27.262144Z", + "time_taken": 0.005712985992431641 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:09:09.906367Z", + "to": "2024-01-17T16:09:09.906407Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:09:09.906367Z", + "to": "2024-01-17T16:09:09.906407Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:54:30.247146Z", "lte": "2024-01-17T16:09:30.247146Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:54:30.247146Z", "lte": "2024-01-17T16:09:30.247146Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:09:30.281321Z", + "endtime": "2024-01-17T16:09:30.247146Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:54:30.247146Z", + "time_taken": 0.03412127494812012 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:09:30.281321Z", + "endtime": "2024-01-17T16:09:30.247146Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:54:30.247146Z", + "time_taken": 0.03412127494812012 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:10:09.903654Z", + "to": "2024-01-17T16:10:09.903689Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:10:09.903654Z", + "to": "2024-01-17T16:10:09.903689Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:55:33.684867Z", "lte": "2024-01-17T16:10:33.684867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:55:33.684867Z", "lte": "2024-01-17T16:10:33.684867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:10:33.691744Z", + "endtime": "2024-01-17T16:10:33.684867Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:55:33.684867Z", + "time_taken": 0.0068438053131103516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:10:33.691744Z", + "endtime": "2024-01-17T16:10:33.684867Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:55:33.684867Z", + "time_taken": 0.0068438053131103516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:11:09.906901Z", + "to": "2024-01-17T16:11:09.906920Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:11:09.906901Z", + "to": "2024-01-17T16:11:09.906920Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:56:37.578648Z", "lte": "2024-01-17T16:11:37.578648Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:56:37.578648Z", "lte": "2024-01-17T16:11:37.578648Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:11:37.586431Z", + "endtime": "2024-01-17T16:11:37.578648Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:56:37.578648Z", + "time_taken": 0.007751941680908203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:11:37.586431Z", + "endtime": "2024-01-17T16:11:37.578648Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:56:37.578648Z", + "time_taken": 0.007751941680908203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:12:09.908698Z", + "to": "2024-01-17T16:12:09.908736Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:12:09.908698Z", + "to": "2024-01-17T16:12:09.908736Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:57:38.936047Z", "lte": "2024-01-17T16:12:38.936047Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:57:38.936047Z", "lte": "2024-01-17T16:12:38.936047Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:12:38.950651Z", + "endtime": "2024-01-17T16:12:38.936047Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:57:38.936047Z", + "time_taken": 0.01454305648803711 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:12:38.950651Z", + "endtime": "2024-01-17T16:12:38.936047Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:57:38.936047Z", + "time_taken": 0.01454305648803711 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:13:09.908178Z", + "to": "2024-01-17T16:13:09.908222Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:13:09.908178Z", + "to": "2024-01-17T16:13:09.908222Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:58:40.991981Z", "lte": "2024-01-17T16:13:40.991981Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:58:40.991981Z", "lte": "2024-01-17T16:13:40.991981Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:13:40.998554Z", + "endtime": "2024-01-17T16:13:40.991981Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:58:40.991981Z", + "time_taken": 0.006534099578857422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:13:40.998554Z", + "endtime": "2024-01-17T16:13:40.991981Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:58:40.991981Z", + "time_taken": 0.006534099578857422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:14:09.906651Z", + "to": "2024-01-17T16:14:09.906691Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:14:09.906651Z", + "to": "2024-01-17T16:14:09.906691Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:59:43.415899Z", "lte": "2024-01-17T16:14:43.415899Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:59:43.415899Z", "lte": "2024-01-17T16:14:43.415899Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:14:43.422777Z", + "endtime": "2024-01-17T16:14:43.415899Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:59:43.415899Z", + "time_taken": 0.006824016571044922 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:14:43.422777Z", + "endtime": "2024-01-17T16:14:43.415899Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T15:59:43.415899Z", + "time_taken": 0.006824016571044922 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:15:09.906141Z", + "to": "2024-01-17T16:15:09.906168Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:15:09.906141Z", + "to": "2024-01-17T16:15:09.906168Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:00:46.092274Z", "lte": "2024-01-17T16:15:46.092274Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:00:46.092274Z", "lte": "2024-01-17T16:15:46.092274Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:15:46.103754Z", + "endtime": "2024-01-17T16:15:46.092274Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:00:46.092274Z", + "time_taken": 0.011452913284301758 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:15:46.103754Z", + "endtime": "2024-01-17T16:15:46.092274Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:00:46.092274Z", + "time_taken": 0.011452913284301758 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:16:09.907013Z", + "to": "2024-01-17T16:16:09.907032Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:16:09.907013Z", + "to": "2024-01-17T16:16:09.907032Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:01:47.189230Z", "lte": "2024-01-17T16:16:47.189230Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:01:47.189230Z", "lte": "2024-01-17T16:16:47.189230Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:16:47.196933Z", + "endtime": "2024-01-17T16:16:47.189230Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:01:47.189230Z", + "time_taken": 0.007647037506103516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:16:47.196933Z", + "endtime": "2024-01-17T16:16:47.189230Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:01:47.189230Z", + "time_taken": 0.007647037506103516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:17:09.905070Z", + "to": "2024-01-17T16:17:09.905111Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:17:09.905070Z", + "to": "2024-01-17T16:17:09.905111Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:02:51.126663Z", "lte": "2024-01-17T16:17:51.126663Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:02:51.126663Z", "lte": "2024-01-17T16:17:51.126663Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:17:51.133967Z", + "endtime": "2024-01-17T16:17:51.126663Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:02:51.126663Z", + "time_taken": 0.007276058197021484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:17:51.133967Z", + "endtime": "2024-01-17T16:17:51.126663Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:02:51.126663Z", + "time_taken": 0.007276058197021484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:18:09.903764Z", + "to": "2024-01-17T16:18:09.903789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:18:09.903764Z", + "to": "2024-01-17T16:18:09.903789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:03:54.562011Z", "lte": "2024-01-17T16:18:54.562011Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:03:54.562011Z", "lte": "2024-01-17T16:18:54.562011Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:18:54.568733Z", + "endtime": "2024-01-17T16:18:54.562011Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:03:54.562011Z", + "time_taken": 0.006667137145996094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:18:54.568733Z", + "endtime": "2024-01-17T16:18:54.562011Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:03:54.562011Z", + "time_taken": 0.006667137145996094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:19:09.904446Z", + "to": "2024-01-17T16:19:09.904463Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:19:09.904446Z", + "to": "2024-01-17T16:19:09.904463Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:04:57.573959Z", "lte": "2024-01-17T16:19:57.573959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:04:57.573959Z", "lte": "2024-01-17T16:19:57.573959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:19:57.580169Z", + "endtime": "2024-01-17T16:19:57.573959Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:04:57.573959Z", + "time_taken": 0.006174325942993164 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:19:57.580169Z", + "endtime": "2024-01-17T16:19:57.573959Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:04:57.573959Z", + "time_taken": 0.006174325942993164 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:20:09.907922Z", + "to": "2024-01-17T16:20:09.907945Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:20:09.907922Z", + "to": "2024-01-17T16:20:09.907945Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:06:00.868989Z", "lte": "2024-01-17T16:21:00.868989Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:06:00.868989Z", "lte": "2024-01-17T16:21:00.868989Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:21:00.877917Z", + "endtime": "2024-01-17T16:21:00.868989Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:06:00.868989Z", + "time_taken": 0.008888959884643555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:21:00.877917Z", + "endtime": "2024-01-17T16:21:00.868989Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:06:00.868989Z", + "time_taken": 0.008888959884643555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:21:09.906502Z", + "to": "2024-01-17T16:21:09.906528Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:21:09.906502Z", + "to": "2024-01-17T16:21:09.906528Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:07:01.301225Z", "lte": "2024-01-17T16:22:01.301225Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:07:01.301225Z", "lte": "2024-01-17T16:22:01.301225Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:22:01.322687Z", + "endtime": "2024-01-17T16:22:01.301225Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:07:01.301225Z", + "time_taken": 0.021384239196777344 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:22:01.322687Z", + "endtime": "2024-01-17T16:22:01.301225Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:07:01.301225Z", + "time_taken": 0.021384239196777344 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:22:09.907519Z", + "to": "2024-01-17T16:22:09.907559Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:22:09.907519Z", + "to": "2024-01-17T16:22:09.907559Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:08:04.233428Z", "lte": "2024-01-17T16:23:04.233428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:08:04.233428Z", "lte": "2024-01-17T16:23:04.233428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:23:04.240458Z", + "endtime": "2024-01-17T16:23:04.233428Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:08:04.233428Z", + "time_taken": 0.00698399543762207 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:23:04.240458Z", + "endtime": "2024-01-17T16:23:04.233428Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:08:04.233428Z", + "time_taken": 0.00698399543762207 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:23:09.908037Z", + "to": "2024-01-17T16:23:09.908053Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:23:09.908037Z", + "to": "2024-01-17T16:23:09.908053Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:09:06.532458Z", "lte": "2024-01-17T16:24:06.532458Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:09:06.532458Z", "lte": "2024-01-17T16:24:06.532458Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:24:06.539323Z", + "endtime": "2024-01-17T16:24:06.532458Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:09:06.532458Z", + "time_taken": 0.006831169128417969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:24:06.539323Z", + "endtime": "2024-01-17T16:24:06.532458Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:09:06.532458Z", + "time_taken": 0.006831169128417969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:24:09.905102Z", + "to": "2024-01-17T16:24:09.905128Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:24:09.905102Z", + "to": "2024-01-17T16:24:09.905128Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:25:09.903397Z", + "to": "2024-01-17T16:25:09.903422Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:25:09.903397Z", + "to": "2024-01-17T16:25:09.903422Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:10:10.496219Z", "lte": "2024-01-17T16:25:10.496219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:10:10.496219Z", "lte": "2024-01-17T16:25:10.496219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:25:10.502416Z", + "endtime": "2024-01-17T16:25:10.496219Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:10:10.496219Z", + "time_taken": 0.006156206130981445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:25:10.502416Z", + "endtime": "2024-01-17T16:25:10.496219Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:10:10.496219Z", + "time_taken": 0.006156206130981445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:26:09.903759Z", + "to": "2024-01-17T16:26:09.903785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:26:09.903759Z", + "to": "2024-01-17T16:26:09.903785Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:11:12.733261Z", "lte": "2024-01-17T16:26:12.733261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:11:12.733261Z", "lte": "2024-01-17T16:26:12.733261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:26:12.739320Z", + "endtime": "2024-01-17T16:26:12.733261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:11:12.733261Z", + "time_taken": 0.0060291290283203125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:26:12.739320Z", + "endtime": "2024-01-17T16:26:12.733261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:11:12.733261Z", + "time_taken": 0.0060291290283203125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:27:09.903756Z", + "to": "2024-01-17T16:27:09.903795Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:27:09.903756Z", + "to": "2024-01-17T16:27:09.903795Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:12:16.537815Z", "lte": "2024-01-17T16:27:16.537815Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:12:16.537815Z", "lte": "2024-01-17T16:27:16.537815Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:27:16.543888Z", + "endtime": "2024-01-17T16:27:16.537815Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:12:16.537815Z", + "time_taken": 0.006039142608642578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:27:16.543888Z", + "endtime": "2024-01-17T16:27:16.537815Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:12:16.537815Z", + "time_taken": 0.006039142608642578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:28:09.908132Z", + "to": "2024-01-17T16:28:09.908171Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:28:09.908132Z", + "to": "2024-01-17T16:28:09.908171Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:13:17.924644Z", "lte": "2024-01-17T16:28:17.924644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:13:17.924644Z", "lte": "2024-01-17T16:28:17.924644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:28:17.931987Z", + "endtime": "2024-01-17T16:28:17.924644Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:13:17.924644Z", + "time_taken": 0.007302045822143555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:28:17.931987Z", + "endtime": "2024-01-17T16:28:17.924644Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:13:17.924644Z", + "time_taken": 0.007302045822143555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:29:09.908569Z", + "to": "2024-01-17T16:29:09.908612Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:29:09.908569Z", + "to": "2024-01-17T16:29:09.908612Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:14:22.381644Z", "lte": "2024-01-17T16:29:22.381644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:14:22.381644Z", "lte": "2024-01-17T16:29:22.381644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:29:22.388841Z", + "endtime": "2024-01-17T16:29:22.381644Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:14:22.381644Z", + "time_taken": 0.0071642398834228516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:29:22.388841Z", + "endtime": "2024-01-17T16:29:22.381644Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:14:22.381644Z", + "time_taken": 0.0071642398834228516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:30:09.907542Z", + "to": "2024-01-17T16:30:09.907581Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:30:09.907542Z", + "to": "2024-01-17T16:30:09.907581Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:15:25.917040Z", "lte": "2024-01-17T16:30:25.917040Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:15:25.917040Z", "lte": "2024-01-17T16:30:25.917040Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:30:25.922539Z", + "endtime": "2024-01-17T16:30:25.917040Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:15:25.917040Z", + "time_taken": 0.005467891693115234 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:30:25.922539Z", + "endtime": "2024-01-17T16:30:25.917040Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:15:25.917040Z", + "time_taken": 0.005467891693115234 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:31:09.903813Z", + "to": "2024-01-17T16:31:09.903838Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:31:09.903813Z", + "to": "2024-01-17T16:31:09.903838Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:16:28.677907Z", "lte": "2024-01-17T16:31:28.677907Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:16:28.677907Z", "lte": "2024-01-17T16:31:28.677907Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:31:28.683936Z", + "endtime": "2024-01-17T16:31:28.677907Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:16:28.677907Z", + "time_taken": 0.005995035171508789 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:31:28.683936Z", + "endtime": "2024-01-17T16:31:28.677907Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:16:28.677907Z", + "time_taken": 0.005995035171508789 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:32:09.903559Z", + "to": "2024-01-17T16:32:09.903585Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:32:09.903559Z", + "to": "2024-01-17T16:32:09.903585Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:17:28.976745Z", "lte": "2024-01-17T16:32:28.976745Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:17:28.976745Z", "lte": "2024-01-17T16:32:28.976745Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:32:28.985438Z", + "endtime": "2024-01-17T16:32:28.976745Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:17:28.976745Z", + "time_taken": 0.008659124374389648 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:32:28.985438Z", + "endtime": "2024-01-17T16:32:28.976745Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:17:28.976745Z", + "time_taken": 0.008659124374389648 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:33:09.907750Z", + "to": "2024-01-17T16:33:09.907789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:33:09.907750Z", + "to": "2024-01-17T16:33:09.907789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:18:29.807442Z", "lte": "2024-01-17T16:33:29.807442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:18:29.807442Z", "lte": "2024-01-17T16:33:29.807442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:33:29.812398Z", + "endtime": "2024-01-17T16:33:29.807442Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:18:29.807442Z", + "time_taken": 0.004930019378662109 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:33:29.812398Z", + "endtime": "2024-01-17T16:33:29.807442Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:18:29.807442Z", + "time_taken": 0.004930019378662109 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:34:09.904832Z", + "to": "2024-01-17T16:34:09.904874Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:34:09.904832Z", + "to": "2024-01-17T16:34:09.904874Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:19:31.075714Z", "lte": "2024-01-17T16:34:31.075714Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:19:31.075714Z", "lte": "2024-01-17T16:34:31.075714Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:34:31.082248Z", + "endtime": "2024-01-17T16:34:31.075714Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:19:31.075714Z", + "time_taken": 0.006493330001831055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:34:31.082248Z", + "endtime": "2024-01-17T16:34:31.075714Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:19:31.075714Z", + "time_taken": 0.006493330001831055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:35:09.903759Z", + "to": "2024-01-17T16:35:09.903798Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:35:09.903759Z", + "to": "2024-01-17T16:35:09.903798Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:20:35.399587Z", "lte": "2024-01-17T16:35:35.399587Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:20:35.399587Z", "lte": "2024-01-17T16:35:35.399587Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:35:35.405394Z", + "endtime": "2024-01-17T16:35:35.399587Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:20:35.399587Z", + "time_taken": 0.005774021148681641 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:35:35.405394Z", + "endtime": "2024-01-17T16:35:35.399587Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:20:35.399587Z", + "time_taken": 0.005774021148681641 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:36:09.905625Z", + "to": "2024-01-17T16:36:09.905645Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:36:09.905625Z", + "to": "2024-01-17T16:36:09.905645Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:21:37.224991Z", "lte": "2024-01-17T16:36:37.224991Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:21:37.224991Z", "lte": "2024-01-17T16:36:37.224991Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:36:37.232263Z", + "endtime": "2024-01-17T16:36:37.224991Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:21:37.224991Z", + "time_taken": 0.007235050201416016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:36:37.232263Z", + "endtime": "2024-01-17T16:36:37.224991Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:21:37.224991Z", + "time_taken": 0.007235050201416016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:37:09.904934Z", + "to": "2024-01-17T16:37:09.904972Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:37:09.904934Z", + "to": "2024-01-17T16:37:09.904972Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:22:41.362559Z", "lte": "2024-01-17T16:37:41.362559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:22:41.362559Z", "lte": "2024-01-17T16:37:41.362559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:37:41.367452Z", + "endtime": "2024-01-17T16:37:41.362559Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:22:41.362559Z", + "time_taken": 0.004867076873779297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:37:41.367452Z", + "endtime": "2024-01-17T16:37:41.362559Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:22:41.362559Z", + "time_taken": 0.004867076873779297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:38:09.904675Z", + "to": "2024-01-17T16:38:09.904714Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:38:09.904675Z", + "to": "2024-01-17T16:38:09.904714Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:23:42.302165Z", "lte": "2024-01-17T16:38:42.302165Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:23:42.302165Z", "lte": "2024-01-17T16:38:42.302165Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:38:42.307549Z", + "endtime": "2024-01-17T16:38:42.302165Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:23:42.302165Z", + "time_taken": 0.0053560733795166016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:38:42.307549Z", + "endtime": "2024-01-17T16:38:42.302165Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:23:42.302165Z", + "time_taken": 0.0053560733795166016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:39:09.907775Z", + "to": "2024-01-17T16:39:09.907805Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:39:09.907775Z", + "to": "2024-01-17T16:39:09.907805Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:24:46.907402Z", "lte": "2024-01-17T16:39:46.907402Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:24:46.907402Z", "lte": "2024-01-17T16:39:46.907402Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:39:46.913850Z", + "endtime": "2024-01-17T16:39:46.907402Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:24:46.907402Z", + "time_taken": 0.006407976150512695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:39:46.913850Z", + "endtime": "2024-01-17T16:39:46.907402Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:24:46.907402Z", + "time_taken": 0.006407976150512695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:40:09.906438Z", + "to": "2024-01-17T16:40:09.906481Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:40:09.906438Z", + "to": "2024-01-17T16:40:09.906481Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:25:48.372122Z", "lte": "2024-01-17T16:40:48.372122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:25:48.372122Z", "lte": "2024-01-17T16:40:48.372122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:40:48.378957Z", + "endtime": "2024-01-17T16:40:48.372122Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:25:48.372122Z", + "time_taken": 0.006782054901123047 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:40:48.378957Z", + "endtime": "2024-01-17T16:40:48.372122Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:25:48.372122Z", + "time_taken": 0.006782054901123047 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:41:09.905608Z", + "to": "2024-01-17T16:41:09.905646Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:41:09.905608Z", + "to": "2024-01-17T16:41:09.905646Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:26:50.433879Z", "lte": "2024-01-17T16:41:50.433879Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:26:50.433879Z", "lte": "2024-01-17T16:41:50.433879Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:41:50.440396Z", + "endtime": "2024-01-17T16:41:50.433879Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:26:50.433879Z", + "time_taken": 0.006476163864135742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:41:50.440396Z", + "endtime": "2024-01-17T16:41:50.433879Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:26:50.433879Z", + "time_taken": 0.006476163864135742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:42:09.907390Z", + "to": "2024-01-17T16:42:09.907406Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:42:09.907390Z", + "to": "2024-01-17T16:42:09.907406Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:27:54.343811Z", "lte": "2024-01-17T16:42:54.343811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:27:54.343811Z", "lte": "2024-01-17T16:42:54.343811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:42:54.350762Z", + "endtime": "2024-01-17T16:42:54.343811Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:27:54.343811Z", + "time_taken": 0.006894826889038086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:42:54.350762Z", + "endtime": "2024-01-17T16:42:54.343811Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:27:54.343811Z", + "time_taken": 0.006894826889038086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:43:09.903573Z", + "to": "2024-01-17T16:43:09.903590Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:43:09.903573Z", + "to": "2024-01-17T16:43:09.903590Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:28:56.116674Z", "lte": "2024-01-17T16:43:56.116674Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:28:56.116674Z", "lte": "2024-01-17T16:43:56.116674Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:43:56.124248Z", + "endtime": "2024-01-17T16:43:56.116674Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:28:56.116674Z", + "time_taken": 0.00751495361328125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:43:56.124248Z", + "endtime": "2024-01-17T16:43:56.116674Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:28:56.116674Z", + "time_taken": 0.00751495361328125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:44:09.908698Z", + "to": "2024-01-17T16:44:09.908736Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:44:09.908698Z", + "to": "2024-01-17T16:44:09.908736Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:29:59.540479Z", "lte": "2024-01-17T16:44:59.540479Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:29:59.540479Z", "lte": "2024-01-17T16:44:59.540479Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:44:59.546545Z", + "endtime": "2024-01-17T16:44:59.540479Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:29:59.540479Z", + "time_taken": 0.006034374237060547 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:44:59.546545Z", + "endtime": "2024-01-17T16:44:59.540479Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:29:59.540479Z", + "time_taken": 0.006034374237060547 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:45:09.907942Z", + "to": "2024-01-17T16:45:09.907981Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:45:09.907942Z", + "to": "2024-01-17T16:45:09.907981Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:31:01.176601Z", "lte": "2024-01-17T16:46:01.176601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:31:01.176601Z", "lte": "2024-01-17T16:46:01.176601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:46:01.184982Z", + "endtime": "2024-01-17T16:46:01.176601Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:31:01.176601Z", + "time_taken": 0.008326053619384766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:46:01.184982Z", + "endtime": "2024-01-17T16:46:01.176601Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:31:01.176601Z", + "time_taken": 0.008326053619384766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:46:09.912708Z", + "to": "2024-01-17T16:46:09.912730Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:46:09.912708Z", + "to": "2024-01-17T16:46:09.912730Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:32:03.424698Z", "lte": "2024-01-17T16:47:03.424698Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:32:03.424698Z", "lte": "2024-01-17T16:47:03.424698Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:47:03.430637Z", + "endtime": "2024-01-17T16:47:03.424698Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:32:03.424698Z", + "time_taken": 0.005914211273193359 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:47:03.430637Z", + "endtime": "2024-01-17T16:47:03.424698Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:32:03.424698Z", + "time_taken": 0.005914211273193359 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:47:09.905053Z", + "to": "2024-01-17T16:47:09.905069Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:47:09.905053Z", + "to": "2024-01-17T16:47:09.905069Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:33:04.714442Z", "lte": "2024-01-17T16:48:04.714442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:33:04.714442Z", "lte": "2024-01-17T16:48:04.714442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:48:04.723625Z", + "endtime": "2024-01-17T16:48:04.714442Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:33:04.714442Z", + "time_taken": 0.009128093719482422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:48:04.723625Z", + "endtime": "2024-01-17T16:48:04.714442Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:33:04.714442Z", + "time_taken": 0.009128093719482422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:48:09.913618Z", + "to": "2024-01-17T16:48:09.913658Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:48:09.913618Z", + "to": "2024-01-17T16:48:09.913658Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:34:08.549282Z", "lte": "2024-01-17T16:49:08.549282Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:34:08.549282Z", "lte": "2024-01-17T16:49:08.549282Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:49:08.556259Z", + "endtime": "2024-01-17T16:49:08.549282Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:34:08.549282Z", + "time_taken": 0.00692296028137207 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:49:08.556259Z", + "endtime": "2024-01-17T16:49:08.549282Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:34:08.549282Z", + "time_taken": 0.00692296028137207 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:49:09.908384Z", + "to": "2024-01-17T16:49:09.908406Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:49:09.908384Z", + "to": "2024-01-17T16:49:09.908406Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:50:09.913854Z", + "to": "2024-01-17T16:50:09.913893Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:50:09.913854Z", + "to": "2024-01-17T16:50:09.913893Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:35:11.920571Z", "lte": "2024-01-17T16:50:11.920571Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:35:11.920571Z", "lte": "2024-01-17T16:50:11.920571Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:50:11.927464Z", + "endtime": "2024-01-17T16:50:11.920571Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:35:11.920571Z", + "time_taken": 0.006838083267211914 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:50:11.927464Z", + "endtime": "2024-01-17T16:50:11.920571Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:35:11.920571Z", + "time_taken": 0.006838083267211914 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:51:09.914015Z", + "to": "2024-01-17T16:51:09.914053Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:51:09.914015Z", + "to": "2024-01-17T16:51:09.914053Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:36:12.168551Z", "lte": "2024-01-17T16:51:12.168551Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:36:12.168551Z", "lte": "2024-01-17T16:51:12.168551Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:51:12.175433Z", + "endtime": "2024-01-17T16:51:12.168551Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:36:12.168551Z", + "time_taken": 0.006827592849731445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:51:12.175433Z", + "endtime": "2024-01-17T16:51:12.168551Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:36:12.168551Z", + "time_taken": 0.006827592849731445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:52:09.913613Z", + "to": "2024-01-17T16:52:09.913652Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:52:09.913613Z", + "to": "2024-01-17T16:52:09.913652Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:37:13.428802Z", "lte": "2024-01-17T16:52:13.428802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:37:13.428802Z", "lte": "2024-01-17T16:52:13.428802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:52:13.435791Z", + "endtime": "2024-01-17T16:52:13.428802Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:37:13.428802Z", + "time_taken": 0.0069348812103271484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:52:13.435791Z", + "endtime": "2024-01-17T16:52:13.428802Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:37:13.428802Z", + "time_taken": 0.0069348812103271484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:53:09.913862Z", + "to": "2024-01-17T16:53:09.913888Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:53:09.913862Z", + "to": "2024-01-17T16:53:09.913888Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:38:16.648854Z", "lte": "2024-01-17T16:53:16.648854Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:38:16.648854Z", "lte": "2024-01-17T16:53:16.648854Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:53:16.655444Z", + "endtime": "2024-01-17T16:53:16.648854Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:38:16.648854Z", + "time_taken": 0.006536960601806641 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:53:16.655444Z", + "endtime": "2024-01-17T16:53:16.648854Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:38:16.648854Z", + "time_taken": 0.006536960601806641 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:54:09.910529Z", + "to": "2024-01-17T16:54:09.910555Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:54:09.910529Z", + "to": "2024-01-17T16:54:09.910555Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:39:16.823150Z", "lte": "2024-01-17T16:54:16.823150Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:39:16.823150Z", "lte": "2024-01-17T16:54:16.823150Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:54:16.829715Z", + "endtime": "2024-01-17T16:54:16.823150Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:39:16.823150Z", + "time_taken": 0.006510257720947266 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:54:16.829715Z", + "endtime": "2024-01-17T16:54:16.823150Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:39:16.823150Z", + "time_taken": 0.006510257720947266 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:55:09.904424Z", + "to": "2024-01-17T16:55:09.904463Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:55:09.904424Z", + "to": "2024-01-17T16:55:09.904463Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:40:20.001300Z", "lte": "2024-01-17T16:55:20.001300Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:40:20.001300Z", "lte": "2024-01-17T16:55:20.001300Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:55:20.009412Z", + "endtime": "2024-01-17T16:55:20.001300Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:40:20.001300Z", + "time_taken": 0.008051872253417969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:55:20.009412Z", + "endtime": "2024-01-17T16:55:20.001300Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:40:20.001300Z", + "time_taken": 0.008051872253417969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:56:09.913602Z", + "to": "2024-01-17T16:56:09.913627Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:56:09.913602Z", + "to": "2024-01-17T16:56:09.913627Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:41:20.850310Z", "lte": "2024-01-17T16:56:20.850310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:41:20.850310Z", "lte": "2024-01-17T16:56:20.850310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:56:20.857023Z", + "endtime": "2024-01-17T16:56:20.850310Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:41:20.850310Z", + "time_taken": 0.006657123565673828 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:56:20.857023Z", + "endtime": "2024-01-17T16:56:20.850310Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:41:20.850310Z", + "time_taken": 0.006657123565673828 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:57:09.912150Z", + "to": "2024-01-17T16:57:09.912177Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:57:09.912150Z", + "to": "2024-01-17T16:57:09.912177Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:42:23.660466Z", "lte": "2024-01-17T16:57:23.660466Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:42:23.660466Z", "lte": "2024-01-17T16:57:23.660466Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:57:23.666760Z", + "endtime": "2024-01-17T16:57:23.660466Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:42:23.660466Z", + "time_taken": 0.006256103515625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:57:23.666760Z", + "endtime": "2024-01-17T16:57:23.660466Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:42:23.660466Z", + "time_taken": 0.006256103515625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:58:09.913068Z", + "to": "2024-01-17T16:58:09.913094Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:58:09.913068Z", + "to": "2024-01-17T16:58:09.913094Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:43:24.186941Z", "lte": "2024-01-17T16:58:24.186941Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:43:24.186941Z", "lte": "2024-01-17T16:58:24.186941Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:58:24.193900Z", + "endtime": "2024-01-17T16:58:24.186941Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:43:24.186941Z", + "time_taken": 0.006895780563354492 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:58:24.193900Z", + "endtime": "2024-01-17T16:58:24.186941Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:43:24.186941Z", + "time_taken": 0.006895780563354492 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:59:09.913851Z", + "to": "2024-01-17T16:59:09.913890Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T16:59:09.913851Z", + "to": "2024-01-17T16:59:09.913890Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:44:28.831015Z", "lte": "2024-01-17T16:59:28.831015Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:44:28.831015Z", "lte": "2024-01-17T16:59:28.831015Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:59:28.838488Z", + "endtime": "2024-01-17T16:59:28.831015Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:44:28.831015Z", + "time_taken": 0.007417201995849609 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T16:59:28.838488Z", + "endtime": "2024-01-17T16:59:28.831015Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:44:28.831015Z", + "time_taken": 0.007417201995849609 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:00:09.906464Z", + "to": "2024-01-17T17:00:09.906503Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:00:09.906464Z", + "to": "2024-01-17T17:00:09.906503Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:45:33.766136Z", "lte": "2024-01-17T17:00:33.766136Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:45:33.766136Z", "lte": "2024-01-17T17:00:33.766136Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:00:33.771632Z", + "endtime": "2024-01-17T17:00:33.766136Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:45:33.766136Z", + "time_taken": 0.00546717643737793 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:00:33.771632Z", + "endtime": "2024-01-17T17:00:33.766136Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:45:33.766136Z", + "time_taken": 0.00546717643737793 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:01:09.912488Z", + "to": "2024-01-17T17:01:09.912526Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:01:09.912488Z", + "to": "2024-01-17T17:01:09.912526Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:46:35.356244Z", "lte": "2024-01-17T17:01:35.356244Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:46:35.356244Z", "lte": "2024-01-17T17:01:35.356244Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:01:35.363262Z", + "endtime": "2024-01-17T17:01:35.356244Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:46:35.356244Z", + "time_taken": 0.006963253021240234 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:01:35.363262Z", + "endtime": "2024-01-17T17:01:35.356244Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:46:35.356244Z", + "time_taken": 0.006963253021240234 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:02:09.911674Z", + "to": "2024-01-17T17:02:09.911713Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:02:09.911674Z", + "to": "2024-01-17T17:02:09.911713Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:47:38.515951Z", "lte": "2024-01-17T17:02:38.515951Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:47:38.515951Z", "lte": "2024-01-17T17:02:38.515951Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:02:38.522395Z", + "endtime": "2024-01-17T17:02:38.515951Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:47:38.515951Z", + "time_taken": 0.006406068801879883 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:02:38.522395Z", + "endtime": "2024-01-17T17:02:38.515951Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:47:38.515951Z", + "time_taken": 0.006406068801879883 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:03:09.913614Z", + "to": "2024-01-17T17:03:09.913653Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:03:09.913614Z", + "to": "2024-01-17T17:03:09.913653Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:48:42.640405Z", "lte": "2024-01-17T17:03:42.640405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:48:42.640405Z", "lte": "2024-01-17T17:03:42.640405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:03:42.647812Z", + "endtime": "2024-01-17T17:03:42.640405Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:48:42.640405Z", + "time_taken": 0.007341146469116211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:03:42.647812Z", + "endtime": "2024-01-17T17:03:42.640405Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:48:42.640405Z", + "time_taken": 0.007341146469116211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:04:09.908829Z", + "to": "2024-01-17T17:04:09.908868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:04:09.908829Z", + "to": "2024-01-17T17:04:09.908868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:49:47.077429Z", "lte": "2024-01-17T17:04:47.077429Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:49:47.077429Z", "lte": "2024-01-17T17:04:47.077429Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:04:47.085933Z", + "endtime": "2024-01-17T17:04:47.077429Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:49:47.077429Z", + "time_taken": 0.00844717025756836 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:04:47.085933Z", + "endtime": "2024-01-17T17:04:47.077429Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:49:47.077429Z", + "time_taken": 0.00844717025756836 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:05:09.912076Z", + "to": "2024-01-17T17:05:09.912116Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:05:09.912076Z", + "to": "2024-01-17T17:05:09.912116Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:50:49.479263Z", "lte": "2024-01-17T17:05:49.479263Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:50:49.479263Z", "lte": "2024-01-17T17:05:49.479263Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:05:49.487044Z", + "endtime": "2024-01-17T17:05:49.479263Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:50:49.479263Z", + "time_taken": 0.007727146148681641 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:05:49.487044Z", + "endtime": "2024-01-17T17:05:49.479263Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:50:49.479263Z", + "time_taken": 0.007727146148681641 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:06:09.912466Z", + "to": "2024-01-17T17:06:09.912506Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:06:09.912466Z", + "to": "2024-01-17T17:06:09.912506Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:51:49.676057Z", "lte": "2024-01-17T17:06:49.676057Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:51:49.676057Z", "lte": "2024-01-17T17:06:49.676057Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:06:49.684399Z", + "endtime": "2024-01-17T17:06:49.676057Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:51:49.676057Z", + "time_taken": 0.008306741714477539 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:06:49.684399Z", + "endtime": "2024-01-17T17:06:49.676057Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:51:49.676057Z", + "time_taken": 0.008306741714477539 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:07:09.909834Z", + "to": "2024-01-17T17:07:09.909871Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:07:09.909834Z", + "to": "2024-01-17T17:07:09.909871Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:52:50.074112Z", "lte": "2024-01-17T17:07:50.074112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:52:50.074112Z", "lte": "2024-01-17T17:07:50.074112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:07:50.081560Z", + "endtime": "2024-01-17T17:07:50.074112Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:52:50.074112Z", + "time_taken": 0.007407188415527344 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:07:50.081560Z", + "endtime": "2024-01-17T17:07:50.074112Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:52:50.074112Z", + "time_taken": 0.007407188415527344 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:08:09.910234Z", + "to": "2024-01-17T17:08:09.910285Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:08:09.910234Z", + "to": "2024-01-17T17:08:09.910285Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:53:51.395811Z", "lte": "2024-01-17T17:08:51.395811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:53:51.395811Z", "lte": "2024-01-17T17:08:51.395811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:08:51.423800Z", + "endtime": "2024-01-17T17:08:51.395811Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:53:51.395811Z", + "time_taken": 0.02793097496032715 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:08:51.423800Z", + "endtime": "2024-01-17T17:08:51.395811Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:53:51.395811Z", + "time_taken": 0.02793097496032715 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:09:09.912346Z", + "to": "2024-01-17T17:09:09.912384Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:09:09.912346Z", + "to": "2024-01-17T17:09:09.912384Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:54:54.813361Z", "lte": "2024-01-17T17:09:54.813361Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:54:54.813361Z", "lte": "2024-01-17T17:09:54.813361Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:09:54.819223Z", + "endtime": "2024-01-17T17:09:54.813361Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:54:54.813361Z", + "time_taken": 0.005825042724609375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:09:54.819223Z", + "endtime": "2024-01-17T17:09:54.813361Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:54:54.813361Z", + "time_taken": 0.005825042724609375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:10:09.913971Z", + "to": "2024-01-17T17:10:09.914010Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:10:09.913971Z", + "to": "2024-01-17T17:10:09.914010Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:55:59.489128Z", "lte": "2024-01-17T17:10:59.489128Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:55:59.489128Z", "lte": "2024-01-17T17:10:59.489128Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:10:59.511010Z", + "endtime": "2024-01-17T17:10:59.489128Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:55:59.489128Z", + "time_taken": 0.021821975708007812 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:10:59.511010Z", + "endtime": "2024-01-17T17:10:59.489128Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:55:59.489128Z", + "time_taken": 0.021821975708007812 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:11:09.913665Z", + "to": "2024-01-17T17:11:09.913704Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:11:09.913665Z", + "to": "2024-01-17T17:11:09.913704Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:57:00.768115Z", "lte": "2024-01-17T17:12:00.768115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:57:00.768115Z", "lte": "2024-01-17T17:12:00.768115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:12:00.774851Z", + "endtime": "2024-01-17T17:12:00.768115Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:57:00.768115Z", + "time_taken": 0.006698131561279297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:12:00.774851Z", + "endtime": "2024-01-17T17:12:00.768115Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:57:00.768115Z", + "time_taken": 0.006698131561279297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:12:09.913592Z", + "to": "2024-01-17T17:12:09.913630Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:12:09.913592Z", + "to": "2024-01-17T17:12:09.913630Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:58:04.284260Z", "lte": "2024-01-17T17:13:04.284260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:58:04.284260Z", "lte": "2024-01-17T17:13:04.284260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:13:04.289727Z", + "endtime": "2024-01-17T17:13:04.284260Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:58:04.284260Z", + "time_taken": 0.005439043045043945 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:13:04.289727Z", + "endtime": "2024-01-17T17:13:04.284260Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:58:04.284260Z", + "time_taken": 0.005439043045043945 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:13:09.908105Z", + "to": "2024-01-17T17:13:09.908144Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:13:09.908105Z", + "to": "2024-01-17T17:13:09.908144Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:59:04.972169Z", "lte": "2024-01-17T17:14:04.972169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:59:04.972169Z", "lte": "2024-01-17T17:14:04.972169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:14:04.980398Z", + "endtime": "2024-01-17T17:14:04.972169Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:59:04.972169Z", + "time_taken": 0.008172988891601562 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:14:04.980398Z", + "endtime": "2024-01-17T17:14:04.972169Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T16:59:04.972169Z", + "time_taken": 0.008172988891601562 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:14:09.907748Z", + "to": "2024-01-17T17:14:09.907770Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:14:09.907748Z", + "to": "2024-01-17T17:14:09.907770Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:00:09.749690Z", "lte": "2024-01-17T17:15:09.749690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:00:09.749690Z", "lte": "2024-01-17T17:15:09.749690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:15:09.757291Z", + "endtime": "2024-01-17T17:15:09.749690Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:00:09.749690Z", + "time_taken": 0.007546901702880859 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:15:09.757291Z", + "endtime": "2024-01-17T17:15:09.749690Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:00:09.749690Z", + "time_taken": 0.007546901702880859 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:15:09.913585Z", + "to": "2024-01-17T17:15:09.913623Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:15:09.913585Z", + "to": "2024-01-17T17:15:09.913623Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:16:09.910555Z", + "to": "2024-01-17T17:16:09.910578Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:16:09.910555Z", + "to": "2024-01-17T17:16:09.910578Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:01:14.675264Z", "lte": "2024-01-17T17:16:14.675264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:01:14.675264Z", "lte": "2024-01-17T17:16:14.675264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:16:14.680221Z", + "endtime": "2024-01-17T17:16:14.675264Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:01:14.675264Z", + "time_taken": 0.004931211471557617 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:16:14.680221Z", + "endtime": "2024-01-17T17:16:14.675264Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:01:14.675264Z", + "time_taken": 0.004931211471557617 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:17:09.907005Z", + "to": "2024-01-17T17:17:09.907031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:17:09.907005Z", + "to": "2024-01-17T17:17:09.907031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:02:17.643761Z", "lte": "2024-01-17T17:17:17.643761Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:02:17.643761Z", "lte": "2024-01-17T17:17:17.643761Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:17:17.650977Z", + "endtime": "2024-01-17T17:17:17.643761Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:02:17.643761Z", + "time_taken": 0.00716090202331543 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:17:17.650977Z", + "endtime": "2024-01-17T17:17:17.643761Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:02:17.643761Z", + "time_taken": 0.00716090202331543 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:18:09.912368Z", + "to": "2024-01-17T17:18:09.912399Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:18:09.912368Z", + "to": "2024-01-17T17:18:09.912399Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:03:21.135017Z", "lte": "2024-01-17T17:18:21.135017Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:03:21.135017Z", "lte": "2024-01-17T17:18:21.135017Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:18:21.143292Z", + "endtime": "2024-01-17T17:18:21.135017Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:03:21.135017Z", + "time_taken": 0.008179903030395508 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:18:21.143292Z", + "endtime": "2024-01-17T17:18:21.135017Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:03:21.135017Z", + "time_taken": 0.008179903030395508 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:19:09.908512Z", + "to": "2024-01-17T17:19:09.908572Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:19:09.908512Z", + "to": "2024-01-17T17:19:09.908572Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:04:23.950619Z", "lte": "2024-01-17T17:19:23.950619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:04:23.950619Z", "lte": "2024-01-17T17:19:23.950619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:19:23.956963Z", + "endtime": "2024-01-17T17:19:23.950619Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:04:23.950619Z", + "time_taken": 0.006314992904663086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:19:23.956963Z", + "endtime": "2024-01-17T17:19:23.950619Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:04:23.950619Z", + "time_taken": 0.006314992904663086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:20:09.908094Z", + "to": "2024-01-17T17:20:09.908115Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:20:09.908094Z", + "to": "2024-01-17T17:20:09.908115Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:05:24.515997Z", "lte": "2024-01-17T17:20:24.515997Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:05:24.515997Z", "lte": "2024-01-17T17:20:24.515997Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:20:24.525094Z", + "endtime": "2024-01-17T17:20:24.515997Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:05:24.515997Z", + "time_taken": 0.009055852890014648 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:20:24.525094Z", + "endtime": "2024-01-17T17:20:24.515997Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:05:24.515997Z", + "time_taken": 0.009055852890014648 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:21:09.907901Z", + "to": "2024-01-17T17:21:09.907917Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:21:09.907901Z", + "to": "2024-01-17T17:21:09.907917Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:06:26.607979Z", "lte": "2024-01-17T17:21:26.607979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:06:26.607979Z", "lte": "2024-01-17T17:21:26.607979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:21:26.614681Z", + "endtime": "2024-01-17T17:21:26.607979Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:06:26.607979Z", + "time_taken": 0.006659984588623047 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:21:26.614681Z", + "endtime": "2024-01-17T17:21:26.607979Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:06:26.607979Z", + "time_taken": 0.006659984588623047 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:22:09.908424Z", + "to": "2024-01-17T17:22:09.908451Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:22:09.908424Z", + "to": "2024-01-17T17:22:09.908451Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:07:30.885883Z", "lte": "2024-01-17T17:22:30.885883Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:07:30.885883Z", "lte": "2024-01-17T17:22:30.885883Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:22:30.894916Z", + "endtime": "2024-01-17T17:22:30.885883Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:07:30.885883Z", + "time_taken": 0.008993864059448242 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:22:30.894916Z", + "endtime": "2024-01-17T17:22:30.885883Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:07:30.885883Z", + "time_taken": 0.008993864059448242 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:23:09.907964Z", + "to": "2024-01-17T17:23:09.907993Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:23:09.907964Z", + "to": "2024-01-17T17:23:09.907993Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:08:31.507351Z", "lte": "2024-01-17T17:23:31.507351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:08:31.507351Z", "lte": "2024-01-17T17:23:31.507351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:23:31.515817Z", + "endtime": "2024-01-17T17:23:31.507351Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:08:31.507351Z", + "time_taken": 0.008406877517700195 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:23:31.515817Z", + "endtime": "2024-01-17T17:23:31.507351Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:08:31.507351Z", + "time_taken": 0.008406877517700195 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:24:09.907597Z", + "to": "2024-01-17T17:24:09.907616Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:24:09.907597Z", + "to": "2024-01-17T17:24:09.907616Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:09:31.743324Z", "lte": "2024-01-17T17:24:31.743324Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:09:31.743324Z", "lte": "2024-01-17T17:24:31.743324Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:24:31.749740Z", + "endtime": "2024-01-17T17:24:31.743324Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:09:31.743324Z", + "time_taken": 0.006372928619384766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:24:31.749740Z", + "endtime": "2024-01-17T17:24:31.743324Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:09:31.743324Z", + "time_taken": 0.006372928619384766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:25:09.909952Z", + "to": "2024-01-17T17:25:09.909982Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:25:09.909952Z", + "to": "2024-01-17T17:25:09.909982Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:10:32.145573Z", "lte": "2024-01-17T17:25:32.145573Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:10:32.145573Z", "lte": "2024-01-17T17:25:32.145573Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:25:32.154258Z", + "endtime": "2024-01-17T17:25:32.145573Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:10:32.145573Z", + "time_taken": 0.008616924285888672 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:25:32.154258Z", + "endtime": "2024-01-17T17:25:32.145573Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:10:32.145573Z", + "time_taken": 0.008616924285888672 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:26:09.908061Z", + "to": "2024-01-17T17:26:09.908100Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:26:09.908061Z", + "to": "2024-01-17T17:26:09.908100Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:11:34.976162Z", "lte": "2024-01-17T17:26:34.976162Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:11:34.976162Z", "lte": "2024-01-17T17:26:34.976162Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:26:34.985751Z", + "endtime": "2024-01-17T17:26:34.976162Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:11:34.976162Z", + "time_taken": 0.00954890251159668 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:26:34.985751Z", + "endtime": "2024-01-17T17:26:34.976162Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:11:34.976162Z", + "time_taken": 0.00954890251159668 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:27:09.905129Z", + "to": "2024-01-17T17:27:09.905175Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:27:09.905129Z", + "to": "2024-01-17T17:27:09.905175Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:12:39.776416Z", "lte": "2024-01-17T17:27:39.776416Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:12:39.776416Z", "lte": "2024-01-17T17:27:39.776416Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:27:39.783371Z", + "endtime": "2024-01-17T17:27:39.776416Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:12:39.776416Z", + "time_taken": 0.006925821304321289 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:27:39.783371Z", + "endtime": "2024-01-17T17:27:39.776416Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:12:39.776416Z", + "time_taken": 0.006925821304321289 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:28:09.907264Z", + "to": "2024-01-17T17:28:09.907294Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:28:09.907264Z", + "to": "2024-01-17T17:28:09.907294Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:13:44.376743Z", "lte": "2024-01-17T17:28:44.376743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:13:44.376743Z", "lte": "2024-01-17T17:28:44.376743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:28:44.384230Z", + "endtime": "2024-01-17T17:28:44.376743Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:13:44.376743Z", + "time_taken": 0.007431983947753906 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:28:44.384230Z", + "endtime": "2024-01-17T17:28:44.376743Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:13:44.376743Z", + "time_taken": 0.007431983947753906 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:29:09.906873Z", + "to": "2024-01-17T17:29:09.906895Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:29:09.906873Z", + "to": "2024-01-17T17:29:09.906895Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:14:45.345896Z", "lte": "2024-01-17T17:29:45.345896Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:14:45.345896Z", "lte": "2024-01-17T17:29:45.345896Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:29:45.353360Z", + "endtime": "2024-01-17T17:29:45.345896Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:14:45.345896Z", + "time_taken": 0.00740814208984375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:29:45.353360Z", + "endtime": "2024-01-17T17:29:45.345896Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:14:45.345896Z", + "time_taken": 0.00740814208984375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:30:09.906956Z", + "to": "2024-01-17T17:30:09.906980Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:30:09.906956Z", + "to": "2024-01-17T17:30:09.906980Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:15:48.116681Z", "lte": "2024-01-17T17:30:48.116681Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:15:48.116681Z", "lte": "2024-01-17T17:30:48.116681Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:30:48.124386Z", + "endtime": "2024-01-17T17:30:48.116681Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:15:48.116681Z", + "time_taken": 0.007664680480957031 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:30:48.124386Z", + "endtime": "2024-01-17T17:30:48.116681Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:15:48.116681Z", + "time_taken": 0.007664680480957031 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:31:09.907531Z", + "to": "2024-01-17T17:31:09.907562Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:31:09.907531Z", + "to": "2024-01-17T17:31:09.907562Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:16:49.496260Z", "lte": "2024-01-17T17:31:49.496260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:16:49.496260Z", "lte": "2024-01-17T17:31:49.496260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:31:49.504885Z", + "endtime": "2024-01-17T17:31:49.496260Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:16:49.496260Z", + "time_taken": 0.008566141128540039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:31:49.504885Z", + "endtime": "2024-01-17T17:31:49.496260Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:16:49.496260Z", + "time_taken": 0.008566141128540039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:32:09.906556Z", + "to": "2024-01-17T17:32:09.906583Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:32:09.906556Z", + "to": "2024-01-17T17:32:09.906583Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:17:51.109615Z", "lte": "2024-01-17T17:32:51.109615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:17:51.109615Z", "lte": "2024-01-17T17:32:51.109615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:32:51.133097Z", + "endtime": "2024-01-17T17:32:51.109615Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:17:51.109615Z", + "time_taken": 0.022631168365478516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:32:51.133097Z", + "endtime": "2024-01-17T17:32:51.109615Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:17:51.109615Z", + "time_taken": 0.022631168365478516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:33:09.908144Z", + "to": "2024-01-17T17:33:09.908184Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:33:09.908144Z", + "to": "2024-01-17T17:33:09.908184Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:18:52.064668Z", "lte": "2024-01-17T17:33:52.064668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:18:52.064668Z", "lte": "2024-01-17T17:33:52.064668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:33:52.098812Z", + "endtime": "2024-01-17T17:33:52.064668Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:18:52.064668Z", + "time_taken": 0.03410625457763672 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:33:52.098812Z", + "endtime": "2024-01-17T17:33:52.064668Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:18:52.064668Z", + "time_taken": 0.03410625457763672 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:34:09.906097Z", + "to": "2024-01-17T17:34:09.906125Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:34:09.906097Z", + "to": "2024-01-17T17:34:09.906125Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:19:55.480925Z", "lte": "2024-01-17T17:34:55.480925Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:19:55.480925Z", "lte": "2024-01-17T17:34:55.480925Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:34:55.493922Z", + "endtime": "2024-01-17T17:34:55.480925Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:19:55.480925Z", + "time_taken": 0.012956857681274414 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:34:55.493922Z", + "endtime": "2024-01-17T17:34:55.480925Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:19:55.480925Z", + "time_taken": 0.012956857681274414 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:35:09.906762Z", + "to": "2024-01-17T17:35:09.906789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:35:09.906762Z", + "to": "2024-01-17T17:35:09.906789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:20:57.839073Z", "lte": "2024-01-17T17:35:57.839073Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:20:57.839073Z", "lte": "2024-01-17T17:35:57.839073Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:35:57.863691Z", + "endtime": "2024-01-17T17:35:57.839073Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:20:57.839073Z", + "time_taken": 0.02451300621032715 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:35:57.863691Z", + "endtime": "2024-01-17T17:35:57.839073Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:20:57.839073Z", + "time_taken": 0.02451300621032715 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:36:09.904917Z", + "to": "2024-01-17T17:36:09.904947Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:36:09.904917Z", + "to": "2024-01-17T17:36:09.904947Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:22:00.087390Z", "lte": "2024-01-17T17:37:00.087390Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:22:00.087390Z", "lte": "2024-01-17T17:37:00.087390Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:37:00.098188Z", + "endtime": "2024-01-17T17:37:00.087390Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:22:00.087390Z", + "time_taken": 0.010739803314208984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:37:00.098188Z", + "endtime": "2024-01-17T17:37:00.087390Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:22:00.087390Z", + "time_taken": 0.010739803314208984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:37:09.906947Z", + "to": "2024-01-17T17:37:09.906966Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:37:09.906947Z", + "to": "2024-01-17T17:37:09.906966Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:23:04.465456Z", "lte": "2024-01-17T17:38:04.465456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:23:04.465456Z", "lte": "2024-01-17T17:38:04.465456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:38:04.476578Z", + "endtime": "2024-01-17T17:38:04.465456Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:23:04.465456Z", + "time_taken": 0.011063098907470703 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:38:04.476578Z", + "endtime": "2024-01-17T17:38:04.465456Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:23:04.465456Z", + "time_taken": 0.011063098907470703 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:38:09.904881Z", + "to": "2024-01-17T17:38:09.904921Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:38:09.904881Z", + "to": "2024-01-17T17:38:09.904921Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:24:08.816707Z", "lte": "2024-01-17T17:39:08.816707Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:24:08.816707Z", "lte": "2024-01-17T17:39:08.816707Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:39:08.836772Z", + "endtime": "2024-01-17T17:39:08.816707Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:24:08.816707Z", + "time_taken": 0.020009756088256836 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:39:08.836772Z", + "endtime": "2024-01-17T17:39:08.816707Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:24:08.816707Z", + "time_taken": 0.020009756088256836 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:39:09.908189Z", + "to": "2024-01-17T17:39:09.908208Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:39:09.908189Z", + "to": "2024-01-17T17:39:09.908208Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:40:09.903233Z", + "to": "2024-01-17T17:40:09.903259Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:40:09.903233Z", + "to": "2024-01-17T17:40:09.903259Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:25:10.505835Z", "lte": "2024-01-17T17:40:10.505835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:25:10.505835Z", "lte": "2024-01-17T17:40:10.505835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:40:10.513691Z", + "endtime": "2024-01-17T17:40:10.505835Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:25:10.505835Z", + "time_taken": 0.0077970027923583984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:40:10.513691Z", + "endtime": "2024-01-17T17:40:10.505835Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:25:10.505835Z", + "time_taken": 0.0077970027923583984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:41:09.904964Z", + "to": "2024-01-17T17:41:09.904987Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:41:09.904964Z", + "to": "2024-01-17T17:41:09.904987Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:26:13.678404Z", "lte": "2024-01-17T17:41:13.678404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:26:13.678404Z", "lte": "2024-01-17T17:41:13.678404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:41:13.689701Z", + "endtime": "2024-01-17T17:41:13.678404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:26:13.678404Z", + "time_taken": 0.011242151260375977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:41:13.689701Z", + "endtime": "2024-01-17T17:41:13.678404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:26:13.678404Z", + "time_taken": 0.011242151260375977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:42:09.907989Z", + "to": "2024-01-17T17:42:09.908028Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:42:09.907989Z", + "to": "2024-01-17T17:42:09.908028Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:27:18.574825Z", "lte": "2024-01-17T17:42:18.574825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:27:18.574825Z", "lte": "2024-01-17T17:42:18.574825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:42:18.581634Z", + "endtime": "2024-01-17T17:42:18.574825Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:27:18.574825Z", + "time_taken": 0.006783008575439453 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:42:18.581634Z", + "endtime": "2024-01-17T17:42:18.574825Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:27:18.574825Z", + "time_taken": 0.006783008575439453 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:43:09.903937Z", + "to": "2024-01-17T17:43:09.903955Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:43:09.903937Z", + "to": "2024-01-17T17:43:09.903955Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:28:21.906662Z", "lte": "2024-01-17T17:43:21.906662Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:28:21.906662Z", "lte": "2024-01-17T17:43:21.906662Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:43:21.913516Z", + "endtime": "2024-01-17T17:43:21.906662Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:28:21.906662Z", + "time_taken": 0.006829977035522461 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:43:21.913516Z", + "endtime": "2024-01-17T17:43:21.906662Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:28:21.906662Z", + "time_taken": 0.006829977035522461 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:44:09.904963Z", + "to": "2024-01-17T17:44:09.904978Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:44:09.904963Z", + "to": "2024-01-17T17:44:09.904978Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:29:24.424010Z", "lte": "2024-01-17T17:44:24.424010Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:29:24.424010Z", "lte": "2024-01-17T17:44:24.424010Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:44:24.433150Z", + "endtime": "2024-01-17T17:44:24.424010Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:29:24.424010Z", + "time_taken": 0.009084224700927734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:44:24.433150Z", + "endtime": "2024-01-17T17:44:24.424010Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:29:24.424010Z", + "time_taken": 0.009084224700927734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:45:09.908208Z", + "to": "2024-01-17T17:45:09.908247Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:45:09.908208Z", + "to": "2024-01-17T17:45:09.908247Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:30:26.028625Z", "lte": "2024-01-17T17:45:26.028625Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:30:26.028625Z", "lte": "2024-01-17T17:45:26.028625Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:45:26.044966Z", + "endtime": "2024-01-17T17:45:26.028625Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:30:26.028625Z", + "time_taken": 0.01630377769470215 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:45:26.044966Z", + "endtime": "2024-01-17T17:45:26.028625Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:30:26.028625Z", + "time_taken": 0.01630377769470215 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:46:09.908565Z", + "to": "2024-01-17T17:46:09.908605Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:46:09.908565Z", + "to": "2024-01-17T17:46:09.908605Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:31:26.486836Z", "lte": "2024-01-17T17:46:26.486836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:31:26.486836Z", "lte": "2024-01-17T17:46:26.486836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:46:26.497823Z", + "endtime": "2024-01-17T17:46:26.486836Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:31:26.486836Z", + "time_taken": 0.010879039764404297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:46:26.497823Z", + "endtime": "2024-01-17T17:46:26.486836Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:31:26.486836Z", + "time_taken": 0.010879039764404297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:47:09.905242Z", + "to": "2024-01-17T17:47:09.905266Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:47:09.905242Z", + "to": "2024-01-17T17:47:09.905266Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:32:31.272972Z", "lte": "2024-01-17T17:47:31.272972Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:32:31.272972Z", "lte": "2024-01-17T17:47:31.272972Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:47:31.284333Z", + "endtime": "2024-01-17T17:47:31.272972Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:32:31.272972Z", + "time_taken": 0.011302947998046875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:47:31.284333Z", + "endtime": "2024-01-17T17:47:31.272972Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:32:31.272972Z", + "time_taken": 0.011302947998046875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:48:09.908794Z", + "to": "2024-01-17T17:48:09.908831Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:48:09.908794Z", + "to": "2024-01-17T17:48:09.908831Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:33:34.353725Z", "lte": "2024-01-17T17:48:34.353725Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:33:34.353725Z", "lte": "2024-01-17T17:48:34.353725Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:48:34.363708Z", + "endtime": "2024-01-17T17:48:34.353725Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:33:34.353725Z", + "time_taken": 0.009948968887329102 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:48:34.363708Z", + "endtime": "2024-01-17T17:48:34.353725Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:33:34.353725Z", + "time_taken": 0.009948968887329102 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:49:09.905122Z", + "to": "2024-01-17T17:49:09.905149Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:49:09.905122Z", + "to": "2024-01-17T17:49:09.905149Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:34:36.946140Z", "lte": "2024-01-17T17:49:36.946140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:34:36.946140Z", "lte": "2024-01-17T17:49:36.946140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:49:36.955798Z", + "endtime": "2024-01-17T17:49:36.946140Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:34:36.946140Z", + "time_taken": 0.009614944458007812 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:49:36.955798Z", + "endtime": "2024-01-17T17:49:36.946140Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:34:36.946140Z", + "time_taken": 0.009614944458007812 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:50:09.906338Z", + "to": "2024-01-17T17:50:09.906365Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:50:09.906338Z", + "to": "2024-01-17T17:50:09.906365Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:35:38.270218Z", "lte": "2024-01-17T17:50:38.270218Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:35:38.270218Z", "lte": "2024-01-17T17:50:38.270218Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:50:38.282886Z", + "endtime": "2024-01-17T17:50:38.270218Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:35:38.270218Z", + "time_taken": 0.012633085250854492 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:50:38.282886Z", + "endtime": "2024-01-17T17:50:38.270218Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:35:38.270218Z", + "time_taken": 0.012633085250854492 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:51:09.904478Z", + "to": "2024-01-17T17:51:09.904505Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:51:09.904478Z", + "to": "2024-01-17T17:51:09.904505Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:36:39.247101Z", "lte": "2024-01-17T17:51:39.247101Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:36:39.247101Z", "lte": "2024-01-17T17:51:39.247101Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:51:39.258609Z", + "endtime": "2024-01-17T17:51:39.247101Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:36:39.247101Z", + "time_taken": 0.011467933654785156 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:51:39.258609Z", + "endtime": "2024-01-17T17:51:39.247101Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:36:39.247101Z", + "time_taken": 0.011467933654785156 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:52:09.907297Z", + "to": "2024-01-17T17:52:09.907331Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:52:09.907297Z", + "to": "2024-01-17T17:52:09.907331Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:37:41.500358Z", "lte": "2024-01-17T17:52:41.500358Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:37:41.500358Z", "lte": "2024-01-17T17:52:41.500358Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:52:41.509681Z", + "endtime": "2024-01-17T17:52:41.500358Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:37:41.500358Z", + "time_taken": 0.009278059005737305 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:52:41.509681Z", + "endtime": "2024-01-17T17:52:41.500358Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:37:41.500358Z", + "time_taken": 0.009278059005737305 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:53:09.905687Z", + "to": "2024-01-17T17:53:09.905714Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:53:09.905687Z", + "to": "2024-01-17T17:53:09.905714Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:38:44.970959Z", "lte": "2024-01-17T17:53:44.970959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:38:44.970959Z", "lte": "2024-01-17T17:53:44.970959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:53:44.979170Z", + "endtime": "2024-01-17T17:53:44.970959Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:38:44.970959Z", + "time_taken": 0.008174896240234375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:53:44.979170Z", + "endtime": "2024-01-17T17:53:44.970959Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:38:44.970959Z", + "time_taken": 0.008174896240234375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:54:09.906305Z", + "to": "2024-01-17T17:54:09.906345Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:54:09.906305Z", + "to": "2024-01-17T17:54:09.906345Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:39:49.701052Z", "lte": "2024-01-17T17:54:49.701052Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:39:49.701052Z", "lte": "2024-01-17T17:54:49.701052Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:54:49.709818Z", + "endtime": "2024-01-17T17:54:49.701052Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:39:49.701052Z", + "time_taken": 0.00872802734375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:54:49.709818Z", + "endtime": "2024-01-17T17:54:49.701052Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:39:49.701052Z", + "time_taken": 0.00872802734375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:55:09.905211Z", + "to": "2024-01-17T17:55:09.905226Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:55:09.905211Z", + "to": "2024-01-17T17:55:09.905226Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:40:52.525256Z", "lte": "2024-01-17T17:55:52.525256Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:40:52.525256Z", "lte": "2024-01-17T17:55:52.525256Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:55:52.537054Z", + "endtime": "2024-01-17T17:55:52.525256Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:40:52.525256Z", + "time_taken": 0.011741161346435547 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:55:52.537054Z", + "endtime": "2024-01-17T17:55:52.525256Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:40:52.525256Z", + "time_taken": 0.011741161346435547 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:56:09.905097Z", + "to": "2024-01-17T17:56:09.905136Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:56:09.905097Z", + "to": "2024-01-17T17:56:09.905136Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:41:55.525269Z", "lte": "2024-01-17T17:56:55.525269Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:41:55.525269Z", "lte": "2024-01-17T17:56:55.525269Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:56:55.538674Z", + "endtime": "2024-01-17T17:56:55.525269Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:41:55.525269Z", + "time_taken": 0.013369083404541016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:56:55.538674Z", + "endtime": "2024-01-17T17:56:55.525269Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:41:55.525269Z", + "time_taken": 0.013369083404541016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:57:09.905127Z", + "to": "2024-01-17T17:57:09.905153Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:57:09.905127Z", + "to": "2024-01-17T17:57:09.905153Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:42:57.485501Z", "lte": "2024-01-17T17:57:57.485501Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:42:57.485501Z", "lte": "2024-01-17T17:57:57.485501Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:57:57.497094Z", + "endtime": "2024-01-17T17:57:57.485501Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:42:57.485501Z", + "time_taken": 0.011548995971679688 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:57:57.497094Z", + "endtime": "2024-01-17T17:57:57.485501Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:42:57.485501Z", + "time_taken": 0.011548995971679688 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:58:09.906589Z", + "to": "2024-01-17T17:58:09.906615Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:58:09.906589Z", + "to": "2024-01-17T17:58:09.906615Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:44:02.340356Z", "lte": "2024-01-17T17:59:02.340356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:44:02.340356Z", "lte": "2024-01-17T17:59:02.340356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:59:02.351527Z", + "endtime": "2024-01-17T17:59:02.340356Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:44:02.340356Z", + "time_taken": 0.011111021041870117 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T17:59:02.351527Z", + "endtime": "2024-01-17T17:59:02.340356Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:44:02.340356Z", + "time_taken": 0.011111021041870117 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:59:09.904030Z", + "to": "2024-01-17T17:59:09.904052Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T17:59:09.904030Z", + "to": "2024-01-17T17:59:09.904052Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:45:07.222732Z", "lte": "2024-01-17T18:00:07.222732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:45:07.222732Z", "lte": "2024-01-17T18:00:07.222732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:00:07.235108Z", + "endtime": "2024-01-17T18:00:07.222732Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:45:07.222732Z", + "time_taken": 0.012320995330810547 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:00:07.235108Z", + "endtime": "2024-01-17T18:00:07.222732Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:45:07.222732Z", + "time_taken": 0.012320995330810547 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:00:09.907955Z", + "to": "2024-01-17T18:00:09.907970Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:00:09.907955Z", + "to": "2024-01-17T18:00:09.907970Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:01:09.905680Z", + "to": "2024-01-17T18:01:09.905936Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:01:09.905680Z", + "to": "2024-01-17T18:01:09.905936Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:46:10.809516Z", "lte": "2024-01-17T18:01:10.809516Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:46:10.809516Z", "lte": "2024-01-17T18:01:10.809516Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:01:10.825243Z", + "endtime": "2024-01-17T18:01:10.809516Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:46:10.809516Z", + "time_taken": 0.015184879302978516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:01:10.825243Z", + "endtime": "2024-01-17T18:01:10.809516Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:46:10.809516Z", + "time_taken": 0.015184879302978516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:02:09.902842Z", + "to": "2024-01-17T18:02:09.902860Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:02:09.902842Z", + "to": "2024-01-17T18:02:09.902860Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:47:15.412341Z", "lte": "2024-01-17T18:02:15.412341Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:47:15.412341Z", "lte": "2024-01-17T18:02:15.412341Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:02:15.421109Z", + "endtime": "2024-01-17T18:02:15.412341Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:47:15.412341Z", + "time_taken": 0.008733034133911133 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:02:15.421109Z", + "endtime": "2024-01-17T18:02:15.412341Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:47:15.412341Z", + "time_taken": 0.008733034133911133 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:03:09.904838Z", + "to": "2024-01-17T18:03:09.904859Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:03:09.904838Z", + "to": "2024-01-17T18:03:09.904859Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:48:19.795824Z", "lte": "2024-01-17T18:03:19.795824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:48:19.795824Z", "lte": "2024-01-17T18:03:19.795824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:03:19.806734Z", + "endtime": "2024-01-17T18:03:19.795824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:48:19.795824Z", + "time_taken": 0.010879039764404297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:03:19.806734Z", + "endtime": "2024-01-17T18:03:19.795824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:48:19.795824Z", + "time_taken": 0.010879039764404297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:04:09.905105Z", + "to": "2024-01-17T18:04:09.905127Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:04:09.905105Z", + "to": "2024-01-17T18:04:09.905127Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:49:19.829159Z", "lte": "2024-01-17T18:04:19.829159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:49:19.829159Z", "lte": "2024-01-17T18:04:19.829159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:04:19.840305Z", + "endtime": "2024-01-17T18:04:19.829159Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:49:19.829159Z", + "time_taken": 0.011092901229858398 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:04:19.840305Z", + "endtime": "2024-01-17T18:04:19.829159Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:49:19.829159Z", + "time_taken": 0.011092901229858398 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:05:09.903288Z", + "to": "2024-01-17T18:05:09.903308Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:05:09.903288Z", + "to": "2024-01-17T18:05:09.903308Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:50:22.835559Z", "lte": "2024-01-17T18:05:22.835559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:50:22.835559Z", "lte": "2024-01-17T18:05:22.835559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:05:22.869962Z", + "endtime": "2024-01-17T18:05:22.835559Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:50:22.835559Z", + "time_taken": 0.03434491157531738 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:05:22.869962Z", + "endtime": "2024-01-17T18:05:22.835559Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:50:22.835559Z", + "time_taken": 0.03434491157531738 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:06:09.905706Z", + "to": "2024-01-17T18:06:09.905726Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:06:09.905706Z", + "to": "2024-01-17T18:06:09.905726Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:51:24.407174Z", "lte": "2024-01-17T18:06:24.407174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:51:24.407174Z", "lte": "2024-01-17T18:06:24.407174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:06:24.414853Z", + "endtime": "2024-01-17T18:06:24.407174Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:51:24.407174Z", + "time_taken": 0.0076520442962646484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:06:24.414853Z", + "endtime": "2024-01-17T18:06:24.407174Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:51:24.407174Z", + "time_taken": 0.0076520442962646484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:07:09.904972Z", + "to": "2024-01-17T18:07:09.904991Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:07:09.904972Z", + "to": "2024-01-17T18:07:09.904991Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:52:25.774812Z", "lte": "2024-01-17T18:07:25.774812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:52:25.774812Z", "lte": "2024-01-17T18:07:25.774812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:07:25.783342Z", + "endtime": "2024-01-17T18:07:25.774812Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:52:25.774812Z", + "time_taken": 0.008503198623657227 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:07:25.783342Z", + "endtime": "2024-01-17T18:07:25.774812Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:52:25.774812Z", + "time_taken": 0.008503198623657227 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:08:09.902901Z", + "to": "2024-01-17T18:08:09.902922Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:08:09.902901Z", + "to": "2024-01-17T18:08:09.902922Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:53:30.510051Z", "lte": "2024-01-17T18:08:30.510051Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:53:30.510051Z", "lte": "2024-01-17T18:08:30.510051Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:08:30.518482Z", + "endtime": "2024-01-17T18:08:30.510051Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:53:30.510051Z", + "time_taken": 0.008398056030273438 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:08:30.518482Z", + "endtime": "2024-01-17T18:08:30.510051Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:53:30.510051Z", + "time_taken": 0.008398056030273438 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:09:09.903144Z", + "to": "2024-01-17T18:09:09.903184Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:09:09.903144Z", + "to": "2024-01-17T18:09:09.903184Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:54:30.912653Z", "lte": "2024-01-17T18:09:30.912653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:54:30.912653Z", "lte": "2024-01-17T18:09:30.912653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:09:30.924386Z", + "endtime": "2024-01-17T18:09:30.912653Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:54:30.912653Z", + "time_taken": 0.011685848236083984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:09:30.924386Z", + "endtime": "2024-01-17T18:09:30.912653Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:54:30.912653Z", + "time_taken": 0.011685848236083984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:10:09.906189Z", + "to": "2024-01-17T18:10:09.906213Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:10:09.906189Z", + "to": "2024-01-17T18:10:09.906213Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:55:32.588141Z", "lte": "2024-01-17T18:10:32.588141Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:55:32.588141Z", "lte": "2024-01-17T18:10:32.588141Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:10:32.595986Z", + "endtime": "2024-01-17T18:10:32.588141Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:55:32.588141Z", + "time_taken": 0.007791042327880859 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:10:32.595986Z", + "endtime": "2024-01-17T18:10:32.588141Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:55:32.588141Z", + "time_taken": 0.007791042327880859 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:11:09.908314Z", + "to": "2024-01-17T18:11:09.908349Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:11:09.908314Z", + "to": "2024-01-17T18:11:09.908349Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:56:36.564977Z", "lte": "2024-01-17T18:11:36.564977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:56:36.564977Z", "lte": "2024-01-17T18:11:36.564977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:11:36.578352Z", + "endtime": "2024-01-17T18:11:36.564977Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:56:36.564977Z", + "time_taken": 0.012874841690063477 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:11:36.578352Z", + "endtime": "2024-01-17T18:11:36.564977Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:56:36.564977Z", + "time_taken": 0.012874841690063477 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:12:09.905366Z", + "to": "2024-01-17T18:12:09.905433Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:12:09.905366Z", + "to": "2024-01-17T18:12:09.905433Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:57:39.210474Z", "lte": "2024-01-17T18:12:39.210474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:57:39.210474Z", "lte": "2024-01-17T18:12:39.210474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:12:39.225338Z", + "endtime": "2024-01-17T18:12:39.210474Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:57:39.210474Z", + "time_taken": 0.014832019805908203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:12:39.225338Z", + "endtime": "2024-01-17T18:12:39.210474Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:57:39.210474Z", + "time_taken": 0.014832019805908203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:13:09.903279Z", + "to": "2024-01-17T18:13:09.903309Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:13:09.903279Z", + "to": "2024-01-17T18:13:09.903309Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:58:41.324682Z", "lte": "2024-01-17T18:13:41.324682Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:58:41.324682Z", "lte": "2024-01-17T18:13:41.324682Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:13:41.337695Z", + "endtime": "2024-01-17T18:13:41.324682Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:58:41.324682Z", + "time_taken": 0.012955188751220703 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:13:41.337695Z", + "endtime": "2024-01-17T18:13:41.324682Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:58:41.324682Z", + "time_taken": 0.012955188751220703 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:14:09.906217Z", + "to": "2024-01-17T18:14:09.906257Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:14:09.906217Z", + "to": "2024-01-17T18:14:09.906257Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:59:44.812444Z", "lte": "2024-01-17T18:14:44.812444Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:59:44.812444Z", "lte": "2024-01-17T18:14:44.812444Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:14:44.822943Z", + "endtime": "2024-01-17T18:14:44.812444Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:59:44.812444Z", + "time_taken": 0.010430097579956055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:14:44.822943Z", + "endtime": "2024-01-17T18:14:44.812444Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T17:59:44.812444Z", + "time_taken": 0.010430097579956055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:15:09.906245Z", + "to": "2024-01-17T18:15:09.906272Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:15:09.906245Z", + "to": "2024-01-17T18:15:09.906272Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:00:47.597615Z", "lte": "2024-01-17T18:15:47.597615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:00:47.597615Z", "lte": "2024-01-17T18:15:47.597615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:15:47.609294Z", + "endtime": "2024-01-17T18:15:47.597615Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:00:47.597615Z", + "time_taken": 0.011622905731201172 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:15:47.609294Z", + "endtime": "2024-01-17T18:15:47.597615Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:00:47.597615Z", + "time_taken": 0.011622905731201172 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:16:09.904578Z", + "to": "2024-01-17T18:16:09.904616Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:16:09.904578Z", + "to": "2024-01-17T18:16:09.904616Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:01:50.763223Z", "lte": "2024-01-17T18:16:50.763223Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:01:50.763223Z", "lte": "2024-01-17T18:16:50.763223Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:16:50.779757Z", + "endtime": "2024-01-17T18:16:50.763223Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:01:50.763223Z", + "time_taken": 0.01647496223449707 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:16:50.779757Z", + "endtime": "2024-01-17T18:16:50.763223Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:01:50.763223Z", + "time_taken": 0.01647496223449707 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:17:09.904088Z", + "to": "2024-01-17T18:17:09.904111Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:17:09.904088Z", + "to": "2024-01-17T18:17:09.904111Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:02:55.016841Z", "lte": "2024-01-17T18:17:55.016841Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:02:55.016841Z", "lte": "2024-01-17T18:17:55.016841Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:17:55.049345Z", + "endtime": "2024-01-17T18:17:55.016841Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:02:55.016841Z", + "time_taken": 0.03245186805725098 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:17:55.049345Z", + "endtime": "2024-01-17T18:17:55.016841Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:02:55.016841Z", + "time_taken": 0.03245186805725098 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:18:09.903569Z", + "to": "2024-01-17T18:18:09.903593Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:18:09.903569Z", + "to": "2024-01-17T18:18:09.903593Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:03:55.855374Z", "lte": "2024-01-17T18:18:55.855374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:03:55.855374Z", "lte": "2024-01-17T18:18:55.855374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:18:55.873510Z", + "endtime": "2024-01-17T18:18:55.855374Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:03:55.855374Z", + "time_taken": 0.018078088760375977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:18:55.873510Z", + "endtime": "2024-01-17T18:18:55.855374Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:03:55.855374Z", + "time_taken": 0.018078088760375977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:19:09.906159Z", + "to": "2024-01-17T18:19:09.906180Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:19:09.906159Z", + "to": "2024-01-17T18:19:09.906180Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:04:57.714658Z", "lte": "2024-01-17T18:19:57.714658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:04:57.714658Z", "lte": "2024-01-17T18:19:57.714658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:19:57.727983Z", + "endtime": "2024-01-17T18:19:57.714658Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:04:57.714658Z", + "time_taken": 0.013283252716064453 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:19:57.727983Z", + "endtime": "2024-01-17T18:19:57.714658Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:04:57.714658Z", + "time_taken": 0.013283252716064453 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:20:09.906620Z", + "to": "2024-01-17T18:20:09.906647Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:20:09.906620Z", + "to": "2024-01-17T18:20:09.906647Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:06:00.743276Z", "lte": "2024-01-17T18:21:00.743276Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:06:00.743276Z", "lte": "2024-01-17T18:21:00.743276Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:21:00.755995Z", + "endtime": "2024-01-17T18:21:00.743276Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:06:00.743276Z", + "time_taken": 0.012664079666137695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:21:00.755995Z", + "endtime": "2024-01-17T18:21:00.743276Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:06:00.743276Z", + "time_taken": 0.012664079666137695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:21:09.906017Z", + "to": "2024-01-17T18:21:09.906055Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:21:09.906017Z", + "to": "2024-01-17T18:21:09.906055Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:07:03.769536Z", "lte": "2024-01-17T18:22:03.769536Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:07:03.769536Z", "lte": "2024-01-17T18:22:03.769536Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:22:03.795830Z", + "endtime": "2024-01-17T18:22:03.769536Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:07:03.769536Z", + "time_taken": 0.025573015213012695 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:22:03.795830Z", + "endtime": "2024-01-17T18:22:03.769536Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:07:03.769536Z", + "time_taken": 0.025573015213012695 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:22:09.905941Z", + "to": "2024-01-17T18:22:09.905971Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:22:09.905941Z", + "to": "2024-01-17T18:22:09.905971Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:08:06.159155Z", "lte": "2024-01-17T18:23:06.159155Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:08:06.159155Z", "lte": "2024-01-17T18:23:06.159155Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:23:06.168502Z", + "endtime": "2024-01-17T18:23:06.159155Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:08:06.159155Z", + "time_taken": 0.009319782257080078 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:23:06.168502Z", + "endtime": "2024-01-17T18:23:06.159155Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:08:06.159155Z", + "time_taken": 0.009319782257080078 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:23:09.906742Z", + "to": "2024-01-17T18:23:09.906762Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:23:09.906742Z", + "to": "2024-01-17T18:23:09.906762Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:09:07.966474Z", "lte": "2024-01-17T18:24:07.966474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:09:07.966474Z", "lte": "2024-01-17T18:24:07.966474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:24:07.976466Z", + "endtime": "2024-01-17T18:24:07.966474Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:09:07.966474Z", + "time_taken": 0.009938240051269531 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:24:07.976466Z", + "endtime": "2024-01-17T18:24:07.966474Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:09:07.966474Z", + "time_taken": 0.009938240051269531 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:24:09.907940Z", + "to": "2024-01-17T18:24:09.907979Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:24:09.907940Z", + "to": "2024-01-17T18:24:09.907979Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:25:09.903522Z", + "to": "2024-01-17T18:25:09.903561Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:25:09.903522Z", + "to": "2024-01-17T18:25:09.903561Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:10:11.249176Z", "lte": "2024-01-17T18:25:11.249176Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:10:11.249176Z", "lte": "2024-01-17T18:25:11.249176Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:25:11.262050Z", + "endtime": "2024-01-17T18:25:11.249176Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:10:11.249176Z", + "time_taken": 0.012817859649658203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:25:11.262050Z", + "endtime": "2024-01-17T18:25:11.249176Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:10:11.249176Z", + "time_taken": 0.012817859649658203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:26:09.905557Z", + "to": "2024-01-17T18:26:09.905582Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:26:09.905557Z", + "to": "2024-01-17T18:26:09.905582Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:11:14.496114Z", "lte": "2024-01-17T18:26:14.496114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:11:14.496114Z", "lte": "2024-01-17T18:26:14.496114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:26:14.506551Z", + "endtime": "2024-01-17T18:26:14.496114Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:11:14.496114Z", + "time_taken": 0.010380983352661133 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:26:14.506551Z", + "endtime": "2024-01-17T18:26:14.496114Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:11:14.496114Z", + "time_taken": 0.010380983352661133 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:27:09.904064Z", + "to": "2024-01-17T18:27:09.904086Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:27:09.904064Z", + "to": "2024-01-17T18:27:09.904086Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:12:19.157100Z", "lte": "2024-01-17T18:27:19.157100Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:12:19.157100Z", "lte": "2024-01-17T18:27:19.157100Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:27:19.168939Z", + "endtime": "2024-01-17T18:27:19.157100Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:12:19.157100Z", + "time_taken": 0.01178121566772461 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:27:19.168939Z", + "endtime": "2024-01-17T18:27:19.157100Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:12:19.157100Z", + "time_taken": 0.01178121566772461 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:28:09.978621Z", + "to": "2024-01-17T18:28:09.978637Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:28:09.978621Z", + "to": "2024-01-17T18:28:09.978637Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:13:20.428874Z", "lte": "2024-01-17T18:28:20.428874Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:13:20.428874Z", "lte": "2024-01-17T18:28:20.428874Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:28:20.439761Z", + "endtime": "2024-01-17T18:28:20.428874Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:13:20.428874Z", + "time_taken": 0.01085519790649414 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:28:20.439761Z", + "endtime": "2024-01-17T18:28:20.428874Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:13:20.428874Z", + "time_taken": 0.01085519790649414 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:29:09.905689Z", + "to": "2024-01-17T18:29:09.905715Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:29:09.905689Z", + "to": "2024-01-17T18:29:09.905715Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:14:25.258482Z", "lte": "2024-01-17T18:29:25.258482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:14:25.258482Z", "lte": "2024-01-17T18:29:25.258482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:29:25.268618Z", + "endtime": "2024-01-17T18:29:25.258482Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:14:25.258482Z", + "time_taken": 0.010079145431518555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:29:25.268618Z", + "endtime": "2024-01-17T18:29:25.258482Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:14:25.258482Z", + "time_taken": 0.010079145431518555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:30:09.907507Z", + "to": "2024-01-17T18:30:09.907546Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:30:09.907507Z", + "to": "2024-01-17T18:30:09.907546Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:15:26.180609Z", "lte": "2024-01-17T18:30:26.180609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:15:26.180609Z", "lte": "2024-01-17T18:30:26.180609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:30:26.190066Z", + "endtime": "2024-01-17T18:30:26.180609Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:15:26.180609Z", + "time_taken": 0.009425163269042969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:30:26.190066Z", + "endtime": "2024-01-17T18:30:26.180609Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:15:26.180609Z", + "time_taken": 0.009425163269042969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:31:09.905129Z", + "to": "2024-01-17T18:31:09.905193Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:31:09.905129Z", + "to": "2024-01-17T18:31:09.905193Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:16:29.547731Z", "lte": "2024-01-17T18:31:29.547731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:16:29.547731Z", "lte": "2024-01-17T18:31:29.547731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:31:29.557238Z", + "endtime": "2024-01-17T18:31:29.547731Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:16:29.547731Z", + "time_taken": 0.009425163269042969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:31:29.557238Z", + "endtime": "2024-01-17T18:31:29.547731Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:16:29.547731Z", + "time_taken": 0.009425163269042969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:32:09.907451Z", + "to": "2024-01-17T18:32:09.907478Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:32:09.907451Z", + "to": "2024-01-17T18:32:09.907478Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:17:32.808740Z", "lte": "2024-01-17T18:32:32.808740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:17:32.808740Z", "lte": "2024-01-17T18:32:32.808740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:32:32.820707Z", + "endtime": "2024-01-17T18:32:32.808740Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:17:32.808740Z", + "time_taken": 0.011929035186767578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:32:32.820707Z", + "endtime": "2024-01-17T18:32:32.808740Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:17:32.808740Z", + "time_taken": 0.011929035186767578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:33:09.909045Z", + "to": "2024-01-17T18:33:09.909085Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:33:09.909045Z", + "to": "2024-01-17T18:33:09.909085Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:18:36.389261Z", "lte": "2024-01-17T18:33:36.389261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:18:36.389261Z", "lte": "2024-01-17T18:33:36.389261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:33:36.397208Z", + "endtime": "2024-01-17T18:33:36.389261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:18:36.389261Z", + "time_taken": 0.007916927337646484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:33:36.397208Z", + "endtime": "2024-01-17T18:33:36.389261Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:18:36.389261Z", + "time_taken": 0.007916927337646484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:34:09.906229Z", + "to": "2024-01-17T18:34:09.906247Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:34:09.906229Z", + "to": "2024-01-17T18:34:09.906247Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:19:40.540930Z", "lte": "2024-01-17T18:34:40.540930Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:19:40.540930Z", "lte": "2024-01-17T18:34:40.540930Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:34:40.550533Z", + "endtime": "2024-01-17T18:34:40.540930Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:19:40.540930Z", + "time_taken": 0.009546995162963867 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:34:40.550533Z", + "endtime": "2024-01-17T18:34:40.540930Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:19:40.540930Z", + "time_taken": 0.009546995162963867 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:35:09.908101Z", + "to": "2024-01-17T18:35:09.908157Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:35:09.908101Z", + "to": "2024-01-17T18:35:09.908157Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:20:41.786148Z", "lte": "2024-01-17T18:35:41.786148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:20:41.786148Z", "lte": "2024-01-17T18:35:41.786148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:35:41.797453Z", + "endtime": "2024-01-17T18:35:41.786148Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:20:41.786148Z", + "time_taken": 0.01098179817199707 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:35:41.797453Z", + "endtime": "2024-01-17T18:35:41.786148Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:20:41.786148Z", + "time_taken": 0.01098179817199707 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:36:09.907477Z", + "to": "2024-01-17T18:36:09.907518Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:36:09.907477Z", + "to": "2024-01-17T18:36:09.907518Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:21:44.975816Z", "lte": "2024-01-17T18:36:44.975816Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:21:44.975816Z", "lte": "2024-01-17T18:36:44.975816Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:36:44.987110Z", + "endtime": "2024-01-17T18:36:44.975816Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:21:44.975816Z", + "time_taken": 0.011261940002441406 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:36:44.987110Z", + "endtime": "2024-01-17T18:36:44.975816Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:21:44.975816Z", + "time_taken": 0.011261940002441406 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:37:09.906812Z", + "to": "2024-01-17T18:37:09.906854Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:37:09.906812Z", + "to": "2024-01-17T18:37:09.906854Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:22:45.230167Z", "lte": "2024-01-17T18:37:45.230167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:22:45.230167Z", "lte": "2024-01-17T18:37:45.230167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:37:45.242288Z", + "endtime": "2024-01-17T18:37:45.230167Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:22:45.230167Z", + "time_taken": 0.012060165405273438 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:37:45.242288Z", + "endtime": "2024-01-17T18:37:45.230167Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:22:45.230167Z", + "time_taken": 0.012060165405273438 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:38:09.907908Z", + "to": "2024-01-17T18:38:09.907933Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:38:09.907908Z", + "to": "2024-01-17T18:38:09.907933Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:23:47.777945Z", "lte": "2024-01-17T18:38:47.777945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:23:47.777945Z", "lte": "2024-01-17T18:38:47.777945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:38:47.786642Z", + "endtime": "2024-01-17T18:38:47.777945Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:23:47.777945Z", + "time_taken": 0.008652925491333008 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:38:47.786642Z", + "endtime": "2024-01-17T18:38:47.777945Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:23:47.777945Z", + "time_taken": 0.008652925491333008 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:39:09.906806Z", + "to": "2024-01-17T18:39:09.906828Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:39:09.906806Z", + "to": "2024-01-17T18:39:09.906828Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:24:49.343504Z", "lte": "2024-01-17T18:39:49.343504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:24:49.343504Z", "lte": "2024-01-17T18:39:49.343504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:39:49.353938Z", + "endtime": "2024-01-17T18:39:49.343504Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:24:49.343504Z", + "time_taken": 0.010396242141723633 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:39:49.353938Z", + "endtime": "2024-01-17T18:39:49.343504Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:24:49.343504Z", + "time_taken": 0.010396242141723633 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:40:09.907041Z", + "to": "2024-01-17T18:40:09.907068Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:40:09.907041Z", + "to": "2024-01-17T18:40:09.907068Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:25:49.529719Z", "lte": "2024-01-17T18:40:49.529719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:25:49.529719Z", "lte": "2024-01-17T18:40:49.529719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:40:49.540774Z", + "endtime": "2024-01-17T18:40:49.529719Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:25:49.529719Z", + "time_taken": 0.011014223098754883 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:40:49.540774Z", + "endtime": "2024-01-17T18:40:49.529719Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:25:49.529719Z", + "time_taken": 0.011014223098754883 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:41:09.904860Z", + "to": "2024-01-17T18:41:09.904882Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:41:09.904860Z", + "to": "2024-01-17T18:41:09.904882Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:26:54.431719Z", "lte": "2024-01-17T18:41:54.431719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:26:54.431719Z", "lte": "2024-01-17T18:41:54.431719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:41:54.439976Z", + "endtime": "2024-01-17T18:41:54.431719Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:26:54.431719Z", + "time_taken": 0.00822591781616211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:41:54.439976Z", + "endtime": "2024-01-17T18:41:54.431719Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:26:54.431719Z", + "time_taken": 0.00822591781616211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:42:09.904258Z", + "to": "2024-01-17T18:42:09.904285Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:42:09.904258Z", + "to": "2024-01-17T18:42:09.904285Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:27:55.725034Z", "lte": "2024-01-17T18:42:55.725034Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:27:55.725034Z", "lte": "2024-01-17T18:42:55.725034Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:42:55.733294Z", + "endtime": "2024-01-17T18:42:55.725034Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:27:55.725034Z", + "time_taken": 0.008196830749511719 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:42:55.733294Z", + "endtime": "2024-01-17T18:42:55.725034Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:27:55.725034Z", + "time_taken": 0.008196830749511719 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:43:09.908892Z", + "to": "2024-01-17T18:43:09.908919Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:43:09.908892Z", + "to": "2024-01-17T18:43:09.908919Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:28:56.714202Z", "lte": "2024-01-17T18:43:56.714202Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:28:56.714202Z", "lte": "2024-01-17T18:43:56.714202Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:43:56.731583Z", + "endtime": "2024-01-17T18:43:56.714202Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:28:56.714202Z", + "time_taken": 0.0173342227935791 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:43:56.731583Z", + "endtime": "2024-01-17T18:43:56.714202Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:28:56.714202Z", + "time_taken": 0.0173342227935791 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:44:09.903554Z", + "to": "2024-01-17T18:44:09.903601Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:44:09.903554Z", + "to": "2024-01-17T18:44:09.903601Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:29:59.915360Z", "lte": "2024-01-17T18:44:59.915360Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:29:59.915360Z", "lte": "2024-01-17T18:44:59.915360Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:44:59.925137Z", + "endtime": "2024-01-17T18:44:59.915360Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:29:59.915360Z", + "time_taken": 0.009741067886352539 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:44:59.925137Z", + "endtime": "2024-01-17T18:44:59.915360Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:29:59.915360Z", + "time_taken": 0.009741067886352539 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:45:09.903013Z", + "to": "2024-01-17T18:45:09.903033Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:45:09.903013Z", + "to": "2024-01-17T18:45:09.903033Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:31:01.614485Z", "lte": "2024-01-17T18:46:01.614485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:31:01.614485Z", "lte": "2024-01-17T18:46:01.614485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:46:01.625176Z", + "endtime": "2024-01-17T18:46:01.614485Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:31:01.614485Z", + "time_taken": 0.010653972625732422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:46:01.625176Z", + "endtime": "2024-01-17T18:46:01.614485Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:31:01.614485Z", + "time_taken": 0.010653972625732422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:46:09.905618Z", + "to": "2024-01-17T18:46:09.905639Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:46:09.905618Z", + "to": "2024-01-17T18:46:09.905639Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:32:02.184168Z", "lte": "2024-01-17T18:47:02.184168Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:32:02.184168Z", "lte": "2024-01-17T18:47:02.184168Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:47:02.193315Z", + "endtime": "2024-01-17T18:47:02.184168Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:32:02.184168Z", + "time_taken": 0.009092092514038086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:47:02.193315Z", + "endtime": "2024-01-17T18:47:02.184168Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:32:02.184168Z", + "time_taken": 0.009092092514038086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:47:09.907140Z", + "to": "2024-01-17T18:47:09.907178Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:47:09.907140Z", + "to": "2024-01-17T18:47:09.907178Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:33:03.029602Z", "lte": "2024-01-17T18:48:03.029602Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:33:03.029602Z", "lte": "2024-01-17T18:48:03.029602Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:48:03.039280Z", + "endtime": "2024-01-17T18:48:03.029602Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:33:03.029602Z", + "time_taken": 0.00963902473449707 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:48:03.039280Z", + "endtime": "2024-01-17T18:48:03.029602Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:33:03.029602Z", + "time_taken": 0.00963902473449707 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:48:09.907026Z", + "to": "2024-01-17T18:48:09.907053Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:48:09.907026Z", + "to": "2024-01-17T18:48:09.907053Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:34:07.760894Z", "lte": "2024-01-17T18:49:07.760894Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:34:07.760894Z", "lte": "2024-01-17T18:49:07.760894Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:49:07.772804Z", + "endtime": "2024-01-17T18:49:07.760894Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:34:07.760894Z", + "time_taken": 0.011852025985717773 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:49:07.772804Z", + "endtime": "2024-01-17T18:49:07.760894Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:34:07.760894Z", + "time_taken": 0.011852025985717773 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:49:09.903262Z", + "to": "2024-01-17T18:49:09.903283Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:49:09.903262Z", + "to": "2024-01-17T18:49:09.903283Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:35:08.563427Z", "lte": "2024-01-17T18:50:08.563427Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:35:08.563427Z", "lte": "2024-01-17T18:50:08.563427Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:50:08.569646Z", + "endtime": "2024-01-17T18:50:08.563427Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:35:08.563427Z", + "time_taken": 0.006193876266479492 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:50:08.569646Z", + "endtime": "2024-01-17T18:50:08.563427Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:35:08.563427Z", + "time_taken": 0.006193876266479492 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:50:09.904434Z", + "to": "2024-01-17T18:50:09.904456Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:50:09.904434Z", + "to": "2024-01-17T18:50:09.904456Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:51:09.906171Z", + "to": "2024-01-17T18:51:09.906198Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T18:51:09.906171Z", + "to": "2024-01-17T18:51:09.906198Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:36:10.019160Z", "lte": "2024-01-17T18:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:36:10.019160Z", "lte": "2024-01-17T18:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:51:10.032079Z", + "endtime": "2024-01-17T18:51:10.019160Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:36:10.019160Z", + "time_taken": 0.012855052947998047 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T18:51:10.032079Z", + "endtime": "2024-01-17T18:51:10.019160Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:36:10.019160Z", + "time_taken": 0.012855052947998047 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:51:10.019160Z", "lte": "2024-01-17T19:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:51:10.019160Z", "lte": "2024-01-17T19:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:06:10.019160Z", "lte": "2024-01-17T19:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:06:10.019160Z", "lte": "2024-01-17T19:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:21:10.019160Z", "lte": "2024-01-17T19:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:21:10.019160Z", "lte": "2024-01-17T19:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:36:10.019160Z", "lte": "2024-01-17T19:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:36:10.019160Z", "lte": "2024-01-17T19:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:51:10.019160Z", "lte": "2024-01-17T20:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:51:10.019160Z", "lte": "2024-01-17T20:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:06:10.019160Z", "lte": "2024-01-17T20:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:06:10.019160Z", "lte": "2024-01-17T20:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:21:10.019160Z", "lte": "2024-01-17T20:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:21:10.019160Z", "lte": "2024-01-17T20:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:36:10.019160Z", "lte": "2024-01-17T20:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:36:10.019160Z", "lte": "2024-01-17T20:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:51:10.019160Z", "lte": "2024-01-17T20:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:51:10.019160Z", "lte": "2024-01-17T20:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T20:59:05.220218Z", + "endtime": "2024-01-17T20:59:04.313675Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:51:10.019160Z", + "time_taken": 0.9044721126556396 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-17T20:59:05.220218Z", + "endtime": "2024-01-17T20:59:04.313675Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T18:51:10.019160Z", + "time_taken": 0.9044721126556396 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T20:59:10.261421Z", + "to": "2024-01-17T20:59:10.261438Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-15T20:59:10.261421Z", + "to": "2024-01-17T20:59:10.261438Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:59:04.313675Z", "lte": "2024-01-17T21:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:59:04.313675Z", "lte": "2024-01-17T21:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:14:04.313675Z", "lte": "2024-01-17T21:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:14:04.313675Z", "lte": "2024-01-17T21:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:29:04.313675Z", "lte": "2024-01-17T21:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:29:04.313675Z", "lte": "2024-01-17T21:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:44:04.313675Z", "lte": "2024-01-17T21:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:44:04.313675Z", "lte": "2024-01-17T21:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:59:04.313675Z", "lte": "2024-01-17T22:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:59:04.313675Z", "lte": "2024-01-17T22:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:14:04.313675Z", "lte": "2024-01-17T22:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:14:04.313675Z", "lte": "2024-01-17T22:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:29:04.313675Z", "lte": "2024-01-17T22:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:29:04.313675Z", "lte": "2024-01-17T22:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:44:04.313675Z", "lte": "2024-01-17T22:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:44:04.313675Z", "lte": "2024-01-17T22:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:59:04.313675Z", "lte": "2024-01-17T23:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:59:04.313675Z", "lte": "2024-01-17T23:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:14:04.313675Z", "lte": "2024-01-17T23:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:14:04.313675Z", "lte": "2024-01-17T23:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:29:04.313675Z", "lte": "2024-01-17T23:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:29:04.313675Z", "lte": "2024-01-17T23:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:44:04.313675Z", "lte": "2024-01-17T23:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:44:04.313675Z", "lte": "2024-01-17T23:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:59:04.313675Z", "lte": "2024-01-18T00:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:59:04.313675Z", "lte": "2024-01-18T00:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:14:04.313675Z", "lte": "2024-01-18T00:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:14:04.313675Z", "lte": "2024-01-18T00:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:29:04.313675Z", "lte": "2024-01-18T00:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:29:04.313675Z", "lte": "2024-01-18T00:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:44:04.313675Z", "lte": "2024-01-18T00:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:44:04.313675Z", "lte": "2024-01-18T00:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:59:04.313675Z", "lte": "2024-01-18T01:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:59:04.313675Z", "lte": "2024-01-18T01:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:14:04.313675Z", "lte": "2024-01-18T01:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:14:04.313675Z", "lte": "2024-01-18T01:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:29:04.313675Z", "lte": "2024-01-18T01:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:29:04.313675Z", "lte": "2024-01-18T01:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:44:04.313675Z", "lte": "2024-01-18T01:51:39.704126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:44:04.313675Z", "lte": "2024-01-18T01:51:39.704126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T01:51:39.808469Z", + "endtime": "2024-01-18T01:51:39.704126Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T20:59:04.313675Z", + "time_taken": 0.10351705551147461 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T01:51:39.808469Z", + "endtime": "2024-01-18T01:51:39.704126Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-17T20:59:04.313675Z", + "time_taken": 0.10351705551147461 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T01:52:09.907544Z", + "to": "2024-01-18T01:52:09.907564Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T01:52:09.907544Z", + "to": "2024-01-18T01:52:09.907564Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:37:41.132048Z", "lte": "2024-01-18T01:52:41.132048Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:37:41.132048Z", "lte": "2024-01-18T01:52:41.132048Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T01:52:41.144100Z", + "endtime": "2024-01-18T01:52:41.132048Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T01:37:41.132048Z", + "time_taken": 0.012010812759399414 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T01:52:41.144100Z", + "endtime": "2024-01-18T01:52:41.132048Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T01:37:41.132048Z", + "time_taken": 0.012010812759399414 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T01:53:09.906658Z", + "to": "2024-01-18T01:53:09.906678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T01:53:09.906658Z", + "to": "2024-01-18T01:53:09.906678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:38:42.102987Z", "lte": "2024-01-18T01:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:38:42.102987Z", "lte": "2024-01-18T01:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T01:53:42.123072Z", + "endtime": "2024-01-18T01:53:42.102987Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T01:38:42.102987Z", + "time_taken": 0.02003002166748047 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T01:53:42.123072Z", + "endtime": "2024-01-18T01:53:42.102987Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T01:38:42.102987Z", + "time_taken": 0.02003002166748047 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T01:54:09.909686Z", + "to": "2024-01-18T01:54:09.909725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T01:54:09.909686Z", + "to": "2024-01-18T01:54:09.909725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:46:09.922655Z", + "to": "2024-01-18T04:46:09.922699Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:46:09.922655Z", + "to": "2024-01-18T04:46:09.922699Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:53:42.102987Z", "lte": "2024-01-18T02:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:53:42.102987Z", "lte": "2024-01-18T02:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:08:42.102987Z", "lte": "2024-01-18T02:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:08:42.102987Z", "lte": "2024-01-18T02:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:23:42.102987Z", "lte": "2024-01-18T02:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:23:42.102987Z", "lte": "2024-01-18T02:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:38:42.102987Z", "lte": "2024-01-18T02:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:38:42.102987Z", "lte": "2024-01-18T02:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:53:42.102987Z", "lte": "2024-01-18T03:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:53:42.102987Z", "lte": "2024-01-18T03:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:08:42.102987Z", "lte": "2024-01-18T03:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:08:42.102987Z", "lte": "2024-01-18T03:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:23:42.102987Z", "lte": "2024-01-18T03:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:23:42.102987Z", "lte": "2024-01-18T03:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:38:42.102987Z", "lte": "2024-01-18T03:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:38:42.102987Z", "lte": "2024-01-18T03:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:53:42.102987Z", "lte": "2024-01-18T04:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:53:42.102987Z", "lte": "2024-01-18T04:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:08:42.102987Z", "lte": "2024-01-18T04:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:08:42.102987Z", "lte": "2024-01-18T04:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:23:42.102987Z", "lte": "2024-01-18T04:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:23:42.102987Z", "lte": "2024-01-18T04:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:42.102987Z", "lte": "2024-01-18T04:46:40.082770Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:42.102987Z", "lte": "2024-01-18T04:46:40.082770Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:46:40.160184Z", + "endtime": "2024-01-18T04:46:40.082770Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T01:53:42.102987Z", + "time_taken": 0.07735705375671387 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:46:40.160184Z", + "endtime": "2024-01-18T04:46:40.082770Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T01:53:42.102987Z", + "time_taken": 0.07735705375671387 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:47:09.906037Z", + "to": "2024-01-18T04:47:09.906065Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:47:09.906037Z", + "to": "2024-01-18T04:47:09.906065Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:32:43.844496Z", "lte": "2024-01-18T04:47:43.844496Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:32:43.844496Z", "lte": "2024-01-18T04:47:43.844496Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:47:43.856268Z", + "endtime": "2024-01-18T04:47:43.844496Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:32:43.844496Z", + "time_taken": 0.011716842651367188 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:47:43.856268Z", + "endtime": "2024-01-18T04:47:43.844496Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:32:43.844496Z", + "time_taken": 0.011716842651367188 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:48:09.903942Z", + "to": "2024-01-18T04:48:09.903964Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:48:09.903942Z", + "to": "2024-01-18T04:48:09.903964Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:33:46.031722Z", "lte": "2024-01-18T04:48:46.031722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:33:46.031722Z", "lte": "2024-01-18T04:48:46.031722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:48:46.040711Z", + "endtime": "2024-01-18T04:48:46.031722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:33:46.031722Z", + "time_taken": 0.008931159973144531 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:48:46.040711Z", + "endtime": "2024-01-18T04:48:46.031722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:33:46.031722Z", + "time_taken": 0.008931159973144531 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:49:09.907007Z", + "to": "2024-01-18T04:49:09.907045Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:49:09.907007Z", + "to": "2024-01-18T04:49:09.907045Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:34:48.073659Z", "lte": "2024-01-18T04:49:48.073659Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:34:48.073659Z", "lte": "2024-01-18T04:49:48.073659Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:49:48.084938Z", + "endtime": "2024-01-18T04:49:48.073659Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:34:48.073659Z", + "time_taken": 0.011210203170776367 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:49:48.084938Z", + "endtime": "2024-01-18T04:49:48.073659Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:34:48.073659Z", + "time_taken": 0.011210203170776367 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:50:09.903700Z", + "to": "2024-01-18T04:50:09.903724Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:50:09.903700Z", + "to": "2024-01-18T04:50:09.903724Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:35:48.628243Z", "lte": "2024-01-18T04:50:48.628243Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:35:48.628243Z", "lte": "2024-01-18T04:50:48.628243Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:50:48.637275Z", + "endtime": "2024-01-18T04:50:48.628243Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:35:48.628243Z", + "time_taken": 0.008974075317382812 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:50:48.637275Z", + "endtime": "2024-01-18T04:50:48.628243Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:35:48.628243Z", + "time_taken": 0.008974075317382812 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:51:09.905159Z", + "to": "2024-01-18T04:51:09.905189Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:51:09.905159Z", + "to": "2024-01-18T04:51:09.905189Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:36:48.745503Z", "lte": "2024-01-18T04:51:48.745503Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:36:48.745503Z", "lte": "2024-01-18T04:51:48.745503Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:51:48.752902Z", + "endtime": "2024-01-18T04:51:48.745503Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:36:48.745503Z", + "time_taken": 0.007343292236328125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:51:48.752902Z", + "endtime": "2024-01-18T04:51:48.745503Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:36:48.745503Z", + "time_taken": 0.007343292236328125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:52:09.904989Z", + "to": "2024-01-18T04:52:09.905015Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:52:09.904989Z", + "to": "2024-01-18T04:52:09.905015Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:37:53.183655Z", "lte": "2024-01-18T04:52:53.183655Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:37:53.183655Z", "lte": "2024-01-18T04:52:53.183655Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:52:53.190448Z", + "endtime": "2024-01-18T04:52:53.183655Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:37:53.183655Z", + "time_taken": 0.006752967834472656 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:52:53.190448Z", + "endtime": "2024-01-18T04:52:53.183655Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:37:53.183655Z", + "time_taken": 0.006752967834472656 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:53:09.906026Z", + "to": "2024-01-18T04:53:09.906047Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:53:09.906026Z", + "to": "2024-01-18T04:53:09.906047Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:57.953322Z", "lte": "2024-01-18T04:53:57.953322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:57.953322Z", "lte": "2024-01-18T04:53:57.953322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:53:57.995228Z", + "endtime": "2024-01-18T04:53:57.953322Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:38:57.953322Z", + "time_taken": 0.041869163513183594 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:53:57.995228Z", + "endtime": "2024-01-18T04:53:57.953322Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:38:57.953322Z", + "time_taken": 0.041869163513183594 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:54:09.903407Z", + "to": "2024-01-18T04:54:09.903434Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:54:09.903407Z", + "to": "2024-01-18T04:54:09.903434Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:39:59.159123Z", "lte": "2024-01-18T04:54:59.159123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:39:59.159123Z", "lte": "2024-01-18T04:54:59.159123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:54:59.167452Z", + "endtime": "2024-01-18T04:54:59.159123Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:39:59.159123Z", + "time_taken": 0.008274078369140625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:54:59.167452Z", + "endtime": "2024-01-18T04:54:59.159123Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:39:59.159123Z", + "time_taken": 0.008274078369140625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:55:09.904077Z", + "to": "2024-01-18T04:55:09.904099Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:55:09.904077Z", + "to": "2024-01-18T04:55:09.904099Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:40:59.753790Z", "lte": "2024-01-18T04:55:59.753790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:40:59.753790Z", "lte": "2024-01-18T04:55:59.753790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:55:59.761831Z", + "endtime": "2024-01-18T04:55:59.753790Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:40:59.753790Z", + "time_taken": 0.007996082305908203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:55:59.761831Z", + "endtime": "2024-01-18T04:55:59.753790Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:40:59.753790Z", + "time_taken": 0.007996082305908203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:56:09.906704Z", + "to": "2024-01-18T04:56:09.906726Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:56:09.906704Z", + "to": "2024-01-18T04:56:09.906726Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:42:00.290809Z", "lte": "2024-01-18T04:57:00.290809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:42:00.290809Z", "lte": "2024-01-18T04:57:00.290809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:57:00.299131Z", + "endtime": "2024-01-18T04:57:00.290809Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:42:00.290809Z", + "time_taken": 0.008260250091552734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:57:00.299131Z", + "endtime": "2024-01-18T04:57:00.290809Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:42:00.290809Z", + "time_taken": 0.008260250091552734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:57:09.913106Z", + "to": "2024-01-18T04:57:09.913134Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:57:09.913106Z", + "to": "2024-01-18T04:57:09.913134Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:43:03.740539Z", "lte": "2024-01-18T04:58:03.740539Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:43:03.740539Z", "lte": "2024-01-18T04:58:03.740539Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:58:03.749052Z", + "endtime": "2024-01-18T04:58:03.740539Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:43:03.740539Z", + "time_taken": 0.008472919464111328 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:58:03.749052Z", + "endtime": "2024-01-18T04:58:03.740539Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:43:03.740539Z", + "time_taken": 0.008472919464111328 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:58:09.912427Z", + "to": "2024-01-18T04:58:09.912455Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:58:09.912427Z", + "to": "2024-01-18T04:58:09.912455Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:44:08.405868Z", "lte": "2024-01-18T04:59:08.405868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:44:08.405868Z", "lte": "2024-01-18T04:59:08.405868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:59:08.414984Z", + "endtime": "2024-01-18T04:59:08.405868Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:44:08.405868Z", + "time_taken": 0.009073972702026367 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T04:59:08.414984Z", + "endtime": "2024-01-18T04:59:08.405868Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:44:08.405868Z", + "time_taken": 0.009073972702026367 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:59:09.907612Z", + "to": "2024-01-18T04:59:09.907639Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T04:59:09.907612Z", + "to": "2024-01-18T04:59:09.907639Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:00:09.903996Z", + "to": "2024-01-18T05:00:09.904035Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:00:09.903996Z", + "to": "2024-01-18T05:00:09.904035Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:45:11.247517Z", "lte": "2024-01-18T05:00:11.247517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:45:11.247517Z", "lte": "2024-01-18T05:00:11.247517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:00:11.254899Z", + "endtime": "2024-01-18T05:00:11.247517Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:45:11.247517Z", + "time_taken": 0.00732421875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:00:11.254899Z", + "endtime": "2024-01-18T05:00:11.247517Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:45:11.247517Z", + "time_taken": 0.00732421875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:01:09.906232Z", + "to": "2024-01-18T05:01:09.906251Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:01:09.906232Z", + "to": "2024-01-18T05:01:09.906251Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:46:13.578273Z", "lte": "2024-01-18T05:01:13.578273Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:46:13.578273Z", "lte": "2024-01-18T05:01:13.578273Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:01:13.586025Z", + "endtime": "2024-01-18T05:01:13.578273Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:46:13.578273Z", + "time_taken": 0.007696866989135742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:01:13.586025Z", + "endtime": "2024-01-18T05:01:13.578273Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:46:13.578273Z", + "time_taken": 0.007696866989135742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:02:09.905046Z", + "to": "2024-01-18T05:02:09.905128Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:02:09.905046Z", + "to": "2024-01-18T05:02:09.905128Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:47:18.289592Z", "lte": "2024-01-18T05:02:18.289592Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:47:18.289592Z", "lte": "2024-01-18T05:02:18.289592Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:02:18.297786Z", + "endtime": "2024-01-18T05:02:18.289592Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:47:18.289592Z", + "time_taken": 0.008138895034790039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:02:18.297786Z", + "endtime": "2024-01-18T05:02:18.289592Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:47:18.289592Z", + "time_taken": 0.008138895034790039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:03:09.906761Z", + "to": "2024-01-18T05:03:09.906789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:03:09.906761Z", + "to": "2024-01-18T05:03:09.906789Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:48:19.320889Z", "lte": "2024-01-18T05:03:19.320889Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:48:19.320889Z", "lte": "2024-01-18T05:03:19.320889Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:03:19.328156Z", + "endtime": "2024-01-18T05:03:19.320889Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:48:19.320889Z", + "time_taken": 0.007213115692138672 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:03:19.328156Z", + "endtime": "2024-01-18T05:03:19.320889Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:48:19.320889Z", + "time_taken": 0.007213115692138672 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:04:09.905001Z", + "to": "2024-01-18T05:04:09.905042Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:04:09.905001Z", + "to": "2024-01-18T05:04:09.905042Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:49:21.592417Z", "lte": "2024-01-18T05:04:21.592417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:49:21.592417Z", "lte": "2024-01-18T05:04:21.592417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:04:21.599655Z", + "endtime": "2024-01-18T05:04:21.592417Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:49:21.592417Z", + "time_taken": 0.007179975509643555 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:04:21.599655Z", + "endtime": "2024-01-18T05:04:21.592417Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:49:21.592417Z", + "time_taken": 0.007179975509643555 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:05:09.903486Z", + "to": "2024-01-18T05:05:09.903512Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:05:09.903486Z", + "to": "2024-01-18T05:05:09.903512Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:50:21.732541Z", "lte": "2024-01-18T05:05:21.732541Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:50:21.732541Z", "lte": "2024-01-18T05:05:21.732541Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:05:21.741152Z", + "endtime": "2024-01-18T05:05:21.732541Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:50:21.732541Z", + "time_taken": 0.008569717407226562 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:05:21.741152Z", + "endtime": "2024-01-18T05:05:21.732541Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:50:21.732541Z", + "time_taken": 0.008569717407226562 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:06:09.912069Z", + "to": "2024-01-18T05:06:09.912097Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:06:09.912069Z", + "to": "2024-01-18T05:06:09.912097Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:51:24.805654Z", "lte": "2024-01-18T05:06:24.805654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:51:24.805654Z", "lte": "2024-01-18T05:06:24.805654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:06:24.813122Z", + "endtime": "2024-01-18T05:06:24.805654Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:51:24.805654Z", + "time_taken": 0.0074079036712646484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:06:24.813122Z", + "endtime": "2024-01-18T05:06:24.805654Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:51:24.805654Z", + "time_taken": 0.0074079036712646484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:07:09.911673Z", + "to": "2024-01-18T05:07:09.911700Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:07:09.911673Z", + "to": "2024-01-18T05:07:09.911700Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:52:26.477393Z", "lte": "2024-01-18T05:07:26.477393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:52:26.477393Z", "lte": "2024-01-18T05:07:26.477393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:07:26.484268Z", + "endtime": "2024-01-18T05:07:26.477393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:52:26.477393Z", + "time_taken": 0.006834983825683594 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:07:26.484268Z", + "endtime": "2024-01-18T05:07:26.477393Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:52:26.477393Z", + "time_taken": 0.006834983825683594 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:08:09.911387Z", + "to": "2024-01-18T05:08:09.911415Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:08:09.911387Z", + "to": "2024-01-18T05:08:09.911415Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:53:26.679987Z", "lte": "2024-01-18T05:08:26.679987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:53:26.679987Z", "lte": "2024-01-18T05:08:26.679987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:08:26.710695Z", + "endtime": "2024-01-18T05:08:26.679987Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:53:26.679987Z", + "time_taken": 0.03065776824951172 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:08:26.710695Z", + "endtime": "2024-01-18T05:08:26.679987Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:53:26.679987Z", + "time_taken": 0.03065776824951172 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:09:09.911306Z", + "to": "2024-01-18T05:09:09.911326Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:09:09.911306Z", + "to": "2024-01-18T05:09:09.911326Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:54:26.806126Z", "lte": "2024-01-18T05:09:26.806126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:54:26.806126Z", "lte": "2024-01-18T05:09:26.806126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:09:26.814403Z", + "endtime": "2024-01-18T05:09:26.806126Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:54:26.806126Z", + "time_taken": 0.008214950561523438 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:09:26.814403Z", + "endtime": "2024-01-18T05:09:26.806126Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:54:26.806126Z", + "time_taken": 0.008214950561523438 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:10:09.910699Z", + "to": "2024-01-18T05:10:09.910725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:10:09.910699Z", + "to": "2024-01-18T05:10:09.910725Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:55:31.391291Z", "lte": "2024-01-18T05:10:31.391291Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:55:31.391291Z", "lte": "2024-01-18T05:10:31.391291Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:10:31.398880Z", + "endtime": "2024-01-18T05:10:31.391291Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:55:31.391291Z", + "time_taken": 0.007545948028564453 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:10:31.398880Z", + "endtime": "2024-01-18T05:10:31.391291Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:55:31.391291Z", + "time_taken": 0.007545948028564453 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:11:09.910637Z", + "to": "2024-01-18T05:11:09.910674Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:11:09.910637Z", + "to": "2024-01-18T05:11:09.910674Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:56:34.613931Z", "lte": "2024-01-18T05:11:34.613931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:56:34.613931Z", "lte": "2024-01-18T05:11:34.613931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:11:34.620262Z", + "endtime": "2024-01-18T05:11:34.613931Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:56:34.613931Z", + "time_taken": 0.006290912628173828 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:11:34.620262Z", + "endtime": "2024-01-18T05:11:34.613931Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:56:34.613931Z", + "time_taken": 0.006290912628173828 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:12:09.910476Z", + "to": "2024-01-18T05:12:09.910513Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:12:09.910476Z", + "to": "2024-01-18T05:12:09.910513Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:57:35.745489Z", "lte": "2024-01-18T05:12:35.745489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:57:35.745489Z", "lte": "2024-01-18T05:12:35.745489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:12:35.758980Z", + "endtime": "2024-01-18T05:12:35.745489Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:57:35.745489Z", + "time_taken": 0.013443946838378906 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:12:35.758980Z", + "endtime": "2024-01-18T05:12:35.745489Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:57:35.745489Z", + "time_taken": 0.013443946838378906 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:13:09.909503Z", + "to": "2024-01-18T05:13:09.909541Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:13:09.909503Z", + "to": "2024-01-18T05:13:09.909541Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:58:37.201786Z", "lte": "2024-01-18T05:13:37.201786Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:58:37.201786Z", "lte": "2024-01-18T05:13:37.201786Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:13:37.207539Z", + "endtime": "2024-01-18T05:13:37.201786Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:58:37.201786Z", + "time_taken": 0.005687236785888672 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:13:37.207539Z", + "endtime": "2024-01-18T05:13:37.201786Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:58:37.201786Z", + "time_taken": 0.005687236785888672 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:14:09.912077Z", + "to": "2024-01-18T05:14:09.912115Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:14:09.912077Z", + "to": "2024-01-18T05:14:09.912115Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:59:40.258111Z", "lte": "2024-01-18T05:14:40.258111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:59:40.258111Z", "lte": "2024-01-18T05:14:40.258111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:14:40.265417Z", + "endtime": "2024-01-18T05:14:40.258111Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:59:40.258111Z", + "time_taken": 0.007261037826538086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:14:40.265417Z", + "endtime": "2024-01-18T05:14:40.258111Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T04:59:40.258111Z", + "time_taken": 0.007261037826538086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:15:09.908136Z", + "to": "2024-01-18T05:15:09.908161Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:15:09.908136Z", + "to": "2024-01-18T05:15:09.908161Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:00:42.011726Z", "lte": "2024-01-18T05:15:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:00:42.011726Z", "lte": "2024-01-18T05:15:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:15:42.019926Z", + "endtime": "2024-01-18T05:15:42.011726Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:00:42.011726Z", + "time_taken": 0.008142948150634766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:15:42.019926Z", + "endtime": "2024-01-18T05:15:42.011726Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:00:42.011726Z", + "time_taken": 0.008142948150634766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:51:09.914250Z", + "to": "2024-01-18T05:51:09.914287Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:51:09.914250Z", + "to": "2024-01-18T05:51:09.914287Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:15:42.011726Z", "lte": "2024-01-18T05:30:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:15:42.011726Z", "lte": "2024-01-18T05:30:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:30:42.011726Z", "lte": "2024-01-18T05:45:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:30:42.011726Z", "lte": "2024-01-18T05:45:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:42.011726Z", "lte": "2024-01-18T05:51:11.440845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:42.011726Z", "lte": "2024-01-18T05:51:11.440845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:51:11.464057Z", + "endtime": "2024-01-18T05:51:11.440845Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:15:42.011726Z", + "time_taken": 0.02315807342529297 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:51:11.464057Z", + "endtime": "2024-01-18T05:51:11.440845Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:15:42.011726Z", + "time_taken": 0.02315807342529297 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:52:09.908086Z", + "to": "2024-01-18T05:52:09.908141Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:52:09.908086Z", + "to": "2024-01-18T05:52:09.908141Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:37:14.254491Z", "lte": "2024-01-18T05:52:14.254491Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:37:14.254491Z", "lte": "2024-01-18T05:52:14.254491Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:52:14.261736Z", + "endtime": "2024-01-18T05:52:14.254491Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:37:14.254491Z", + "time_taken": 0.007200002670288086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:52:14.261736Z", + "endtime": "2024-01-18T05:52:14.254491Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:37:14.254491Z", + "time_taken": 0.007200002670288086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:53:09.909230Z", + "to": "2024-01-18T05:53:09.909258Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:53:09.909230Z", + "to": "2024-01-18T05:53:09.909258Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:38:19.179759Z", "lte": "2024-01-18T05:53:19.179759Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:38:19.179759Z", "lte": "2024-01-18T05:53:19.179759Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:53:19.188071Z", + "endtime": "2024-01-18T05:53:19.179759Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:38:19.179759Z", + "time_taken": 0.008255958557128906 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:53:19.188071Z", + "endtime": "2024-01-18T05:53:19.179759Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:38:19.179759Z", + "time_taken": 0.008255958557128906 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:54:09.910715Z", + "to": "2024-01-18T05:54:09.910754Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:54:09.910715Z", + "to": "2024-01-18T05:54:09.910754Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:39:24.010231Z", "lte": "2024-01-18T05:54:24.010231Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:39:24.010231Z", "lte": "2024-01-18T05:54:24.010231Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:54:24.017073Z", + "endtime": "2024-01-18T05:54:24.010231Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:39:24.010231Z", + "time_taken": 0.006804943084716797 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:54:24.017073Z", + "endtime": "2024-01-18T05:54:24.010231Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:39:24.010231Z", + "time_taken": 0.006804943084716797 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:55:09.905411Z", + "to": "2024-01-18T05:55:09.905437Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:55:09.905411Z", + "to": "2024-01-18T05:55:09.905437Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:40:26.974769Z", "lte": "2024-01-18T05:55:26.974769Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:40:26.974769Z", "lte": "2024-01-18T05:55:26.974769Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:55:26.984183Z", + "endtime": "2024-01-18T05:55:26.974769Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:40:26.974769Z", + "time_taken": 0.009358882904052734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:55:26.984183Z", + "endtime": "2024-01-18T05:55:26.974769Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:40:26.974769Z", + "time_taken": 0.009358882904052734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:56:09.903643Z", + "to": "2024-01-18T05:56:09.903669Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:56:09.903643Z", + "to": "2024-01-18T05:56:09.903669Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:41:31.629531Z", "lte": "2024-01-18T05:56:31.629531Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:41:31.629531Z", "lte": "2024-01-18T05:56:31.629531Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:56:31.638526Z", + "endtime": "2024-01-18T05:56:31.629531Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:41:31.629531Z", + "time_taken": 0.008936882019042969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:56:31.638526Z", + "endtime": "2024-01-18T05:56:31.629531Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:41:31.629531Z", + "time_taken": 0.008936882019042969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:57:09.904275Z", + "to": "2024-01-18T05:57:09.904294Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:57:09.904275Z", + "to": "2024-01-18T05:57:09.904294Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:42:32.121760Z", "lte": "2024-01-18T05:57:32.121760Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:42:32.121760Z", "lte": "2024-01-18T05:57:32.121760Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:57:32.131456Z", + "endtime": "2024-01-18T05:57:32.121760Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:42:32.121760Z", + "time_taken": 0.009638309478759766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:57:32.131456Z", + "endtime": "2024-01-18T05:57:32.121760Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:42:32.121760Z", + "time_taken": 0.009638309478759766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:58:09.912326Z", + "to": "2024-01-18T05:58:09.912345Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:58:09.912326Z", + "to": "2024-01-18T05:58:09.912345Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:43:34.250080Z", "lte": "2024-01-18T05:58:34.250080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:43:34.250080Z", "lte": "2024-01-18T05:58:34.250080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:58:34.261875Z", + "endtime": "2024-01-18T05:58:34.250080Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:43:34.250080Z", + "time_taken": 0.011738061904907227 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:58:34.261875Z", + "endtime": "2024-01-18T05:58:34.250080Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:43:34.250080Z", + "time_taken": 0.011738061904907227 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:59:09.904979Z", + "to": "2024-01-18T05:59:09.905006Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T05:59:09.904979Z", + "to": "2024-01-18T05:59:09.905006Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:44:36.438517Z", "lte": "2024-01-18T05:59:36.438517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:44:36.438517Z", "lte": "2024-01-18T05:59:36.438517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:59:36.445091Z", + "endtime": "2024-01-18T05:59:36.438517Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:44:36.438517Z", + "time_taken": 0.0065348148345947266 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T05:59:36.445091Z", + "endtime": "2024-01-18T05:59:36.438517Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:44:36.438517Z", + "time_taken": 0.0065348148345947266 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:00:09.904415Z", + "to": "2024-01-18T06:00:09.904439Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:00:09.904415Z", + "to": "2024-01-18T06:00:09.904439Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:38.778369Z", "lte": "2024-01-18T06:00:38.778369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:38.778369Z", "lte": "2024-01-18T06:00:38.778369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:00:38.785590Z", + "endtime": "2024-01-18T06:00:38.778369Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:45:38.778369Z", + "time_taken": 0.007141828536987305 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:00:38.785590Z", + "endtime": "2024-01-18T06:00:38.778369Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:45:38.778369Z", + "time_taken": 0.007141828536987305 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:01:09.905120Z", + "to": "2024-01-18T06:01:09.905164Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:01:09.905120Z", + "to": "2024-01-18T06:01:09.905164Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:46:41.942028Z", "lte": "2024-01-18T06:01:41.942028Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:46:41.942028Z", "lte": "2024-01-18T06:01:41.942028Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:01:41.948831Z", + "endtime": "2024-01-18T06:01:41.942028Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:46:41.942028Z", + "time_taken": 0.006747722625732422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:01:41.948831Z", + "endtime": "2024-01-18T06:01:41.942028Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:46:41.942028Z", + "time_taken": 0.006747722625732422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:02:09.905116Z", + "to": "2024-01-18T06:02:09.905144Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:02:09.905116Z", + "to": "2024-01-18T06:02:09.905144Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:47:46.093696Z", "lte": "2024-01-18T06:02:46.093696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:47:46.093696Z", "lte": "2024-01-18T06:02:46.093696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:02:46.099903Z", + "endtime": "2024-01-18T06:02:46.093696Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:47:46.093696Z", + "time_taken": 0.006170034408569336 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:02:46.099903Z", + "endtime": "2024-01-18T06:02:46.093696Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:47:46.093696Z", + "time_taken": 0.006170034408569336 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:03:09.903426Z", + "to": "2024-01-18T06:03:09.903453Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:03:09.903426Z", + "to": "2024-01-18T06:03:09.903453Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:48:50.536646Z", "lte": "2024-01-18T06:03:50.536646Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:48:50.536646Z", "lte": "2024-01-18T06:03:50.536646Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:03:50.543562Z", + "endtime": "2024-01-18T06:03:50.536646Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:48:50.536646Z", + "time_taken": 0.006847381591796875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:03:50.543562Z", + "endtime": "2024-01-18T06:03:50.536646Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:48:50.536646Z", + "time_taken": 0.006847381591796875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:04:09.903963Z", + "to": "2024-01-18T06:04:09.903989Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:04:09.903963Z", + "to": "2024-01-18T06:04:09.903989Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:49:51.815729Z", "lte": "2024-01-18T06:04:51.815729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:49:51.815729Z", "lte": "2024-01-18T06:04:51.815729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:04:51.822204Z", + "endtime": "2024-01-18T06:04:51.815729Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:49:51.815729Z", + "time_taken": 0.0064351558685302734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:04:51.822204Z", + "endtime": "2024-01-18T06:04:51.815729Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:49:51.815729Z", + "time_taken": 0.0064351558685302734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:05:09.903796Z", + "to": "2024-01-18T06:05:09.903834Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:05:09.903796Z", + "to": "2024-01-18T06:05:09.903834Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:50:54.727485Z", "lte": "2024-01-18T06:05:54.727485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:50:54.727485Z", "lte": "2024-01-18T06:05:54.727485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:05:54.734736Z", + "endtime": "2024-01-18T06:05:54.727485Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:50:54.727485Z", + "time_taken": 0.0071947574615478516 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:05:54.734736Z", + "endtime": "2024-01-18T06:05:54.727485Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:50:54.727485Z", + "time_taken": 0.0071947574615478516 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:06:09.902579Z", + "to": "2024-01-18T06:06:09.902594Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:06:09.902579Z", + "to": "2024-01-18T06:06:09.902594Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:51:55.359323Z", "lte": "2024-01-18T06:06:55.359323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:51:55.359323Z", "lte": "2024-01-18T06:06:55.359323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:06:55.368057Z", + "endtime": "2024-01-18T06:06:55.359323Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:51:55.359323Z", + "time_taken": 0.008678913116455078 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:06:55.368057Z", + "endtime": "2024-01-18T06:06:55.359323Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:51:55.359323Z", + "time_taken": 0.008678913116455078 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:07:09.904990Z", + "to": "2024-01-18T06:07:09.905028Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:07:09.904990Z", + "to": "2024-01-18T06:07:09.905028Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:52:59.858419Z", "lte": "2024-01-18T06:07:59.858419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:52:59.858419Z", "lte": "2024-01-18T06:07:59.858419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:07:59.865337Z", + "endtime": "2024-01-18T06:07:59.858419Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:52:59.858419Z", + "time_taken": 0.006864070892333984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:07:59.865337Z", + "endtime": "2024-01-18T06:07:59.858419Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:52:59.858419Z", + "time_taken": 0.006864070892333984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:08:09.908399Z", + "to": "2024-01-18T06:08:09.908437Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:08:09.908399Z", + "to": "2024-01-18T06:08:09.908437Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:53:59.991312Z", "lte": "2024-01-18T06:08:59.991312Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:53:59.991312Z", "lte": "2024-01-18T06:08:59.991312Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:08:59.999244Z", + "endtime": "2024-01-18T06:08:59.991312Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:53:59.991312Z", + "time_taken": 0.007876873016357422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:08:59.999244Z", + "endtime": "2024-01-18T06:08:59.991312Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:53:59.991312Z", + "time_taken": 0.007876873016357422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:09:09.907841Z", + "to": "2024-01-18T06:09:09.907880Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:09:09.907841Z", + "to": "2024-01-18T06:09:09.907880Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:55:03.594974Z", "lte": "2024-01-18T06:10:03.594974Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:55:03.594974Z", "lte": "2024-01-18T06:10:03.594974Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:10:03.601709Z", + "endtime": "2024-01-18T06:10:03.594974Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:55:03.594974Z", + "time_taken": 0.006681203842163086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:10:03.601709Z", + "endtime": "2024-01-18T06:10:03.594974Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:55:03.594974Z", + "time_taken": 0.006681203842163086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:10:09.907599Z", + "to": "2024-01-18T06:10:09.907626Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:10:09.907599Z", + "to": "2024-01-18T06:10:09.907626Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:56:05.133266Z", "lte": "2024-01-18T06:11:05.133266Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:56:05.133266Z", "lte": "2024-01-18T06:11:05.133266Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:11:05.140077Z", + "endtime": "2024-01-18T06:11:05.133266Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:56:05.133266Z", + "time_taken": 0.006773948669433594 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:11:05.140077Z", + "endtime": "2024-01-18T06:11:05.133266Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:56:05.133266Z", + "time_taken": 0.006773948669433594 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:11:09.906733Z", + "to": "2024-01-18T06:11:09.906772Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:11:09.906733Z", + "to": "2024-01-18T06:11:09.906772Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:57:05.678483Z", "lte": "2024-01-18T06:12:05.678483Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:57:05.678483Z", "lte": "2024-01-18T06:12:05.678483Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:12:05.683740Z", + "endtime": "2024-01-18T06:12:05.678483Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:57:05.678483Z", + "time_taken": 0.0052280426025390625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:12:05.683740Z", + "endtime": "2024-01-18T06:12:05.678483Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:57:05.678483Z", + "time_taken": 0.0052280426025390625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:12:09.906235Z", + "to": "2024-01-18T06:12:09.906274Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:12:09.906235Z", + "to": "2024-01-18T06:12:09.906274Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:58:09.598069Z", "lte": "2024-01-18T06:13:09.598069Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:58:09.598069Z", "lte": "2024-01-18T06:13:09.598069Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:13:09.605077Z", + "endtime": "2024-01-18T06:13:09.598069Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:58:09.598069Z", + "time_taken": 0.006945610046386719 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:13:09.605077Z", + "endtime": "2024-01-18T06:13:09.598069Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:58:09.598069Z", + "time_taken": 0.006945610046386719 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:13:09.905681Z", + "to": "2024-01-18T06:13:09.905720Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:13:09.905681Z", + "to": "2024-01-18T06:13:09.905720Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:14:09.905055Z", + "to": "2024-01-18T06:14:09.905094Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:14:09.905055Z", + "to": "2024-01-18T06:14:09.905094Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:59:11.107083Z", "lte": "2024-01-18T06:14:11.107083Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:59:11.107083Z", "lte": "2024-01-18T06:14:11.107083Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:14:11.115833Z", + "endtime": "2024-01-18T06:14:11.107083Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:59:11.107083Z", + "time_taken": 0.00869607925415039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:14:11.115833Z", + "endtime": "2024-01-18T06:14:11.107083Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T05:59:11.107083Z", + "time_taken": 0.00869607925415039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:15:09.906579Z", + "to": "2024-01-18T06:15:09.906618Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:15:09.906579Z", + "to": "2024-01-18T06:15:09.906618Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:00:14.449774Z", "lte": "2024-01-18T06:15:14.449774Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:00:14.449774Z", "lte": "2024-01-18T06:15:14.449774Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:15:14.456618Z", + "endtime": "2024-01-18T06:15:14.449774Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:00:14.449774Z", + "time_taken": 0.0067899227142333984 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:15:14.456618Z", + "endtime": "2024-01-18T06:15:14.449774Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:00:14.449774Z", + "time_taken": 0.0067899227142333984 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:16:09.903993Z", + "to": "2024-01-18T06:16:09.904039Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:16:09.903993Z", + "to": "2024-01-18T06:16:09.904039Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:01:19.403806Z", "lte": "2024-01-18T06:16:19.403806Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:01:19.403806Z", "lte": "2024-01-18T06:16:19.403806Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:16:19.410723Z", + "endtime": "2024-01-18T06:16:19.403806Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:01:19.403806Z", + "time_taken": 0.006858110427856445 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:16:19.410723Z", + "endtime": "2024-01-18T06:16:19.403806Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:01:19.403806Z", + "time_taken": 0.006858110427856445 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:17:09.903586Z", + "to": "2024-01-18T06:17:09.903608Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:17:09.903586Z", + "to": "2024-01-18T06:17:09.903608Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:02:20.159779Z", "lte": "2024-01-18T06:17:20.159779Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:02:20.159779Z", "lte": "2024-01-18T06:17:20.159779Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:17:20.166633Z", + "endtime": "2024-01-18T06:17:20.159779Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:02:20.159779Z", + "time_taken": 0.006800174713134766 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:17:20.166633Z", + "endtime": "2024-01-18T06:17:20.159779Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:02:20.159779Z", + "time_taken": 0.006800174713134766 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:18:09.904625Z", + "to": "2024-01-18T06:18:09.904651Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:18:09.904625Z", + "to": "2024-01-18T06:18:09.904651Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:03:24.551397Z", "lte": "2024-01-18T06:18:24.551397Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:03:24.551397Z", "lte": "2024-01-18T06:18:24.551397Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:18:24.573443Z", + "endtime": "2024-01-18T06:18:24.551397Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:03:24.551397Z", + "time_taken": 0.02198195457458496 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:18:24.573443Z", + "endtime": "2024-01-18T06:18:24.551397Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:03:24.551397Z", + "time_taken": 0.02198195457458496 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:19:09.903446Z", + "to": "2024-01-18T06:19:09.903484Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:19:09.903446Z", + "to": "2024-01-18T06:19:09.903484Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:04:26.474191Z", "lte": "2024-01-18T06:19:26.474191Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:04:26.474191Z", "lte": "2024-01-18T06:19:26.474191Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:19:26.480100Z", + "endtime": "2024-01-18T06:19:26.474191Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:04:26.474191Z", + "time_taken": 0.005875110626220703 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:19:26.480100Z", + "endtime": "2024-01-18T06:19:26.474191Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:04:26.474191Z", + "time_taken": 0.005875110626220703 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:20:09.906653Z", + "to": "2024-01-18T06:20:09.906678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:20:09.906653Z", + "to": "2024-01-18T06:20:09.906678Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:05:27.468518Z", "lte": "2024-01-18T06:20:27.468518Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:05:27.468518Z", "lte": "2024-01-18T06:20:27.468518Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:20:27.478791Z", + "endtime": "2024-01-18T06:20:27.468518Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:05:27.468518Z", + "time_taken": 0.01023721694946289 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:20:27.478791Z", + "endtime": "2024-01-18T06:20:27.468518Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:05:27.468518Z", + "time_taken": 0.01023721694946289 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:21:09.918146Z", + "to": "2024-01-18T06:21:09.918173Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:21:09.918146Z", + "to": "2024-01-18T06:21:09.918173Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:06:31.587221Z", "lte": "2024-01-18T06:21:31.587221Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:06:31.587221Z", "lte": "2024-01-18T06:21:31.587221Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:21:31.594323Z", + "endtime": "2024-01-18T06:21:31.587221Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:06:31.587221Z", + "time_taken": 0.0070650577545166016 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:21:31.594323Z", + "endtime": "2024-01-18T06:21:31.587221Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:06:31.587221Z", + "time_taken": 0.0070650577545166016 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:22:09.908036Z", + "to": "2024-01-18T06:22:09.908075Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:22:09.908036Z", + "to": "2024-01-18T06:22:09.908075Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:07:34.524611Z", "lte": "2024-01-18T06:22:34.524611Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:07:34.524611Z", "lte": "2024-01-18T06:22:34.524611Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:22:34.532263Z", + "endtime": "2024-01-18T06:22:34.524611Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:07:34.524611Z", + "time_taken": 0.00759124755859375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:22:34.532263Z", + "endtime": "2024-01-18T06:22:34.524611Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:07:34.524611Z", + "time_taken": 0.00759124755859375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:23:09.907823Z", + "to": "2024-01-18T06:23:09.907878Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:23:09.907823Z", + "to": "2024-01-18T06:23:09.907878Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:08:38.264344Z", "lte": "2024-01-18T06:23:38.264344Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:08:38.264344Z", "lte": "2024-01-18T06:23:38.264344Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:23:38.272815Z", + "endtime": "2024-01-18T06:23:38.264344Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:08:38.264344Z", + "time_taken": 0.008372068405151367 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:23:38.272815Z", + "endtime": "2024-01-18T06:23:38.264344Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:08:38.264344Z", + "time_taken": 0.008372068405151367 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:24:09.903436Z", + "to": "2024-01-18T06:24:09.903460Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:24:09.903436Z", + "to": "2024-01-18T06:24:09.903460Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:09:39.526152Z", "lte": "2024-01-18T06:24:39.526152Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:09:39.526152Z", "lte": "2024-01-18T06:24:39.526152Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:24:39.533052Z", + "endtime": "2024-01-18T06:24:39.526152Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:09:39.526152Z", + "time_taken": 0.006807088851928711 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:24:39.533052Z", + "endtime": "2024-01-18T06:24:39.526152Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:09:39.526152Z", + "time_taken": 0.006807088851928711 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:25:09.908399Z", + "to": "2024-01-18T06:25:09.908436Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:25:09.908399Z", + "to": "2024-01-18T06:25:09.908436Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:10:42.867213Z", "lte": "2024-01-18T06:25:42.867213Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:10:42.867213Z", "lte": "2024-01-18T06:25:42.867213Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:25:42.872167Z", + "endtime": "2024-01-18T06:25:42.867213Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:10:42.867213Z", + "time_taken": 0.004925966262817383 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:25:42.872167Z", + "endtime": "2024-01-18T06:25:42.867213Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:10:42.867213Z", + "time_taken": 0.004925966262817383 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:26:09.908165Z", + "to": "2024-01-18T06:26:09.908203Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:26:09.908165Z", + "to": "2024-01-18T06:26:09.908203Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:11:43.085211Z", "lte": "2024-01-18T06:26:43.085211Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:11:43.085211Z", "lte": "2024-01-18T06:26:43.085211Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:26:43.091863Z", + "endtime": "2024-01-18T06:26:43.085211Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:11:43.085211Z", + "time_taken": 0.006613016128540039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:26:43.091863Z", + "endtime": "2024-01-18T06:26:43.085211Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:11:43.085211Z", + "time_taken": 0.006613016128540039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:27:09.907949Z", + "to": "2024-01-18T06:27:09.907988Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:27:09.907949Z", + "to": "2024-01-18T06:27:09.907988Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:12:46.603367Z", "lte": "2024-01-18T06:27:46.603367Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:12:46.603367Z", "lte": "2024-01-18T06:27:46.603367Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:27:46.611272Z", + "endtime": "2024-01-18T06:27:46.603367Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:12:46.603367Z", + "time_taken": 0.007847309112548828 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:27:46.611272Z", + "endtime": "2024-01-18T06:27:46.603367Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:12:46.603367Z", + "time_taken": 0.007847309112548828 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:28:09.908044Z", + "to": "2024-01-18T06:28:09.908083Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:28:09.908044Z", + "to": "2024-01-18T06:28:09.908083Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:13:48.055182Z", "lte": "2024-01-18T06:28:48.055182Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:13:48.055182Z", "lte": "2024-01-18T06:28:48.055182Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:28:48.061997Z", + "endtime": "2024-01-18T06:28:48.055182Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:13:48.055182Z", + "time_taken": 0.006760835647583008 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:28:48.061997Z", + "endtime": "2024-01-18T06:28:48.055182Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:13:48.055182Z", + "time_taken": 0.006760835647583008 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:29:09.906891Z", + "to": "2024-01-18T06:29:09.906930Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:29:09.906891Z", + "to": "2024-01-18T06:29:09.906930Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:14:48.550706Z", "lte": "2024-01-18T06:29:48.550706Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:14:48.550706Z", "lte": "2024-01-18T06:29:48.550706Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:29:48.583527Z", + "endtime": "2024-01-18T06:29:48.550706Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:14:48.550706Z", + "time_taken": 0.03277897834777832 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:29:48.583527Z", + "endtime": "2024-01-18T06:29:48.550706Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:14:48.550706Z", + "time_taken": 0.03277897834777832 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:30:09.905930Z", + "to": "2024-01-18T06:30:09.905968Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:30:09.905930Z", + "to": "2024-01-18T06:30:09.905968Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:15:49.195601Z", "lte": "2024-01-18T06:30:49.195601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:15:49.195601Z", "lte": "2024-01-18T06:30:49.195601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:30:49.200917Z", + "endtime": "2024-01-18T06:30:49.195601Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:15:49.195601Z", + "time_taken": 0.0052869319915771484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:30:49.200917Z", + "endtime": "2024-01-18T06:30:49.195601Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:15:49.195601Z", + "time_taken": 0.0052869319915771484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:31:09.906818Z", + "to": "2024-01-18T06:31:09.906856Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:31:09.906818Z", + "to": "2024-01-18T06:31:09.906856Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:16:51.448623Z", "lte": "2024-01-18T06:31:51.448623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:16:51.448623Z", "lte": "2024-01-18T06:31:51.448623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:31:51.455344Z", + "endtime": "2024-01-18T06:31:51.448623Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:16:51.448623Z", + "time_taken": 0.006665945053100586 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:31:51.455344Z", + "endtime": "2024-01-18T06:31:51.448623Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:16:51.448623Z", + "time_taken": 0.006665945053100586 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:32:09.908109Z", + "to": "2024-01-18T06:32:09.908148Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:32:09.908109Z", + "to": "2024-01-18T06:32:09.908148Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:17:52.923824Z", "lte": "2024-01-18T06:32:52.923824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:17:52.923824Z", "lte": "2024-01-18T06:32:52.923824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:32:52.932828Z", + "endtime": "2024-01-18T06:32:52.923824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:17:52.923824Z", + "time_taken": 0.008966207504272461 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:32:52.932828Z", + "endtime": "2024-01-18T06:32:52.923824Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:17:52.923824Z", + "time_taken": 0.008966207504272461 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:33:09.908306Z", + "to": "2024-01-18T06:33:09.908344Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:33:09.908306Z", + "to": "2024-01-18T06:33:09.908344Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:18:57.244400Z", "lte": "2024-01-18T06:33:57.244400Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:18:57.244400Z", "lte": "2024-01-18T06:33:57.244400Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:33:57.281815Z", + "endtime": "2024-01-18T06:33:57.244400Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:18:57.244400Z", + "time_taken": 0.03736686706542969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:33:57.281815Z", + "endtime": "2024-01-18T06:33:57.244400Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:18:57.244400Z", + "time_taken": 0.03736686706542969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:34:09.904583Z", + "to": "2024-01-18T06:34:09.904622Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:34:09.904583Z", + "to": "2024-01-18T06:34:09.904622Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:20:01.478869Z", "lte": "2024-01-18T06:35:01.478869Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:20:01.478869Z", "lte": "2024-01-18T06:35:01.478869Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:35:01.486552Z", + "endtime": "2024-01-18T06:35:01.478869Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:20:01.478869Z", + "time_taken": 0.007629871368408203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:35:01.486552Z", + "endtime": "2024-01-18T06:35:01.478869Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:20:01.478869Z", + "time_taken": 0.007629871368408203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:35:09.903826Z", + "to": "2024-01-18T06:35:09.903865Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:35:09.903826Z", + "to": "2024-01-18T06:35:09.903865Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:21:04.983175Z", "lte": "2024-01-18T06:36:04.983175Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:21:04.983175Z", "lte": "2024-01-18T06:36:04.983175Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:36:04.989745Z", + "endtime": "2024-01-18T06:36:04.983175Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:21:04.983175Z", + "time_taken": 0.0065460205078125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:36:04.989745Z", + "endtime": "2024-01-18T06:36:04.983175Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:21:04.983175Z", + "time_taken": 0.0065460205078125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:36:09.908538Z", + "to": "2024-01-18T06:36:09.908557Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:36:09.908538Z", + "to": "2024-01-18T06:36:09.908557Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:22:05.088110Z", "lte": "2024-01-18T06:37:05.088110Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:22:05.088110Z", "lte": "2024-01-18T06:37:05.088110Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:37:05.093739Z", + "endtime": "2024-01-18T06:37:05.088110Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:22:05.088110Z", + "time_taken": 0.0055959224700927734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:37:05.093739Z", + "endtime": "2024-01-18T06:37:05.088110Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:22:05.088110Z", + "time_taken": 0.0055959224700927734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:37:09.906302Z", + "to": "2024-01-18T06:37:09.906340Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:37:09.906302Z", + "to": "2024-01-18T06:37:09.906340Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:23:06.191428Z", "lte": "2024-01-18T06:38:06.191428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:23:06.191428Z", "lte": "2024-01-18T06:38:06.191428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:38:06.199293Z", + "endtime": "2024-01-18T06:38:06.191428Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:23:06.191428Z", + "time_taken": 0.00780797004699707 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:38:06.199293Z", + "endtime": "2024-01-18T06:38:06.191428Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:23:06.191428Z", + "time_taken": 0.00780797004699707 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:38:09.903635Z", + "to": "2024-01-18T06:38:09.903675Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:38:09.903635Z", + "to": "2024-01-18T06:38:09.903675Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:24:06.932866Z", "lte": "2024-01-18T06:39:06.932866Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:24:06.932866Z", "lte": "2024-01-18T06:39:06.932866Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:39:06.940097Z", + "endtime": "2024-01-18T06:39:06.932866Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:24:06.932866Z", + "time_taken": 0.007164955139160156 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:39:06.940097Z", + "endtime": "2024-01-18T06:39:06.932866Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:24:06.932866Z", + "time_taken": 0.007164955139160156 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:39:09.905105Z", + "to": "2024-01-18T06:39:09.905142Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:39:09.905105Z", + "to": "2024-01-18T06:39:09.905142Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:25:07.154242Z", "lte": "2024-01-18T06:40:07.154242Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:25:07.154242Z", "lte": "2024-01-18T06:40:07.154242Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:40:07.160762Z", + "endtime": "2024-01-18T06:40:07.154242Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:25:07.154242Z", + "time_taken": 0.00648188591003418 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:40:07.160762Z", + "endtime": "2024-01-18T06:40:07.154242Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:25:07.154242Z", + "time_taken": 0.00648188591003418 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:40:09.908017Z", + "to": "2024-01-18T06:40:09.908055Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:40:09.908017Z", + "to": "2024-01-18T06:40:09.908055Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:26:09.149953Z", "lte": "2024-01-18T06:41:09.149953Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:26:09.149953Z", "lte": "2024-01-18T06:41:09.149953Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:41:09.157005Z", + "endtime": "2024-01-18T06:41:09.149953Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:26:09.149953Z", + "time_taken": 0.006999015808105469 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:41:09.157005Z", + "endtime": "2024-01-18T06:41:09.149953Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:26:09.149953Z", + "time_taken": 0.006999015808105469 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:41:09.904992Z", + "to": "2024-01-18T06:41:09.905031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:41:09.904992Z", + "to": "2024-01-18T06:41:09.905031Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:27:09.776386Z", "lte": "2024-01-18T06:42:09.776386Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:27:09.776386Z", "lte": "2024-01-18T06:42:09.776386Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:42:09.782934Z", + "endtime": "2024-01-18T06:42:09.776386Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:27:09.776386Z", + "time_taken": 0.006508827209472656 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:42:09.782934Z", + "endtime": "2024-01-18T06:42:09.776386Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:27:09.776386Z", + "time_taken": 0.006508827209472656 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:42:09.904270Z", + "to": "2024-01-18T06:42:09.904297Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:42:09.904270Z", + "to": "2024-01-18T06:42:09.904297Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:43:09.904889Z", + "to": "2024-01-18T06:43:09.904926Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:43:09.904889Z", + "to": "2024-01-18T06:43:09.904926Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:28:11.038148Z", "lte": "2024-01-18T06:43:11.038148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:28:11.038148Z", "lte": "2024-01-18T06:43:11.038148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:43:11.045178Z", + "endtime": "2024-01-18T06:43:11.038148Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:28:11.038148Z", + "time_taken": 0.006974935531616211 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:43:11.045178Z", + "endtime": "2024-01-18T06:43:11.038148Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:28:11.038148Z", + "time_taken": 0.006974935531616211 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:44:09.907863Z", + "to": "2024-01-18T06:44:09.907883Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:44:09.907863Z", + "to": "2024-01-18T06:44:09.907883Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:29:15.014489Z", "lte": "2024-01-18T06:44:15.014489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:29:15.014489Z", "lte": "2024-01-18T06:44:15.014489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:44:15.021404Z", + "endtime": "2024-01-18T06:44:15.014489Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:29:15.014489Z", + "time_taken": 0.006860017776489258 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:44:15.021404Z", + "endtime": "2024-01-18T06:44:15.014489Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:29:15.014489Z", + "time_taken": 0.006860017776489258 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:45:09.907748Z", + "to": "2024-01-18T06:45:09.907786Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:45:09.907748Z", + "to": "2024-01-18T06:45:09.907786Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:30:16.757250Z", "lte": "2024-01-18T06:45:16.757250Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:30:16.757250Z", "lte": "2024-01-18T06:45:16.757250Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:45:16.763287Z", + "endtime": "2024-01-18T06:45:16.757250Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:30:16.757250Z", + "time_taken": 0.006007194519042969 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:45:16.763287Z", + "endtime": "2024-01-18T06:45:16.757250Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:30:16.757250Z", + "time_taken": 0.006007194519042969 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:46:09.906892Z", + "to": "2024-01-18T06:46:09.906908Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:46:09.906892Z", + "to": "2024-01-18T06:46:09.906908Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:31:17.933080Z", "lte": "2024-01-18T06:46:17.933080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:31:17.933080Z", "lte": "2024-01-18T06:46:17.933080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:46:17.965485Z", + "endtime": "2024-01-18T06:46:17.933080Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:31:17.933080Z", + "time_taken": 0.03236508369445801 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:46:17.965485Z", + "endtime": "2024-01-18T06:46:17.933080Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:31:17.933080Z", + "time_taken": 0.03236508369445801 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:47:09.907080Z", + "to": "2024-01-18T06:47:09.907118Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:47:09.907080Z", + "to": "2024-01-18T06:47:09.907118Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:32:18.372591Z", "lte": "2024-01-18T06:47:18.372591Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:32:18.372591Z", "lte": "2024-01-18T06:47:18.372591Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:47:18.379617Z", + "endtime": "2024-01-18T06:47:18.372591Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:32:18.372591Z", + "time_taken": 0.006970882415771484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:47:18.379617Z", + "endtime": "2024-01-18T06:47:18.372591Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:32:18.372591Z", + "time_taken": 0.006970882415771484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:48:09.906662Z", + "to": "2024-01-18T06:48:09.906700Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:48:09.906662Z", + "to": "2024-01-18T06:48:09.906700Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:33:21.072723Z", "lte": "2024-01-18T06:48:21.072723Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:33:21.072723Z", "lte": "2024-01-18T06:48:21.072723Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:48:21.078087Z", + "endtime": "2024-01-18T06:48:21.072723Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:33:21.072723Z", + "time_taken": 0.005333900451660156 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:48:21.078087Z", + "endtime": "2024-01-18T06:48:21.072723Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:33:21.072723Z", + "time_taken": 0.005333900451660156 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:49:09.906048Z", + "to": "2024-01-18T06:49:09.906074Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:49:09.906048Z", + "to": "2024-01-18T06:49:09.906074Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:34:24.412183Z", "lte": "2024-01-18T06:49:24.412183Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:34:24.412183Z", "lte": "2024-01-18T06:49:24.412183Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:49:24.443250Z", + "endtime": "2024-01-18T06:49:24.412183Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:34:24.412183Z", + "time_taken": 0.031008005142211914 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:49:24.443250Z", + "endtime": "2024-01-18T06:49:24.412183Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:34:24.412183Z", + "time_taken": 0.031008005142211914 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:50:09.905577Z", + "to": "2024-01-18T06:50:09.905596Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:50:09.905577Z", + "to": "2024-01-18T06:50:09.905596Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:35:26.622089Z", "lte": "2024-01-18T06:50:26.622089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:35:26.622089Z", "lte": "2024-01-18T06:50:26.622089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:50:26.628836Z", + "endtime": "2024-01-18T06:50:26.622089Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:35:26.622089Z", + "time_taken": 0.0067059993743896484 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:50:26.628836Z", + "endtime": "2024-01-18T06:50:26.622089Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:35:26.622089Z", + "time_taken": 0.0067059993743896484 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:51:09.907780Z", + "to": "2024-01-18T06:51:09.907825Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:51:09.907780Z", + "to": "2024-01-18T06:51:09.907825Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:36:30.017702Z", "lte": "2024-01-18T06:51:30.017702Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:36:30.017702Z", "lte": "2024-01-18T06:51:30.017702Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:51:30.025427Z", + "endtime": "2024-01-18T06:51:30.017702Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:36:30.017702Z", + "time_taken": 0.007681608200073242 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:51:30.025427Z", + "endtime": "2024-01-18T06:51:30.017702Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:36:30.017702Z", + "time_taken": 0.007681608200073242 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:52:09.907210Z", + "to": "2024-01-18T06:52:09.907248Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:52:09.907210Z", + "to": "2024-01-18T06:52:09.907248Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:37:33.050164Z", "lte": "2024-01-18T06:52:33.050164Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:37:33.050164Z", "lte": "2024-01-18T06:52:33.050164Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:52:33.057978Z", + "endtime": "2024-01-18T06:52:33.050164Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:37:33.050164Z", + "time_taken": 0.007757902145385742 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:52:33.057978Z", + "endtime": "2024-01-18T06:52:33.050164Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:37:33.050164Z", + "time_taken": 0.007757902145385742 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:53:09.904932Z", + "to": "2024-01-18T06:53:09.904971Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:53:09.904932Z", + "to": "2024-01-18T06:53:09.904971Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:38:36.709468Z", "lte": "2024-01-18T06:53:36.709468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:38:36.709468Z", "lte": "2024-01-18T06:53:36.709468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:53:36.716386Z", + "endtime": "2024-01-18T06:53:36.709468Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:38:36.709468Z", + "time_taken": 0.006879091262817383 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:53:36.716386Z", + "endtime": "2024-01-18T06:53:36.709468Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:38:36.709468Z", + "time_taken": 0.006879091262817383 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:54:09.905051Z", + "to": "2024-01-18T06:54:09.905079Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:54:09.905051Z", + "to": "2024-01-18T06:54:09.905079Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:39:36.765049Z", "lte": "2024-01-18T06:54:36.765049Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:39:36.765049Z", "lte": "2024-01-18T06:54:36.765049Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:54:36.772017Z", + "endtime": "2024-01-18T06:54:36.765049Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:39:36.765049Z", + "time_taken": 0.006913185119628906 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:54:36.772017Z", + "endtime": "2024-01-18T06:54:36.765049Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:39:36.765049Z", + "time_taken": 0.006913185119628906 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:55:09.904453Z", + "to": "2024-01-18T06:55:09.904492Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:55:09.904453Z", + "to": "2024-01-18T06:55:09.904492Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:40:40.313214Z", "lte": "2024-01-18T06:55:40.313214Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:40:40.313214Z", "lte": "2024-01-18T06:55:40.313214Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:55:40.319085Z", + "endtime": "2024-01-18T06:55:40.313214Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:40:40.313214Z", + "time_taken": 0.00584101676940918 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:55:40.319085Z", + "endtime": "2024-01-18T06:55:40.313214Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:40:40.313214Z", + "time_taken": 0.00584101676940918 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:56:09.904465Z", + "to": "2024-01-18T06:56:09.904487Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:56:09.904465Z", + "to": "2024-01-18T06:56:09.904487Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:41:42.778404Z", "lte": "2024-01-18T06:56:42.778404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:41:42.778404Z", "lte": "2024-01-18T06:56:42.778404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:56:42.786022Z", + "endtime": "2024-01-18T06:56:42.778404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:41:42.778404Z", + "time_taken": 0.007578134536743164 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:56:42.786022Z", + "endtime": "2024-01-18T06:56:42.778404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:41:42.778404Z", + "time_taken": 0.007578134536743164 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:57:09.905685Z", + "to": "2024-01-18T06:57:09.905723Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:57:09.905685Z", + "to": "2024-01-18T06:57:09.905723Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:42:47.576977Z", "lte": "2024-01-18T06:57:47.576977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:42:47.576977Z", "lte": "2024-01-18T06:57:47.576977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:57:47.585172Z", + "endtime": "2024-01-18T06:57:47.576977Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:42:47.576977Z", + "time_taken": 0.008136749267578125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:57:47.585172Z", + "endtime": "2024-01-18T06:57:47.576977Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:42:47.576977Z", + "time_taken": 0.008136749267578125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:58:09.906360Z", + "to": "2024-01-18T06:58:09.906396Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:58:09.906360Z", + "to": "2024-01-18T06:58:09.906396Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:43:50.525247Z", "lte": "2024-01-18T06:58:50.525247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:43:50.525247Z", "lte": "2024-01-18T06:58:50.525247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:58:50.532148Z", + "endtime": "2024-01-18T06:58:50.525247Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:43:50.525247Z", + "time_taken": 0.0068569183349609375 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:58:50.532148Z", + "endtime": "2024-01-18T06:58:50.525247Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:43:50.525247Z", + "time_taken": 0.0068569183349609375 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:59:09.905814Z", + "to": "2024-01-18T06:59:09.905835Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T06:59:09.905814Z", + "to": "2024-01-18T06:59:09.905835Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:44:51.947088Z", "lte": "2024-01-18T06:59:51.947088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:44:51.947088Z", "lte": "2024-01-18T06:59:51.947088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:59:51.954241Z", + "endtime": "2024-01-18T06:59:51.947088Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:44:51.947088Z", + "time_taken": 0.007113933563232422 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T06:59:51.954241Z", + "endtime": "2024-01-18T06:59:51.947088Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:44:51.947088Z", + "time_taken": 0.007113933563232422 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:00:09.907050Z", + "to": "2024-01-18T07:00:09.907090Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:00:09.907050Z", + "to": "2024-01-18T07:00:09.907090Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:45:53.996722Z", "lte": "2024-01-18T07:00:53.996722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:45:53.996722Z", "lte": "2024-01-18T07:00:53.996722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:00:54.004107Z", + "endtime": "2024-01-18T07:00:53.996722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:45:53.996722Z", + "time_taken": 0.007345914840698242 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:00:54.004107Z", + "endtime": "2024-01-18T07:00:53.996722Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:45:53.996722Z", + "time_taken": 0.007345914840698242 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:01:09.905624Z", + "to": "2024-01-18T07:01:09.905661Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:01:09.905624Z", + "to": "2024-01-18T07:01:09.905661Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:46:54.811322Z", "lte": "2024-01-18T07:01:54.811322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:46:54.811322Z", "lte": "2024-01-18T07:01:54.811322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:01:54.818276Z", + "endtime": "2024-01-18T07:01:54.811322Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:46:54.811322Z", + "time_taken": 0.00690007209777832 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:01:54.818276Z", + "endtime": "2024-01-18T07:01:54.811322Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:46:54.811322Z", + "time_taken": 0.00690007209777832 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:02:09.904161Z", + "to": "2024-01-18T07:02:09.904200Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:02:09.904161Z", + "to": "2024-01-18T07:02:09.904200Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:47:58.402658Z", "lte": "2024-01-18T07:02:58.402658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:47:58.402658Z", "lte": "2024-01-18T07:02:58.402658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:02:58.409597Z", + "endtime": "2024-01-18T07:02:58.402658Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:47:58.402658Z", + "time_taken": 0.0069010257720947266 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:02:58.409597Z", + "endtime": "2024-01-18T07:02:58.402658Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:47:58.402658Z", + "time_taken": 0.0069010257720947266 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:03:09.908118Z", + "to": "2024-01-18T07:03:09.908156Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:03:09.908118Z", + "to": "2024-01-18T07:03:09.908156Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:48:58.425867Z", "lte": "2024-01-18T07:03:58.425867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:48:58.425867Z", "lte": "2024-01-18T07:03:58.425867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:03:58.434195Z", + "endtime": "2024-01-18T07:03:58.425867Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:48:58.425867Z", + "time_taken": 0.008270025253295898 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:03:58.434195Z", + "endtime": "2024-01-18T07:03:58.425867Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:48:58.425867Z", + "time_taken": 0.008270025253295898 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:04:09.908187Z", + "to": "2024-01-18T07:04:09.908224Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:04:09.908187Z", + "to": "2024-01-18T07:04:09.908224Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:50:02.266334Z", "lte": "2024-01-18T07:05:02.266334Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:50:02.266334Z", "lte": "2024-01-18T07:05:02.266334Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:05:02.287093Z", + "endtime": "2024-01-18T07:05:02.266334Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:50:02.266334Z", + "time_taken": 0.020696163177490234 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:05:02.287093Z", + "endtime": "2024-01-18T07:05:02.266334Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:50:02.266334Z", + "time_taken": 0.020696163177490234 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:05:09.908203Z", + "to": "2024-01-18T07:05:09.908241Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:05:09.908203Z", + "to": "2024-01-18T07:05:09.908241Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:51:06.964712Z", "lte": "2024-01-18T07:06:06.964712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:51:06.964712Z", "lte": "2024-01-18T07:06:06.964712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:06:06.971893Z", + "endtime": "2024-01-18T07:06:06.964712Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:51:06.964712Z", + "time_taken": 0.007124900817871094 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:06:06.971893Z", + "endtime": "2024-01-18T07:06:06.964712Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:51:06.964712Z", + "time_taken": 0.007124900817871094 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:06:09.908115Z", + "to": "2024-01-18T07:06:09.908154Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:06:09.908115Z", + "to": "2024-01-18T07:06:09.908154Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:07:09.906800Z", + "to": "2024-01-18T07:07:09.906858Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:07:09.906800Z", + "to": "2024-01-18T07:07:09.906858Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:52:10.669044Z", "lte": "2024-01-18T07:07:10.669044Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:52:10.669044Z", "lte": "2024-01-18T07:07:10.669044Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:07:10.677085Z", + "endtime": "2024-01-18T07:07:10.669044Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:52:10.669044Z", + "time_taken": 0.00798797607421875 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:07:10.677085Z", + "endtime": "2024-01-18T07:07:10.669044Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:52:10.669044Z", + "time_taken": 0.00798797607421875 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:08:09.903098Z", + "to": "2024-01-18T07:08:09.903116Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:08:09.903098Z", + "to": "2024-01-18T07:08:09.903116Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:53:11.957296Z", "lte": "2024-01-18T07:08:11.957296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:53:11.957296Z", "lte": "2024-01-18T07:08:11.957296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:08:11.965632Z", + "endtime": "2024-01-18T07:08:11.957296Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:53:11.957296Z", + "time_taken": 0.008278846740722656 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:08:11.965632Z", + "endtime": "2024-01-18T07:08:11.957296Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:53:11.957296Z", + "time_taken": 0.008278846740722656 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:09:09.906030Z", + "to": "2024-01-18T07:09:09.906068Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:09:09.906030Z", + "to": "2024-01-18T07:09:09.906068Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:54:16.226607Z", "lte": "2024-01-18T07:09:16.226607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:54:16.226607Z", "lte": "2024-01-18T07:09:16.226607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:09:16.234549Z", + "endtime": "2024-01-18T07:09:16.226607Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:54:16.226607Z", + "time_taken": 0.007886886596679688 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:09:16.234549Z", + "endtime": "2024-01-18T07:09:16.226607Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:54:16.226607Z", + "time_taken": 0.007886886596679688 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:10:09.906558Z", + "to": "2024-01-18T07:10:09.906596Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:10:09.906558Z", + "to": "2024-01-18T07:10:09.906596Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:55:17.352124Z", "lte": "2024-01-18T07:10:17.352124Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:55:17.352124Z", "lte": "2024-01-18T07:10:17.352124Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:10:17.360476Z", + "endtime": "2024-01-18T07:10:17.352124Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:55:17.352124Z", + "time_taken": 0.008311986923217773 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:10:17.360476Z", + "endtime": "2024-01-18T07:10:17.352124Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:55:17.352124Z", + "time_taken": 0.008311986923217773 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:11:09.905066Z", + "to": "2024-01-18T07:11:09.905087Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:11:09.905066Z", + "to": "2024-01-18T07:11:09.905087Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:56:19.228027Z", "lte": "2024-01-18T07:11:19.228027Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:56:19.228027Z", "lte": "2024-01-18T07:11:19.228027Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:11:19.233012Z", + "endtime": "2024-01-18T07:11:19.228027Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:56:19.228027Z", + "time_taken": 0.0049457550048828125 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:11:19.233012Z", + "endtime": "2024-01-18T07:11:19.228027Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:56:19.228027Z", + "time_taken": 0.0049457550048828125 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:12:09.906028Z", + "to": "2024-01-18T07:12:09.906066Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:12:09.906028Z", + "to": "2024-01-18T07:12:09.906066Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:57:24.078115Z", "lte": "2024-01-18T07:12:24.078115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:57:24.078115Z", "lte": "2024-01-18T07:12:24.078115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:12:24.106497Z", + "endtime": "2024-01-18T07:12:24.078115Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:57:24.078115Z", + "time_taken": 0.028342008590698242 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:12:24.106497Z", + "endtime": "2024-01-18T07:12:24.078115Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:57:24.078115Z", + "time_taken": 0.028342008590698242 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:13:09.905289Z", + "to": "2024-01-18T07:13:09.905328Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:13:09.905289Z", + "to": "2024-01-18T07:13:09.905328Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:58:24.767093Z", "lte": "2024-01-18T07:13:24.767093Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:58:24.767093Z", "lte": "2024-01-18T07:13:24.767093Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:13:24.774004Z", + "endtime": "2024-01-18T07:13:24.767093Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:58:24.767093Z", + "time_taken": 0.006857872009277344 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:13:24.774004Z", + "endtime": "2024-01-18T07:13:24.767093Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:58:24.767093Z", + "time_taken": 0.006857872009277344 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:14:09.905722Z", + "to": "2024-01-18T07:14:09.905746Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:14:09.905722Z", + "to": "2024-01-18T07:14:09.905746Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:59:26.389688Z", "lte": "2024-01-18T07:14:26.389688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:59:26.389688Z", "lte": "2024-01-18T07:14:26.389688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:14:26.394655Z", + "endtime": "2024-01-18T07:14:26.389688Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:59:26.389688Z", + "time_taken": 0.004941701889038086 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:14:26.394655Z", + "endtime": "2024-01-18T07:14:26.389688Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T06:59:26.389688Z", + "time_taken": 0.004941701889038086 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:15:09.905397Z", + "to": "2024-01-18T07:15:09.905416Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:15:09.905397Z", + "to": "2024-01-18T07:15:09.905416Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:00:31.311781Z", "lte": "2024-01-18T07:15:31.311781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:00:31.311781Z", "lte": "2024-01-18T07:15:31.311781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:15:31.316553Z", + "endtime": "2024-01-18T07:15:31.311781Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:00:31.311781Z", + "time_taken": 0.00474858283996582 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:15:31.316553Z", + "endtime": "2024-01-18T07:15:31.311781Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:00:31.311781Z", + "time_taken": 0.00474858283996582 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:16:09.905743Z", + "to": "2024-01-18T07:16:09.905782Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:16:09.905743Z", + "to": "2024-01-18T07:16:09.905782Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:01:34.836895Z", "lte": "2024-01-18T07:16:34.836895Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:01:34.836895Z", "lte": "2024-01-18T07:16:34.836895Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:16:34.846904Z", + "endtime": "2024-01-18T07:16:34.836895Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:01:34.836895Z", + "time_taken": 0.009965181350708008 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:16:34.846904Z", + "endtime": "2024-01-18T07:16:34.836895Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:01:34.836895Z", + "time_taken": 0.009965181350708008 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:17:09.903174Z", + "to": "2024-01-18T07:17:09.903200Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:17:09.903174Z", + "to": "2024-01-18T07:17:09.903200Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:02:39.186144Z", "lte": "2024-01-18T07:17:39.186144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:02:39.186144Z", "lte": "2024-01-18T07:17:39.186144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:17:39.192263Z", + "endtime": "2024-01-18T07:17:39.186144Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:02:39.186144Z", + "time_taken": 0.00608515739440918 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:17:39.192263Z", + "endtime": "2024-01-18T07:17:39.186144Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:02:39.186144Z", + "time_taken": 0.00608515739440918 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:18:09.905846Z", + "to": "2024-01-18T07:18:09.905868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:18:09.905846Z", + "to": "2024-01-18T07:18:09.905868Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:19:26.359043Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:19:26.359043Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:19:26.459862Z", + "endtime": "2024-01-18T07:19:26.359043Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:17:39.186144Z", + "time_taken": 0.10072994232177734 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:19:26.459862Z", + "endtime": "2024-01-18T07:19:26.359043Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:17:39.186144Z", + "time_taken": 0.10072994232177734 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:20:16.361690Z", + "to": "2024-01-18T07:20:16.361741Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:20:16.361690Z", + "to": "2024-01-18T07:20:16.361741Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:20:26.979743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:20:26.979743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:20:26.989866Z", + "endtime": "2024-01-18T07:20:26.979743Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:17:39.186144Z", + "time_taken": 0.010063886642456055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:20:26.989866Z", + "endtime": "2024-01-18T07:20:26.979743Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:17:39.186144Z", + "time_taken": 0.010063886642456055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:21:16.361045Z", + "to": "2024-01-18T07:21:16.361070Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:21:16.361045Z", + "to": "2024-01-18T07:21:16.361070Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:20:26.979743Z", "lte": "2024-01-18T07:24:05.065227Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:20:26.979743Z", "lte": "2024-01-18T07:24:05.065227Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-18T07:24:05.124459Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-18T07:25:05.124452Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-18T07:24:05.124459Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-18T07:25:05.124452Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:06:39.831Z", "lte": "2024-01-18T07:31:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "wc", "*"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:06:39.831Z", "lte": "2024-01-18T07:31:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "wc", "*"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-18T07:24:05.205580Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-18T07:24:05.172070Z", + "match_body": { + "@timestamp": "2024-01-18T07:21:39.831Z", + "_id": "KqhxG40BVwXaWimFVW87", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 4, + "num_matches": 4, + "top_events_wc": { + "bcd": 1, + "bvscd": 1, + "dfg": 1, + "dsds": 1 + }, + "wc": "bcd" + }, + "match_time": "2024-01-18T07:21:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-18T07:24:05.205580Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-18T07:24:05.172070Z", + "match_body": { + "@timestamp": "2024-01-18T07:21:39.831Z", + "_id": "KqhxG40BVwXaWimFVW87", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 4, + "num_matches": 4, + "top_events_wc": { + "bcd": 1, + "bvscd": 1, + "dfg": 1, + "dsds": 1 + }, + "wc": "bcd" + }, + "match_time": "2024-01-18T07:21:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:24:05.266087Z", + "endtime": "2024-01-18T07:24:05.065227Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:20:26.979743Z", + "time_taken": 0.20078516006469727 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:24:05.266087Z", + "endtime": "2024-01-18T07:24:05.065227Z", + "hits": 4, + "matches": 4, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:20:26.979743Z", + "time_taken": 0.20078516006469727 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ + "query": { + "bool": { + "filter": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + } + } + }, + "sort": { + "@timestamp": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:25:10.330781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:25:10.330781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:25:10.363864Z", + "endtime": "2024-01-18T07:25:10.330781Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.03299093246459961 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:25:10.363864Z", + "endtime": "2024-01-18T07:25:10.330781Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.03299093246459961 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:25:58.334888Z", + "to": "2024-01-18T07:25:58.334919Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:25:58.334888Z", + "to": "2024-01-18T07:25:58.334919Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:26:10.734643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:26:10.734643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:26:10.743530Z", + "endtime": "2024-01-18T07:26:10.734643Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008820056915283203 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:26:10.743530Z", + "endtime": "2024-01-18T07:26:10.734643Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008820056915283203 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:26:58.333804Z", + "to": "2024-01-18T07:26:58.333857Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:26:58.333804Z", + "to": "2024-01-18T07:26:58.333857Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:27:12.150931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:27:12.150931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:27:12.159767Z", + "endtime": "2024-01-18T07:27:12.150931Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.00878286361694336 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:27:12.159767Z", + "endtime": "2024-01-18T07:27:12.150931Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.00878286361694336 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:27:58.334390Z", + "to": "2024-01-18T07:27:58.334428Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:27:58.334390Z", + "to": "2024-01-18T07:27:58.334428Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:28:15.512323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:28:15.512323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:28:15.524516Z", + "endtime": "2024-01-18T07:28:15.512323Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.012145042419433594 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:28:15.524516Z", + "endtime": "2024-01-18T07:28:15.512323Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.012145042419433594 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:28:58.332151Z", + "to": "2024-01-18T07:28:58.332173Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:28:58.332151Z", + "to": "2024-01-18T07:28:58.332173Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:29:16.030140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:29:16.030140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:29:16.046285Z", + "endtime": "2024-01-18T07:29:16.030140Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.01610088348388672 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:29:16.046285Z", + "endtime": "2024-01-18T07:29:16.030140Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.01610088348388672 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:29:58.330818Z", + "to": "2024-01-18T07:29:58.330843Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:29:58.330818Z", + "to": "2024-01-18T07:29:58.330843Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:30:17.995566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:30:17.995566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:30:18.014790Z", + "endtime": "2024-01-18T07:30:17.995566Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.01917886734008789 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:30:18.014790Z", + "endtime": "2024-01-18T07:30:17.995566Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.01917886734008789 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:30:58.333787Z", + "to": "2024-01-18T07:30:58.333812Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:30:58.333787Z", + "to": "2024-01-18T07:30:58.333812Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:31:18.774661Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:31:18.774661Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:31:18.782971Z", + "endtime": "2024-01-18T07:31:18.774661Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008254766464233398 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:31:18.782971Z", + "endtime": "2024-01-18T07:31:18.774661Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008254766464233398 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:31:58.330815Z", + "to": "2024-01-18T07:31:58.330841Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:31:58.330815Z", + "to": "2024-01-18T07:31:58.330841Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:32:19.882404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:32:19.882404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:32:19.891814Z", + "endtime": "2024-01-18T07:32:19.882404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.009372711181640625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:32:19.891814Z", + "endtime": "2024-01-18T07:32:19.882404Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.009372711181640625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:32:58.335038Z", + "to": "2024-01-18T07:32:58.335064Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:32:58.335038Z", + "to": "2024-01-18T07:32:58.335064Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:33:24.447417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:33:24.447417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:33:24.455484Z", + "endtime": "2024-01-18T07:33:24.447417Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008029937744140625 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:33:24.455484Z", + "endtime": "2024-01-18T07:33:24.447417Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008029937744140625 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:33:58.331003Z", + "to": "2024-01-18T07:33:58.331034Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:33:58.331003Z", + "to": "2024-01-18T07:33:58.331034Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:34:26.529007Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:34:26.529007Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:34:26.537724Z", + "endtime": "2024-01-18T07:34:26.529007Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008662939071655273 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:34:26.537724Z", + "endtime": "2024-01-18T07:34:26.529007Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008662939071655273 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:34:58.331816Z", + "to": "2024-01-18T07:34:58.331854Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:34:58.331816Z", + "to": "2024-01-18T07:34:58.331854Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:35:30.578703Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:35:30.578703Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:35:30.587050Z", + "endtime": "2024-01-18T07:35:30.578703Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008293867111206055 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:35:30.587050Z", + "endtime": "2024-01-18T07:35:30.578703Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008293867111206055 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:35:58.335389Z", + "to": "2024-01-18T07:35:58.335415Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:35:58.335389Z", + "to": "2024-01-18T07:35:58.335415Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:36:35.073605Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:36:35.073605Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:36:35.083314Z", + "endtime": "2024-01-18T07:36:35.073605Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.009655237197875977 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:36:35.083314Z", + "endtime": "2024-01-18T07:36:35.073605Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.009655237197875977 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:36:58.434943Z", + "to": "2024-01-18T07:36:58.434983Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:36:58.434943Z", + "to": "2024-01-18T07:36:58.434983Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:37:39.397563Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:37:39.397563Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:37:39.404956Z", + "endtime": "2024-01-18T07:37:39.397563Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.007356166839599609 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:37:39.404956Z", + "endtime": "2024-01-18T07:37:39.397563Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.007356166839599609 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:37:58.335813Z", + "to": "2024-01-18T07:37:58.335841Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:37:58.335813Z", + "to": "2024-01-18T07:37:58.335841Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:38:43.449426Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:38:43.449426Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:38:43.458293Z", + "endtime": "2024-01-18T07:38:43.449426Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008813142776489258 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:38:43.458293Z", + "endtime": "2024-01-18T07:38:43.449426Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:05.065227Z", + "time_taken": 0.008813142776489258 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:38:58.333505Z", + "to": "2024-01-18T07:38:58.333526Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:38:58.333505Z", + "to": "2024-01-18T07:38:58.333526Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:48.302497Z", "lte": "2024-01-18T07:39:48.302497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:48.302497Z", "lte": "2024-01-18T07:39:48.302497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:39:48.308446Z", + "endtime": "2024-01-18T07:39:48.302497Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:48.302497Z", + "time_taken": 0.005924701690673828 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:39:48.308446Z", + "endtime": "2024-01-18T07:39:48.302497Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:24:48.302497Z", + "time_taken": 0.005924701690673828 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:39:58.333216Z", + "to": "2024-01-18T07:39:58.333243Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:39:58.333216Z", + "to": "2024-01-18T07:39:58.333243Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:25:51.964198Z", "lte": "2024-01-18T07:40:51.964198Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:25:51.964198Z", "lte": "2024-01-18T07:40:51.964198Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:40:51.972786Z", + "endtime": "2024-01-18T07:40:51.964198Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:25:51.964198Z", + "time_taken": 0.008535146713256836 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:40:51.972786Z", + "endtime": "2024-01-18T07:40:51.964198Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:25:51.964198Z", + "time_taken": 0.008535146713256836 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:40:58.332865Z", + "to": "2024-01-18T07:40:58.332907Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:40:58.332865Z", + "to": "2024-01-18T07:40:58.332907Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:26:54.619396Z", "lte": "2024-01-18T07:41:54.619396Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:26:54.619396Z", "lte": "2024-01-18T07:41:54.619396Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:41:54.627184Z", + "endtime": "2024-01-18T07:41:54.619396Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:26:54.619396Z", + "time_taken": 0.007750988006591797 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:41:54.627184Z", + "endtime": "2024-01-18T07:41:54.619396Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:26:54.619396Z", + "time_taken": 0.007750988006591797 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:41:58.334870Z", + "to": "2024-01-18T07:41:58.334893Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:41:58.334870Z", + "to": "2024-01-18T07:41:58.334893Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:27:55.731643Z", "lte": "2024-01-18T07:42:55.731643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:27:55.731643Z", "lte": "2024-01-18T07:42:55.731643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:42:55.739990Z", + "endtime": "2024-01-18T07:42:55.731643Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:27:55.731643Z", + "time_taken": 0.008292913436889648 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:42:55.739990Z", + "endtime": "2024-01-18T07:42:55.731643Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:27:55.731643Z", + "time_taken": 0.008292913436889648 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:42:58.334499Z", + "to": "2024-01-18T07:42:58.334521Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:42:58.334499Z", + "to": "2024-01-18T07:42:58.334521Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:28:56.158031Z", "lte": "2024-01-18T07:43:56.158031Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:28:56.158031Z", "lte": "2024-01-18T07:43:56.158031Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:43:56.166680Z", + "endtime": "2024-01-18T07:43:56.158031Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:28:56.158031Z", + "time_taken": 0.008610010147094727 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:43:56.166680Z", + "endtime": "2024-01-18T07:43:56.158031Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:28:56.158031Z", + "time_taken": 0.008610010147094727 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:43:58.333381Z", + "to": "2024-01-18T07:43:58.333408Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:43:58.333381Z", + "to": "2024-01-18T07:43:58.333408Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:44:58.334490Z", + "to": "2024-01-18T07:44:58.334531Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:44:58.334490Z", + "to": "2024-01-18T07:44:58.334531Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:59.037845Z", "lte": "2024-01-18T07:44:59.037845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:59.037845Z", "lte": "2024-01-18T07:44:59.037845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:44:59.046475Z", + "endtime": "2024-01-18T07:44:59.037845Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:29:59.037845Z", + "time_taken": 0.00857400894165039 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:44:59.046475Z", + "endtime": "2024-01-18T07:44:59.037845Z", + "hits": 0, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:29:59.037845Z", + "time_taken": 0.00857400894165039 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:45:58.333811Z", + "to": "2024-01-18T07:45:58.333851Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:45:58.333811Z", + "to": "2024-01-18T07:45:58.333851Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:31:00.950277Z", "lte": "2024-01-18T07:46:00.950277Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:31:00.950277Z", "lte": "2024-01-18T07:46:00.950277Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-18T07:46:00.995599Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-18T07:47:00.995572Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-18T07:46:00.995599Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-18T07:47:00.995572Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:39.831Z", "lte": "2024-01-18T07:54:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:39.831Z", "lte": "2024-01-18T07:54:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-18T07:46:01.050806Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-18T07:46:01.040727Z", + "match_body": { + "@timestamp": "2024-01-18T07:44:39.831Z", + "_id": "RKiHG40BVwXaWimFGW90", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 8, + "num_matches": 8, + "top_events_wc": { + "bcd": 2, + "bvscd": 2, + "dfg": 2, + "dsds": 2 + }, + "wc": "bcd" + }, + "match_time": "2024-01-18T07:44:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-18T07:46:01.050806Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-18T07:46:01.040727Z", + "match_body": { + "@timestamp": "2024-01-18T07:44:39.831Z", + "_id": "RKiHG40BVwXaWimFGW90", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 8, + "num_matches": 8, + "top_events_wc": { + "bcd": 2, + "bvscd": 2, + "dfg": 2, + "dsds": 2 + }, + "wc": "bcd" + }, + "match_time": "2024-01-18T07:44:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:46:01.130036Z", + "endtime": "2024-01-18T07:46:00.950277Z", + "hits": 8, + "matches": 8, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:31:00.950277Z", + "time_taken": 0.17971515655517578 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:46:01.130036Z", + "endtime": "2024-01-18T07:46:00.950277Z", + "hits": 8, + "matches": 8, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:31:00.950277Z", + "time_taken": 0.17971515655517578 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:46:58.334409Z", + "to": "2024-01-18T07:46:58.334435Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:46:58.334409Z", + "to": "2024-01-18T07:46:58.334435Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:32:01.168836Z", "lte": "2024-01-18T07:47:01.168836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:32:01.168836Z", "lte": "2024-01-18T07:47:01.168836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:47:01.179280Z", + "endtime": "2024-01-18T07:47:01.168836Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:32:01.168836Z", + "time_taken": 0.010411977767944336 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:47:01.179280Z", + "endtime": "2024-01-18T07:47:01.168836Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:32:01.168836Z", + "time_taken": 0.010411977767944336 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:47:58.331022Z", + "to": "2024-01-18T07:47:58.331054Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:47:58.331022Z", + "to": "2024-01-18T07:47:58.331054Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:33:05.901148Z", "lte": "2024-01-18T07:48:05.901148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:33:05.901148Z", "lte": "2024-01-18T07:48:05.901148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:48:05.911713Z", + "endtime": "2024-01-18T07:48:05.901148Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:33:05.901148Z", + "time_taken": 0.010533809661865234 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:48:05.911713Z", + "endtime": "2024-01-18T07:48:05.901148Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:33:05.901148Z", + "time_taken": 0.010533809661865234 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:48:58.335002Z", + "to": "2024-01-18T07:48:58.335028Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:48:58.335002Z", + "to": "2024-01-18T07:48:58.335028Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:10.642237Z", "lte": "2024-01-18T07:49:10.642237Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:10.642237Z", "lte": "2024-01-18T07:49:10.642237Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:49:10.651701Z", + "endtime": "2024-01-18T07:49:10.642237Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:34:10.642237Z", + "time_taken": 0.009433984756469727 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:49:10.651701Z", + "endtime": "2024-01-18T07:49:10.642237Z", + "hits": 8, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:34:10.642237Z", + "time_taken": 0.009433984756469727 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:49:58.331728Z", + "to": "2024-01-18T07:49:58.331751Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:49:58.331728Z", + "to": "2024-01-18T07:49:58.331751Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:35:13.266731Z", "lte": "2024-01-18T07:50:13.266731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:35:13.266731Z", "lte": "2024-01-18T07:50:13.266731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-18T07:50:13.291452Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-18T07:51:13.291445Z" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ + "@timestamp": "2024-01-18T07:50:13.291452Z", + "exponent": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "until": "2024-01-18T07:51:13.291445Z" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:39.831Z", "lte": "2024-01-18T07:59:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:39.831Z", "lte": "2024-01-18T07:59:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-18T07:50:13.351305Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-18T07:50:13.338729Z", + "match_body": { + "@timestamp": "2024-01-18T07:49:39.831Z", + "_id": "UqiLG40BVwXaWimFRm9m", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 10, + "num_matches": 2, + "top_events_wc": { + "bcd": 4, + "bvscd": 4, + "dfg": 4, + "dsds": 4 + }, + "wc": "bcd" + }, + "match_time": "2024-01-18T07:49:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ + "@timestamp": "2024-01-18T07:50:13.351305Z", + "alert_info": { + "type": "alertmanager" + }, + "alert_sent": true, + "alert_time": "2024-01-18T07:50:13.338729Z", + "match_body": { + "@timestamp": "2024-01-18T07:49:39.831Z", + "_id": "UqiLG40BVwXaWimFRm9m", + "_index": "test-index", + "_type": "doc", + "group": "dfsvs", + "message": "aravind", + "name": "aravind", + "num_hits": 10, + "num_matches": 2, + "top_events_wc": { + "bcd": 4, + "bvscd": 4, + "dfg": 4, + "dsds": 4 + }, + "wc": "bcd" + }, + "match_time": "2024-01-18T07:49:39.831Z", + "rule_name": "freshdesk_sqs_retry_count_is_high" +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ + "query": { + "term": { + "rule_name": "freshdesk_sqs_retry_count_is_high._silence" + } + }, + "sort": { + "until": { + "order": "desc" + } + } +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:50:13.404482Z", + "endtime": "2024-01-18T07:50:13.266731Z", + "hits": 10, + "matches": 2, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:35:13.266731Z", + "time_taken": 0.1377110481262207 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:50:13.404482Z", + "endtime": "2024-01-18T07:50:13.266731Z", + "hits": 10, + "matches": 2, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:35:13.266731Z", + "time_taken": 0.1377110481262207 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:50:58.333156Z", + "to": "2024-01-18T07:50:58.333181Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:50:58.333156Z", + "to": "2024-01-18T07:50:58.333181Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:36:14.015029Z", "lte": "2024-01-18T07:51:14.015029Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:36:14.015029Z", "lte": "2024-01-18T07:51:14.015029Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:51:14.027501Z", + "endtime": "2024-01-18T07:51:14.015029Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:36:14.015029Z", + "time_taken": 0.012412071228027344 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:51:14.027501Z", + "endtime": "2024-01-18T07:51:14.015029Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:36:14.015029Z", + "time_taken": 0.012412071228027344 +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:51:58.335207Z", + "to": "2024-01-18T07:51:58.335245Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ + "query": { + "bool": { + "filter": { + "range": { + "alert_time": { + "from": "2024-01-16T07:51:58.335207Z", + "to": "2024-01-18T07:51:58.335245Z" + } + } + }, + "must": { + "query_string": { + "query": "!_exists_:aggregate_id AND alert_sent:false" + } + } + } + }, + "sort": { + "alert_time": { + "order": "asc" + } + } +}' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:37:17.485412Z", "lte": "2024-01-18T07:52:17.485412Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} +{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:37:17.485412Z", "lte": "2024-01-18T07:52:17.485412Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} +' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:52:17.496600Z", + "endtime": "2024-01-18T07:52:17.485412Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:37:17.485412Z", + "time_taken": 0.011134862899780273 +}' +curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ + "@timestamp": "2024-01-18T07:52:17.496600Z", + "endtime": "2024-01-18T07:52:17.485412Z", + "hits": 10, + "matches": 0, + "rule_name": "freshdesk_sqs_retry_count_is_high", + "starttime": "2024-01-18T07:37:17.485412Z", + "time_taken": 0.011134862899780273 +}' diff --git a/output.yaml b/output.yaml new file mode 100644 index 000000000..8fdb7fa77 --- /dev/null +++ b/output.yaml @@ -0,0 +1,25 @@ +alert_params: + rum_metrics_indexing_error: + aggregation: + minutes: 5 + aggregation_key: kubernetes.pod.name + alert_subject: Noticed RUM event indexing error + alerta_environment: haystack + alerta_severity: critical + filter: + - query: + query_string: + query: 'kubernetes.namespace: rum-logstash AND message: "[ERROR]"' + include: + - message + - kubernetes.pod.name + index: haystack* + labels: + noc_severity: p1 + oncall: 'No' + service: rum + query_key: kubernetes.pod.name + realert: + minutes: 1 + region: us-east-1 + type: any diff --git a/test.py b/test.py new file mode 100644 index 000000000..c62319900 --- /dev/null +++ b/test.py @@ -0,0 +1,30 @@ +import os +import yaml +def read_yaml(): + with open("test.yaml","r") as f: + rules = yaml.safe_load(f) + rulesNameList = {"us-east-1":[],"eu-central-1":[],"ap-southeast-2":[],"ap-south-1":[]} + if 'alert_params' in rules and rules['alert_params'] is not None: + for ruleName,ruleDefinition in rules['alert_params'].items(): + if("is_enabled" in ruleDefinition and ruleDefinition["is_enabled"] == False): + continue #skiping rule if is_enabled field is false + + labels = {} + if "labels" in ruleDefinition: + labels = ruleDefinition["labels"] + del ruleDefinition["labels"] + string_labels = {key: str(val) for key, val in labels.items()} + + if string_labels and 'oncall' in string_labels: + if string_labels['oncall'] == 'True': + string_labels['oncall'] = 'Yes' + elif string_labels['oncall'] == 'False': + string_labels['oncall'] = 'No' + + ruleDefinition["labels"] = string_labels + with open('output.yaml', 'w') as outfile: + yaml.dump(rules, outfile, default_flow_style=False) + #yaml.dump(rules, "output.yaml", default_flow_style=False) + + +read_yaml() diff --git a/test.yaml b/test.yaml new file mode 100644 index 000000000..8e07b9827 --- /dev/null +++ b/test.yaml @@ -0,0 +1,23 @@ +alert_params: + "rum_metrics_indexing_error": + type: any + index: haystack* + region: us-east-1 + realert: + minutes: 1 + aggregation: + minutes: 5 + aggregation_key: "kubernetes.pod.name" + query_key: "kubernetes.pod.name" + filter: + - query: + query_string: + query: "kubernetes.namespace: rum-logstash AND message: \"[ERROR]\"" + alert_subject: 'Noticed RUM event indexing error' + alerta_severity: critical + alerta_environment: haystack + include: ["message", "kubernetes.pod.name"] + labels: + service: "rum" + noc_severity: p1 + oncall: "No" \ No newline at end of file diff --git a/test/config.yaml b/test/config.yaml new file mode 100644 index 000000000..e9fea03ca --- /dev/null +++ b/test/config.yaml @@ -0,0 +1,131 @@ +# This is the folder that contains the rule yaml files +# This can also be a list of directories +# Any .yaml file will be loaded as a rule +rules_folder: /Users/armusigumpula/projects/elastalert/test/rules + +# How often ElastAlert will query Elasticsearch +# The unit can be anything from weeks to seconds +run_every: + minutes: 1 + +# ElastAlert will buffer results from the most recent +# period of time, in case some log sources are not in real time +buffer_time: + minutes: 15 + +# The Elasticsearch hostname for metadata writeback +# Note that every rule can have its own Elasticsearch host +es_host: localhost + +# The Elasticsearch port +es_port: 9200 + +# The AWS region to use. Set this when using AWS-managed elasticsearch +#aws_region: us-east-1 + +# The AWS profile to use. Use this if you are using an aws-cli profile. +# See http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html +# for details +#profile: test + +# Optional URL prefix for Elasticsearch +#es_url_prefix: elasticsearch + +# Optional prefix for statsd metrics +#statsd_instance_tag: elastalert + +# Optional statsd host +#statsd_host: dogstatsd + +# Connect with TLS to Elasticsearch +#use_ssl: True + +# Verify TLS certificates +#verify_certs: True + +# Show TLS or certificate related warnings +#ssl_show_warn: True + +# GET request with body is the default option for Elasticsearch. +# If it fails for some reason, you can pass 'GET', 'POST' or 'source'. +# See https://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport +# for details +#es_send_get_body_as: GET + +# Option basic-auth username and password for Elasticsearch +#es_username: someusername +#es_password: somepassword + +# Use SSL authentication with client certificates client_cert must be +# a pem file containing both cert and key for client +#ca_certs: /path/to/cacert.pem +#client_cert: /path/to/client_cert.pem +#client_key: /path/to/client_key.key + +# The index on es_host which is used for metadata storage +# This can be a unmapped index, but it is recommended that you run +# elastalert-create-index to set a mapping +writeback_index: elastalert_status + +# If an alert fails for some reason, ElastAlert will retry +# sending the alert until this time period has elapsed +alert_time_limit: + days: 2 + +kibana_adapter: localhost +kibana_adapter_port: 9200 +query_endpoint: + +# Optional timestamp format. +# ElastAlert will print timestamps in alert messages and in log messages using this format. +#custom_pretty_ts_format: '%Y-%m-%d %H:%M' + +# Custom logging configuration +# If you want to setup your own logging configuration to log into +# files as well or to Logstash and/or modify log levels, use +# the configuration below and adjust to your needs. +# Note: if you run ElastAlert with --verbose/--debug, the log level of +# the "elastalert" logger is changed to INFO, if not already INFO/DEBUG. +#logging: +# version: 1 +# incremental: false +# disable_existing_loggers: false +# formatters: +# logline: +# format: '%(asctime)s %(levelname)+8s %(name)+20s %(message)s' +# +# handlers: +# console: +# class: logging.StreamHandler +# formatter: logline +# level: DEBUG +# stream: ext://sys.stderr +# +# file: +# class : logging.FileHandler +# formatter: logline +# level: DEBUG +# filename: elastalert.log +# +# loggers: +# elastalert: +# level: WARN +# handlers: [] +# propagate: true +# +# elasticsearch: +# level: WARN +# handlers: [] +# propagate: true +# +# elasticsearch.trace: +# level: WARN +# handlers: [] +# propagate: true +# +# '': # root logger +# level: WARN +# handlers: +# - console +# - file +# propagate: false diff --git a/test/rules/example_frequency.yaml b/test/rules/example_frequency.yaml new file mode 100755 index 000000000..f344c03f0 --- /dev/null +++ b/test/rules/example_frequency.yaml @@ -0,0 +1,44 @@ +alert: alertmanager +alert_subject: 'SQS retry count is high. Please check the messages in sqs queue. - + region: us-east-1' +alerta_environment: freshdesk +alerta_severity: warning +alertmanager_annotations: + severity: warning +alertmanager_hosts: +- 'http://78bfed683e8c09a1.elb.us-east-1.amazonaws.com:10001/api/prom/alertmanager/api/v1/alerts' +alertmanager_labels: + alert_owner: Freshdesk + alert_type: app + alertname: sqs_retry_count_is_high + aws_accid: '202227476021' + job: log_alerts + notification_channel: CUGRAGN1X + oncall: 'Yes' + priority: P1 + product: Freshdesk + region: us-east-1 + severity: warning + source: log + summary: SQS retry count is high + threshold: '5' +attach_related: false +doc_type: doc +filter: +- query: + query_string: + query: 'name: aravind' +index: test-index* +is_enabled: true +name: freshdesk_sqs_retry_count_is_high +num_events: 1 +# query_key: wc +raw_count_keys: false +tenant: freshdesk +timeframe: + minutes: 15 +top_count_keys: +- wc +top_count_number: 5 +type: frequency +# use_terms_query: true \ No newline at end of file From a2a77ed14cb1f975334b9f086e34d5a010739f69 Mon Sep 17 00:00:00 2001 From: aravind-musigumpula Date: Mon, 4 Mar 2024 10:48:26 +0530 Subject: [PATCH 2/2] add aggregated data to alert --- log.log | 49702 ---------------------------- output.yaml | 25 - test.py | 30 - test.yaml | 23 - test/config.yaml | 131 - test/rules/example_frequency.yaml | 44 - 6 files changed, 49955 deletions(-) delete mode 100644 log.log delete mode 100644 output.yaml delete mode 100644 test.py delete mode 100644 test.yaml delete mode 100644 test/config.yaml delete mode 100755 test/rules/example_frequency.yaml diff --git a/log.log b/log.log deleted file mode 100644 index 21ae8d775..000000000 --- a/log.log +++ /dev/null @@ -1,49702 +0,0 @@ -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:13.811935Z", "lte": "2023-12-18T18:49:13.811935Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["group", "*", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:13.811935Z", "lte": "2023-12-18T18:49:13.811935Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["group", "*", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:34.245163Z", "lte": "2023-12-18T18:49:34.245163Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "name", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:34:34.245163Z", "lte": "2023-12-18T18:49:34.245163Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "name", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:35:36.729830Z", "lte": "2023-12-18T18:50:36.729830Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:35:36.729830Z", "lte": "2023-12-18T18:50:36.729830Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:51:21.732053Z", - "to": "2023-12-18T18:51:21.732088Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:51:21.732053Z", - "to": "2023-12-18T18:51:21.732088Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:36:41.585574Z", "lte": "2023-12-18T18:51:41.585574Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:36:41.585574Z", "lte": "2023-12-18T18:51:41.585574Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:52:21.728616Z", - "to": "2023-12-18T18:52:21.728631Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:52:21.728616Z", - "to": "2023-12-18T18:52:21.728631Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:37:44.829202Z", "lte": "2023-12-18T18:52:44.829202Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:37:44.829202Z", "lte": "2023-12-18T18:52:44.829202Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "group", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:53:21.727322Z", - "to": "2023-12-18T18:53:21.727337Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:53:21.727322Z", - "to": "2023-12-18T18:53:21.727337Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:39:00.859498Z", "lte": "2023-12-18T18:54:00.859498Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:39:00.859498Z", "lte": "2023-12-18T18:54:00.859498Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:54:46.862331Z", - "to": "2023-12-18T18:54:46.862377Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:54:46.862331Z", - "to": "2023-12-18T18:54:46.862377Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:40:02.269905Z", "lte": "2023-12-18T18:55:02.269905Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:40:02.269905Z", "lte": "2023-12-18T18:55:02.269905Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:55:46.859631Z", - "to": "2023-12-18T18:55:46.859657Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:55:46.859631Z", - "to": "2023-12-18T18:55:46.859657Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:41:06.747413Z", "lte": "2023-12-18T18:56:06.747413Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:41:06.747413Z", "lte": "2023-12-18T18:56:06.747413Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:56:46.860009Z", - "to": "2023-12-18T18:56:46.860047Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T18:56:46.860009Z", - "to": "2023-12-18T18:56:46.860047Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:42:09.349705Z", "lte": "2023-12-18T18:57:09.349705Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:42:09.349705Z", "lte": "2023-12-18T18:57:09.349705Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "group", "@timestamp", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:46:56.254224Z", "lte": "2023-12-18T19:01:56.254224Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:46:56.254224Z", "lte": "2023-12-18T19:01:56.254224Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:53:42.742076Z", "lte": "2023-12-18T19:08:42.742076Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:53:42.742076Z", "lte": "2023-12-18T19:08:42.742076Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:55:34.003Z", "lte": "2023-12-18T19:06:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:58:52.930036Z", "lte": "2023-12-18T19:13:52.930036Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:58:52.930036Z", "lte": "2023-12-18T19:13:52.930036Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:59:34.003Z", "lte": "2023-12-18T19:10:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T18:59:34.003Z", "lte": "2023-12-18T19:10:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:04:08.996212Z", "lte": "2023-12-18T19:19:08.996212Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:04:08.996212Z", "lte": "2023-12-18T19:19:08.996212Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:08:34.003Z", "lte": "2023-12-18T19:19:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:08:34.003Z", "lte": "2023-12-18T19:19:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:14:28.106569Z", "lte": "2023-12-18T19:29:28.106569Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:14:28.106569Z", "lte": "2023-12-18T19:29:28.106569Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:30:18.108245Z", - "to": "2023-12-18T19:30:18.108271Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:30:18.108245Z", - "to": "2023-12-18T19:30:18.108271Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:15:32.429678Z", "lte": "2023-12-18T19:30:32.429678Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:15:32.429678Z", "lte": "2023-12-18T19:30:32.429678Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:31:18.107677Z", - "to": "2023-12-18T19:31:18.107717Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:31:18.107677Z", - "to": "2023-12-18T19:31:18.107717Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:16:35.150010Z", "lte": "2023-12-18T19:31:35.150010Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:16:35.150010Z", "lte": "2023-12-18T19:31:35.150010Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:18:08.719607Z", "lte": "2023-12-18T19:33:08.719607Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:18:08.719607Z", "lte": "2023-12-18T19:33:08.719607Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:23:37.558154Z", "lte": "2023-12-18T19:38:37.558154Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "@timestamp", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:23:37.558154Z", "lte": "2023-12-18T19:38:37.558154Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["name", "@timestamp", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:29:34.003Z", "lte": "2023-12-18T19:40:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["name", "@timestamp", "*", "group"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:36:50.219963Z", "lte": "2023-12-18T19:51:50.219963Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:36:50.219963Z", "lte": "2023-12-18T19:51:50.219963Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:52:50.225223Z", - "to": "2023-12-18T19:52:50.225268Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:52:50.225223Z", - "to": "2023-12-18T19:52:50.225268Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:37:53.062943Z", "lte": "2023-12-18T19:52:53.062943Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:37:53.062943Z", "lte": "2023-12-18T19:52:53.062943Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:53:50.221671Z", - "to": "2023-12-18T19:53:50.221695Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T19:53:50.221671Z", - "to": "2023-12-18T19:53:50.221695Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:38:53.333616Z", "lte": "2023-12-18T19:53:53.333616Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:38:53.333616Z", "lte": "2023-12-18T19:53:53.333616Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "name", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "group", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "group", "*", "name"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:46:01.690490Z", "lte": "2023-12-18T20:01:01.690490Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:46:01.690490Z", "lte": "2023-12-18T20:01:01.690490Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T19:52:34.003Z", "lte": "2023-12-18T20:03:34.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:06:33.816087Z", "lte": "2023-12-18T20:21:33.816087Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:06:33.816087Z", "lte": "2023-12-18T20:21:33.816087Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:22:22.820018Z", - "to": "2023-12-18T20:22:22.820056Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:22:22.820018Z", - "to": "2023-12-18T20:22:22.820056Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:07:34.580396Z", "lte": "2023-12-18T20:22:34.580396Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:07:34.580396Z", "lte": "2023-12-18T20:22:34.580396Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:23:22.818827Z", - "to": "2023-12-18T20:23:22.818845Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:23:22.818827Z", - "to": "2023-12-18T20:23:22.818845Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:08:38.072026Z", "lte": "2023-12-18T20:23:38.072026Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:08:38.072026Z", "lte": "2023-12-18T20:23:38.072026Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:24:22.817615Z", - "to": "2023-12-18T20:24:22.817641Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:24:22.817615Z", - "to": "2023-12-18T20:24:22.817641Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:09:42.080286Z", "lte": "2023-12-18T20:24:42.080286Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:09:42.080286Z", "lte": "2023-12-18T20:24:42.080286Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:25:22.816339Z", - "to": "2023-12-18T20:25:22.816378Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:25:22.816339Z", - "to": "2023-12-18T20:25:22.816378Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:10:44.344666Z", "lte": "2023-12-18T20:25:44.344666Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:10:44.344666Z", "lte": "2023-12-18T20:25:44.344666Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:26:22.818869Z", - "to": "2023-12-18T20:26:22.818909Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2023-12-16T20:26:22.818869Z", - "to": "2023-12-18T20:26:22.818909Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "Example frequency rule" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:18:40.454884Z", "lte": "2023-12-18T20:33:40.454884Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:18:40.454884Z", "lte": "2023-12-18T20:33:40.454884Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2023-12-18T20:22:43.003Z", "lte": "2023-12-18T20:33:43.003Z"}}}, {"query_string": {"query": "aravind", "default_operator": "AND"}}]}}}}, "aggs": {"bucket_aggs": {"terms": {"field": "name", "size": 50, "min_doc_count": 1}, "aggs": {"bucket_aggs": {"terms": {"field": "group", "size": 50, "min_doc_count": 1}, "aggs": {}}}}}, "_source": {"includes": ["@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:36:45.533504Z", "lte": "2024-01-11T14:37:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:36:45.533504Z", "lte": "2024-01-11T14:37:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:38:39.539399Z", - "to": "2024-01-11T14:38:39.539431Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:38:39.539399Z", - "to": "2024-01-11T14:38:39.539431Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:37:45.533504Z", "lte": "2024-01-11T14:38:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:37:45.533504Z", "lte": "2024-01-11T14:38:45.533504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:45.533504Z", "lte": "2024-01-11T14:38:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:45.533504Z", "lte": "2024-01-11T14:38:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:39:39.538856Z", - "to": "2024-01-11T14:39:39.538890Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:39:39.538856Z", - "to": "2024-01-11T14:39:39.538890Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:49.254835Z", "lte": "2024-01-11T14:39:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:38:49.254835Z", "lte": "2024-01-11T14:39:49.254835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:49.254835Z", "lte": "2024-01-11T14:39:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:49.254835Z", "lte": "2024-01-11T14:39:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:40:39.538369Z", - "to": "2024-01-11T14:40:39.538410Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:40:39.538369Z", - "to": "2024-01-11T14:40:39.538410Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:52.952154Z", "lte": "2024-01-11T14:40:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:39:52.952154Z", "lte": "2024-01-11T14:40:52.952154Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:52.952154Z", "lte": "2024-01-11T14:40:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:52.952154Z", "lte": "2024-01-11T14:40:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:41:39.537018Z", - "to": "2024-01-11T14:41:39.537045Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:41:39.537018Z", - "to": "2024-01-11T14:41:39.537045Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:56.187405Z", "lte": "2024-01-11T14:41:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:40:56.187405Z", "lte": "2024-01-11T14:41:56.187405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:41:56.187405Z", "lte": "2024-01-11T14:42:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:41:56.187405Z", "lte": "2024-01-11T14:42:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:42:39.538731Z", - "to": "2024-01-11T14:42:39.538757Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:42:39.538731Z", - "to": "2024-01-11T14:42:39.538757Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:42:00.848468Z", "lte": "2024-01-11T14:43:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:42:00.848468Z", "lte": "2024-01-11T14:43:00.848468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:00.848468Z", "lte": "2024-01-11T14:43:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:00.848468Z", "lte": "2024-01-11T14:43:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:43:39.539090Z", - "to": "2024-01-11T14:43:39.539131Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:43:39.539090Z", - "to": "2024-01-11T14:43:39.539131Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:01.094506Z", "lte": "2024-01-11T14:44:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:43:01.094506Z", "lte": "2024-01-11T14:44:01.094506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:01.094506Z", "lte": "2024-01-11T14:44:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:01.094506Z", "lte": "2024-01-11T14:44:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:44:39.542069Z", - "to": "2024-01-11T14:44:39.542096Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:44:39.542069Z", - "to": "2024-01-11T14:44:39.542096Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:02.057462Z", "lte": "2024-01-11T14:45:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:44:02.057462Z", "lte": "2024-01-11T14:45:02.057462Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.057462Z", "lte": "2024-01-11T14:45:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.057462Z", "lte": "2024-01-11T14:45:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:45:39.541554Z", - "to": "2024-01-11T14:45:39.541575Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:45:39.541554Z", - "to": "2024-01-11T14:45:39.541575Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.454308Z", "lte": "2024-01-11T14:46:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:45:02.454308Z", "lte": "2024-01-11T14:46:02.454308Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:02.454308Z", "lte": "2024-01-11T14:46:04.912114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:02.454308Z", "lte": "2024-01-11T14:46:04.912114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:46:39.542227Z", - "to": "2024-01-11T14:46:39.542264Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:46:39.542227Z", - "to": "2024-01-11T14:46:39.542264Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:06.543147Z", "lte": "2024-01-11T14:47:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:46:06.543147Z", "lte": "2024-01-11T14:47:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:48:06.546330Z", - "to": "2024-01-11T14:48:06.546363Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:48:06.546330Z", - "to": "2024-01-11T14:48:06.546363Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:47:06.543147Z", "lte": "2024-01-11T14:48:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:47:06.543147Z", "lte": "2024-01-11T14:48:06.543147Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:06.543147Z", "lte": "2024-01-11T14:48:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:06.543147Z", "lte": "2024-01-11T14:48:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:49:06.544524Z", - "to": "2024-01-11T14:49:06.544550Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:49:06.544524Z", - "to": "2024-01-11T14:49:06.544550Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:11.004423Z", "lte": "2024-01-11T14:49:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:48:11.004423Z", "lte": "2024-01-11T14:49:11.004423Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:11.004423Z", "lte": "2024-01-11T14:49:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:11.004423Z", "lte": "2024-01-11T14:49:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:50:06.547092Z", - "to": "2024-01-11T14:50:06.547135Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:50:06.547092Z", - "to": "2024-01-11T14:50:06.547135Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:15.128860Z", "lte": "2024-01-11T14:50:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:49:15.128860Z", "lte": "2024-01-11T14:50:15.128860Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.128860Z", "lte": "2024-01-11T14:50:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.128860Z", "lte": "2024-01-11T14:50:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:51:06.544352Z", - "to": "2024-01-11T14:51:06.544375Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:51:06.544352Z", - "to": "2024-01-11T14:51:06.544375Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.881643Z", "lte": "2024-01-11T14:51:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:50:15.881643Z", "lte": "2024-01-11T14:51:15.881643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:15.881643Z", "lte": "2024-01-11T14:51:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:15.881643Z", "lte": "2024-01-11T14:51:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:52:06.565977Z", - "to": "2024-01-11T14:52:06.565998Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:52:06.565977Z", - "to": "2024-01-11T14:52:06.565998Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:19.169525Z", "lte": "2024-01-11T14:52:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:51:19.169525Z", "lte": "2024-01-11T14:52:19.169525Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:19.169525Z", "lte": "2024-01-11T14:52:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:19.169525Z", "lte": "2024-01-11T14:52:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:53:06.548656Z", - "to": "2024-01-11T14:53:06.548678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:53:06.548656Z", - "to": "2024-01-11T14:53:06.548678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:21.316850Z", "lte": "2024-01-11T14:53:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:52:21.316850Z", "lte": "2024-01-11T14:53:21.316850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:21.316850Z", "lte": "2024-01-11T14:53:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:21.316850Z", "lte": "2024-01-11T14:53:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:54:06.549254Z", - "to": "2024-01-11T14:54:06.549277Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:54:06.549254Z", - "to": "2024-01-11T14:54:06.549277Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:23.625239Z", "lte": "2024-01-11T14:54:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:53:23.625239Z", "lte": "2024-01-11T14:54:23.625239Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:23.625239Z", "lte": "2024-01-11T14:54:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:23.625239Z", "lte": "2024-01-11T14:54:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:55:06.549494Z", - "to": "2024-01-11T14:55:06.549533Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:55:06.549494Z", - "to": "2024-01-11T14:55:06.549533Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:28.317944Z", "lte": "2024-01-11T14:55:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:54:28.317944Z", "lte": "2024-01-11T14:55:28.317944Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:28.317944Z", "lte": "2024-01-11T14:55:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:28.317944Z", "lte": "2024-01-11T14:55:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:56:06.548059Z", - "to": "2024-01-11T14:56:06.548090Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:56:06.548059Z", - "to": "2024-01-11T14:56:06.548090Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:31.778354Z", "lte": "2024-01-11T14:56:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:55:31.778354Z", "lte": "2024-01-11T14:56:31.778354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:31.778354Z", "lte": "2024-01-11T14:56:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:31.778354Z", "lte": "2024-01-11T14:56:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:57:06.544871Z", - "to": "2024-01-11T14:57:06.544891Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:57:06.544871Z", - "to": "2024-01-11T14:57:06.544891Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:35.255831Z", "lte": "2024-01-11T14:57:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:56:35.255831Z", "lte": "2024-01-11T14:57:35.255831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:35.255831Z", "lte": "2024-01-11T14:57:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:35.255831Z", "lte": "2024-01-11T14:57:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:58:06.548400Z", - "to": "2024-01-11T14:58:06.548429Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:58:06.548400Z", - "to": "2024-01-11T14:58:06.548429Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:39.838620Z", "lte": "2024-01-11T14:58:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:57:39.838620Z", "lte": "2024-01-11T14:58:39.838620Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:39.838620Z", "lte": "2024-01-11T14:58:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:39.838620Z", "lte": "2024-01-11T14:58:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:59:06.545469Z", - "to": "2024-01-11T14:59:06.545490Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T14:59:06.545469Z", - "to": "2024-01-11T14:59:06.545490Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:41.278979Z", "lte": "2024-01-11T14:59:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:58:41.278979Z", "lte": "2024-01-11T14:59:41.278979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:41.278979Z", "lte": "2024-01-11T14:59:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:41.278979Z", "lte": "2024-01-11T14:59:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:00:06.547641Z", - "to": "2024-01-11T15:00:06.547670Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:00:06.547641Z", - "to": "2024-01-11T15:00:06.547670Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:46.266810Z", "lte": "2024-01-11T15:00:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T14:59:46.266810Z", "lte": "2024-01-11T15:00:46.266810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:46.266810Z", "lte": "2024-01-11T15:00:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:46.266810Z", "lte": "2024-01-11T15:00:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:01:06.547767Z", - "to": "2024-01-11T15:01:06.547785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:01:06.547767Z", - "to": "2024-01-11T15:01:06.547785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:47.485740Z", "lte": "2024-01-11T15:01:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:00:47.485740Z", "lte": "2024-01-11T15:01:47.485740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:47.485740Z", "lte": "2024-01-11T15:01:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:47.485740Z", "lte": "2024-01-11T15:01:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:02:06.546405Z", - "to": "2024-01-11T15:02:06.546423Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:02:06.546405Z", - "to": "2024-01-11T15:02:06.546423Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:50.383687Z", "lte": "2024-01-11T15:02:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:01:50.383687Z", "lte": "2024-01-11T15:02:50.383687Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:50.383687Z", "lte": "2024-01-11T15:02:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:50.383687Z", "lte": "2024-01-11T15:02:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:03:06.551155Z", - "to": "2024-01-11T15:03:06.551187Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:03:06.551155Z", - "to": "2024-01-11T15:03:06.551187Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:51.291020Z", "lte": "2024-01-11T15:03:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:02:51.291020Z", "lte": "2024-01-11T15:03:51.291020Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:51.291020Z", "lte": "2024-01-11T15:03:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:51.291020Z", "lte": "2024-01-11T15:03:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:04:06.548353Z", - "to": "2024-01-11T15:04:06.548373Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:04:06.548353Z", - "to": "2024-01-11T15:04:06.548373Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:54.085105Z", "lte": "2024-01-11T15:04:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:03:54.085105Z", "lte": "2024-01-11T15:04:54.085105Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:54.085105Z", "lte": "2024-01-11T15:04:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:54.085105Z", "lte": "2024-01-11T15:04:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:05:06.548437Z", - "to": "2024-01-11T15:05:06.548456Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:05:06.548437Z", - "to": "2024-01-11T15:05:06.548456Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:57.128644Z", "lte": "2024-01-11T15:05:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:04:57.128644Z", "lte": "2024-01-11T15:05:57.128644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:57.128644Z", "lte": "2024-01-11T15:05:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:57.128644Z", "lte": "2024-01-11T15:05:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:06:06.547613Z", - "to": "2024-01-11T15:06:06.547641Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:06:06.547613Z", - "to": "2024-01-11T15:06:06.547641Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:58.259811Z", "lte": "2024-01-11T15:06:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:05:58.259811Z", "lte": "2024-01-11T15:06:58.259811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:06:58.259811Z", "lte": "2024-01-11T15:07:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:06:58.259811Z", "lte": "2024-01-11T15:07:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:07:06.548571Z", - "to": "2024-01-11T15:07:06.548590Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:07:06.548571Z", - "to": "2024-01-11T15:07:06.548590Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:08:06.552107Z", - "to": "2024-01-11T15:08:06.552136Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:08:06.552107Z", - "to": "2024-01-11T15:08:06.552136Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:07:01.863476Z", "lte": "2024-01-11T15:08:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:07:01.863476Z", "lte": "2024-01-11T15:08:01.863476Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:01.863476Z", "lte": "2024-01-11T15:08:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:01.863476Z", "lte": "2024-01-11T15:08:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:09:06.554091Z", - "to": "2024-01-11T15:09:06.554115Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:09:06.554091Z", - "to": "2024-01-11T15:09:06.554115Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:06.698139Z", "lte": "2024-01-11T15:09:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:08:06.698139Z", "lte": "2024-01-11T15:09:06.698139Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:06.698139Z", "lte": "2024-01-11T15:09:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:06.698139Z", "lte": "2024-01-11T15:09:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:10:06.550012Z", - "to": "2024-01-11T15:10:06.550033Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:10:06.550012Z", - "to": "2024-01-11T15:10:06.550033Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:08.701311Z", "lte": "2024-01-11T15:10:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:09:08.701311Z", "lte": "2024-01-11T15:10:08.701311Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:08.701311Z", "lte": "2024-01-11T15:10:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:08.701311Z", "lte": "2024-01-11T15:10:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:11:06.553462Z", - "to": "2024-01-11T15:11:06.553500Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:11:06.553462Z", - "to": "2024-01-11T15:11:06.553500Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:11.279419Z", "lte": "2024-01-11T15:11:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:10:11.279419Z", "lte": "2024-01-11T15:11:11.279419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:11.279419Z", "lte": "2024-01-11T15:11:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:11.279419Z", "lte": "2024-01-11T15:11:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:12:06.552549Z", - "to": "2024-01-11T15:12:06.552572Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:12:06.552549Z", - "to": "2024-01-11T15:12:06.552572Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:15.133323Z", "lte": "2024-01-11T15:12:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:11:15.133323Z", "lte": "2024-01-11T15:12:15.133323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.133323Z", "lte": "2024-01-11T15:12:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.133323Z", "lte": "2024-01-11T15:12:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:13:06.552084Z", - "to": "2024-01-11T15:13:06.552105Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:13:06.552084Z", - "to": "2024-01-11T15:13:06.552105Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.322002Z", "lte": "2024-01-11T15:13:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:12:15.322002Z", "lte": "2024-01-11T15:13:15.322002Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.322002Z", "lte": "2024-01-11T15:13:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.322002Z", "lte": "2024-01-11T15:13:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:14:06.552389Z", - "to": "2024-01-11T15:14:06.552423Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:14:06.552389Z", - "to": "2024-01-11T15:14:06.552423Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.834694Z", "lte": "2024-01-11T15:14:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:13:15.834694Z", "lte": "2024-01-11T15:14:15.834694Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:15.834694Z", "lte": "2024-01-11T15:14:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:15.834694Z", "lte": "2024-01-11T15:14:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:15:06.552623Z", - "to": "2024-01-11T15:15:06.552645Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:15:06.552623Z", - "to": "2024-01-11T15:15:06.552645Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:18.401112Z", "lte": "2024-01-11T15:15:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:14:18.401112Z", "lte": "2024-01-11T15:15:18.401112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:18.401112Z", "lte": "2024-01-11T15:15:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:18.401112Z", "lte": "2024-01-11T15:15:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:16:06.553565Z", - "to": "2024-01-11T15:16:06.553588Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:16:06.553565Z", - "to": "2024-01-11T15:16:06.553588Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:20.476314Z", "lte": "2024-01-11T15:16:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:15:20.476314Z", "lte": "2024-01-11T15:16:20.476314Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:20.476314Z", "lte": "2024-01-11T15:16:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:20.476314Z", "lte": "2024-01-11T15:16:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:17:06.553988Z", - "to": "2024-01-11T15:17:06.554008Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:17:06.553988Z", - "to": "2024-01-11T15:17:06.554008Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:21.882945Z", "lte": "2024-01-11T15:17:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:16:21.882945Z", "lte": "2024-01-11T15:17:21.882945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:21.882945Z", "lte": "2024-01-11T15:17:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:21.882945Z", "lte": "2024-01-11T15:17:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:18:06.548179Z", - "to": "2024-01-11T15:18:06.548201Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:18:06.548179Z", - "to": "2024-01-11T15:18:06.548201Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:25.055939Z", "lte": "2024-01-11T15:18:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:17:25.055939Z", "lte": "2024-01-11T15:18:25.055939Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:25.055939Z", "lte": "2024-01-11T15:18:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:25.055939Z", "lte": "2024-01-11T15:18:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:19:06.545118Z", - "to": "2024-01-11T15:19:06.545157Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:19:06.545118Z", - "to": "2024-01-11T15:19:06.545157Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:26.515109Z", "lte": "2024-01-11T15:19:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:18:26.515109Z", "lte": "2024-01-11T15:19:26.515109Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:26.515109Z", "lte": "2024-01-11T15:19:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:26.515109Z", "lte": "2024-01-11T15:19:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:20:06.548728Z", - "to": "2024-01-11T15:20:06.548754Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:20:06.548728Z", - "to": "2024-01-11T15:20:06.548754Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:28.040639Z", "lte": "2024-01-11T15:20:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:19:28.040639Z", "lte": "2024-01-11T15:20:28.040639Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:28.040639Z", "lte": "2024-01-11T15:20:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:28.040639Z", "lte": "2024-01-11T15:20:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:21:06.546260Z", - "to": "2024-01-11T15:21:06.546288Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:21:06.546260Z", - "to": "2024-01-11T15:21:06.546288Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:30.448304Z", "lte": "2024-01-11T15:21:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:20:30.448304Z", "lte": "2024-01-11T15:21:30.448304Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:30.448304Z", "lte": "2024-01-11T15:21:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:30.448304Z", "lte": "2024-01-11T15:21:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:22:06.547727Z", - "to": "2024-01-11T15:22:06.547757Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:22:06.547727Z", - "to": "2024-01-11T15:22:06.547757Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:31.338494Z", "lte": "2024-01-11T15:22:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:21:31.338494Z", "lte": "2024-01-11T15:22:31.338494Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:22:31.338494Z", "lte": "2024-01-11T15:22:33.115558Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-11T15:22:31.338494Z", "lte": "2024-01-11T15:22:33.115558Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:23:06.545417Z", - "to": "2024-01-11T15:23:06.545439Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-09T15:23:06.545417Z", - "to": "2024-01-11T15:23:06.545439Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:17:09.650346Z", "lte": "2024-01-12T06:18:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:17:09.650346Z", "lte": "2024-01-12T06:18:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:19:08.654158Z", - "to": "2024-01-12T06:19:08.654225Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:19:08.654158Z", - "to": "2024-01-12T06:19:08.654225Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:18:09.650346Z", "lte": "2024-01-12T06:19:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:18:09.650346Z", "lte": "2024-01-12T06:19:09.650346Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:09.650346Z", "lte": "2024-01-12T06:19:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:09.650346Z", "lte": "2024-01-12T06:19:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:20:08.651070Z", - "to": "2024-01-12T06:20:08.651089Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:20:08.651070Z", - "to": "2024-01-12T06:20:08.651089Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:12.243279Z", "lte": "2024-01-12T06:20:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:19:12.243279Z", "lte": "2024-01-12T06:20:12.243279Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:12.243279Z", "lte": "2024-01-12T06:20:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:12.243279Z", "lte": "2024-01-12T06:20:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:21:08.653824Z", - "to": "2024-01-12T06:21:08.653865Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:21:08.653824Z", - "to": "2024-01-12T06:21:08.653865Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:13.106722Z", "lte": "2024-01-12T06:21:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:20:13.106722Z", "lte": "2024-01-12T06:21:13.106722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:13.106722Z", "lte": "2024-01-12T06:21:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:13.106722Z", "lte": "2024-01-12T06:21:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:22:08.652110Z", - "to": "2024-01-12T06:22:08.652135Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:22:08.652110Z", - "to": "2024-01-12T06:22:08.652135Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:17.911965Z", "lte": "2024-01-12T06:22:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:17.911965Z", "lte": "2024-01-12T06:22:17.911965Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:17.911965Z", "lte": "2024-01-12T06:22:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:17.911965Z", "lte": "2024-01-12T06:22:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:23:08.650190Z", - "to": "2024-01-12T06:23:08.650209Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:23:08.650190Z", - "to": "2024-01-12T06:23:08.650209Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:22.085296Z", "lte": "2024-01-12T06:23:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:22.085296Z", "lte": "2024-01-12T06:23:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:22.085296Z", "lte": "2024-01-12T06:23:25.321995Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:22.085296Z", "lte": "2024-01-12T06:23:25.321995Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 50, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bcd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bcd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bvscd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "bvscd"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dfg"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dfg"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dsds"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:22.085296Z", "lte": "2024-01-12T06:33:22.085296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}, {"term": {"wc": "dsds"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:24:08.650365Z", - "to": "2024-01-12T06:24:08.650392Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:24:08.650365Z", - "to": "2024-01-12T06:24:08.650392Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:27.846475Z", "lte": "2024-01-12T06:36:27.846475Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:21:27.846475Z", "lte": "2024-01-12T06:36:27.846475Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:09.831Z", "lte": "2024-01-12T06:33:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:08:09.831Z", "lte": "2024-01-12T06:33:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:37:15.847264Z", - "to": "2024-01-12T06:37:15.847303Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:37:15.847264Z", - "to": "2024-01-12T06:37:15.847303Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:29.735123Z", "lte": "2024-01-12T06:37:29.735123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:22:29.735123Z", "lte": "2024-01-12T06:37:29.735123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:38:15.845713Z", - "to": "2024-01-12T06:38:15.845754Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-10T06:38:15.845713Z", - "to": "2024-01-12T06:38:15.845754Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:29.874810Z", "lte": "2024-01-12T06:38:29.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:29.874810Z", "lte": "2024-01-12T06:38:29.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:09.831Z", "lte": "2024-01-12T06:48:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-12T06:23:09.831Z", "lte": "2024-01-12T06:48:09.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:17:16.355790Z", "lte": "2024-01-17T07:32:16.355790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:17:16.355790Z", "lte": "2024-01-17T07:32:16.355790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:32:16.523358Z", - "endtime": "2024-01-17T07:32:16.355790Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:17:16.355790Z", - "time_taken": 0.16752004623413086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:32:16.523358Z", - "endtime": "2024-01-17T07:32:16.355790Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:17:16.355790Z", - "time_taken": 0.16752004623413086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:19:44.618960Z", "lte": "2024-01-17T07:34:44.618960Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:19:44.618960Z", "lte": "2024-01-17T07:34:44.618960Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:34:44.673559Z", - "endtime": "2024-01-17T07:34:44.618960Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:19:44.618960Z", - "time_taken": 0.05451178550720215 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:34:44.673559Z", - "endtime": "2024-01-17T07:34:44.618960Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:19:44.618960Z", - "time_taken": 0.05451178550720215 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:21:37.443356Z", "lte": "2024-01-17T07:36:37.443356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:21:37.443356Z", "lte": "2024-01-17T07:36:37.443356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:36:37.474684Z", - "endtime": "2024-01-17T07:36:37.443356Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:21:37.443356Z", - "time_taken": 0.031248092651367188 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:36:37.474684Z", - "endtime": "2024-01-17T07:36:37.443356Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:21:37.443356Z", - "time_taken": 0.031248092651367188 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:37:30.451306Z", - "to": "2024-01-17T07:37:30.451340Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:37:30.451306Z", - "to": "2024-01-17T07:37:30.451340Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:22:40.411420Z", "lte": "2024-01-17T07:37:40.411420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:22:40.411420Z", "lte": "2024-01-17T07:37:40.411420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:37:40.421681Z", - "endtime": "2024-01-17T07:37:40.411420Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:22:40.411420Z", - "time_taken": 0.010202169418334961 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:37:40.421681Z", - "endtime": "2024-01-17T07:37:40.411420Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:22:40.411420Z", - "time_taken": 0.010202169418334961 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:38:30.457326Z", - "to": "2024-01-17T07:38:30.457658Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:38:30.457326Z", - "to": "2024-01-17T07:38:30.457658Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:23:45.145369Z", "lte": "2024-01-17T07:38:45.145369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:23:45.145369Z", "lte": "2024-01-17T07:38:45.145369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:38:45.157665Z", - "endtime": "2024-01-17T07:38:45.145369Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:23:45.145369Z", - "time_taken": 0.011780977249145508 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:38:45.157665Z", - "endtime": "2024-01-17T07:38:45.145369Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:23:45.145369Z", - "time_taken": 0.011780977249145508 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:39:30.450510Z", - "to": "2024-01-17T07:39:30.450532Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:39:30.450510Z", - "to": "2024-01-17T07:39:30.450532Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:24:45.645614Z", "lte": "2024-01-17T07:39:45.645614Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:24:45.645614Z", "lte": "2024-01-17T07:39:45.645614Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:39:45.656045Z", - "endtime": "2024-01-17T07:39:45.645614Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:24:45.645614Z", - "time_taken": 0.010371923446655273 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:39:45.656045Z", - "endtime": "2024-01-17T07:39:45.645614Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:24:45.645614Z", - "time_taken": 0.010371923446655273 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:40:30.447963Z", - "to": "2024-01-17T07:40:30.447996Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:40:30.447963Z", - "to": "2024-01-17T07:40:30.447996Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:25:49.862420Z", "lte": "2024-01-17T07:40:49.862420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:25:49.862420Z", "lte": "2024-01-17T07:40:49.862420Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:40:49.872914Z", - "endtime": "2024-01-17T07:40:49.862420Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:25:49.862420Z", - "time_taken": 0.010453939437866211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:40:49.872914Z", - "endtime": "2024-01-17T07:40:49.862420Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:25:49.862420Z", - "time_taken": 0.010453939437866211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:41:30.446394Z", - "to": "2024-01-17T07:41:30.446432Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:41:30.446394Z", - "to": "2024-01-17T07:41:30.446432Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:26:50.927280Z", "lte": "2024-01-17T07:41:50.927280Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:26:50.927280Z", "lte": "2024-01-17T07:41:50.927280Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:41:50.941985Z", - "endtime": "2024-01-17T07:41:50.927280Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:26:50.927280Z", - "time_taken": 0.014663934707641602 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:41:50.941985Z", - "endtime": "2024-01-17T07:41:50.927280Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:26:50.927280Z", - "time_taken": 0.014663934707641602 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:42:30.449554Z", - "to": "2024-01-17T07:42:30.449582Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:42:30.449554Z", - "to": "2024-01-17T07:42:30.449582Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:27:51.124603Z", "lte": "2024-01-17T07:42:51.124603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:27:51.124603Z", "lte": "2024-01-17T07:42:51.124603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:42:51.135602Z", - "endtime": "2024-01-17T07:42:51.124603Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:27:51.124603Z", - "time_taken": 0.010918140411376953 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:42:51.135602Z", - "endtime": "2024-01-17T07:42:51.124603Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:27:51.124603Z", - "time_taken": 0.010918140411376953 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:43:30.450802Z", - "to": "2024-01-17T07:43:30.450827Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:43:30.450802Z", - "to": "2024-01-17T07:43:30.450827Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:28:51.610275Z", "lte": "2024-01-17T07:43:51.610275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:28:51.610275Z", "lte": "2024-01-17T07:43:51.610275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:43:51.620329Z", - "endtime": "2024-01-17T07:43:51.610275Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:28:51.610275Z", - "time_taken": 0.00999593734741211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:43:51.620329Z", - "endtime": "2024-01-17T07:43:51.610275Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:28:51.610275Z", - "time_taken": 0.00999593734741211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ - "@timestamp": "2024-01-17T07:45:37.996852Z", - "data": { - "rule": "freshdesk_sqs_retry_count_is_high" - }, - "message": "Error querying for last run: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)", - "traceback": [ - "Traceback (most recent call last):", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 819, in get_starttime", - " res = self.writeback_es.search(index=index, doc_type=\u0027elastalert_status\u0027,", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/utils.py\", line 76, in _wrapped", - " return func(*args, params=params, **kwargs)", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/__init__.py\", line 659, in search", - " return self.transport.perform_request(\u0027GET\u0027, _make_path(index,", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/transport.py\", line 318, in perform_request", - " status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py\", line 90, in perform_request", - " self._raise_error(response.status_code, raw_data)", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/base.py\", line 125, in _raise_error", - " raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)", - "elasticsearch.exceptions.NotFoundError: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)" - ] -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ - "@timestamp": "2024-01-17T07:45:37.996852Z", - "data": { - "rule": "freshdesk_sqs_retry_count_is_high" - }, - "message": "Error querying for last run: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)", - "traceback": [ - "Traceback (most recent call last):", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 819, in get_starttime", - " res = self.writeback_es.search(index=index, doc_type=\u0027elastalert_status\u0027,", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/utils.py\", line 76, in _wrapped", - " return func(*args, params=params, **kwargs)", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/client/__init__.py\", line 659, in search", - " return self.transport.perform_request(\u0027GET\u0027, _make_path(index,", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/transport.py\", line 318, in perform_request", - " status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py\", line 90, in perform_request", - " self._raise_error(response.status_code, raw_data)", - " File \"/Users/armusigumpula/.pyenv/versions/3.9.16/lib/python3.9/site-packages/elasticsearch/connection/base.py\", line 125, in _raise_error", - " raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)", - "elasticsearch.exceptions.NotFoundError: NotFoundError(404, \u0027index_not_found_exception\u0027, \u0027no such index\u0027)" - ] -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:30:37.973351Z", "lte": "2024-01-17T07:45:37.973351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "wc", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:30:37.973351Z", "lte": "2024-01-17T07:45:37.973351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "wc", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:45:39.885781Z", - "endtime": "2024-01-17T07:45:37.973351Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:30:37.973351Z", - "time_taken": 1.9123289585113525 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:45:39.885781Z", - "endtime": "2024-01-17T07:45:37.973351Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:30:37.973351Z", - "time_taken": 1.9123289585113525 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:47:34.305446Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:47:34.305446Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:47:34.328059Z", - "endtime": "2024-01-17T07:47:34.305446Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.022550106048583984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:47:34.328059Z", - "endtime": "2024-01-17T07:47:34.305446Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.022550106048583984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:48:21.313285Z", - "to": "2024-01-17T07:48:21.313324Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:48:21.313285Z", - "to": "2024-01-17T07:48:21.313324Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:48:37.054924Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:48:37.054924Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:48:37.062265Z", - "endtime": "2024-01-17T07:48:37.054924Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.007302045822143555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:48:37.062265Z", - "endtime": "2024-01-17T07:48:37.054924Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.007302045822143555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:49:21.310979Z", - "to": "2024-01-17T07:49:21.310997Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:49:21.310979Z", - "to": "2024-01-17T07:49:21.310997Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:49:38.728865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:49:38.728865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:49:38.736585Z", - "endtime": "2024-01-17T07:49:38.728865Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.007682085037231445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:49:38.736585Z", - "endtime": "2024-01-17T07:49:38.728865Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.007682085037231445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:50:21.310954Z", - "to": "2024-01-17T07:50:21.310994Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:50:21.310954Z", - "to": "2024-01-17T07:50:21.310994Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:50:42.633338Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:50:42.633338Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:50:42.642052Z", - "endtime": "2024-01-17T07:50:42.633338Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.00867009162902832 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:50:42.642052Z", - "endtime": "2024-01-17T07:50:42.633338Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.00867009162902832 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:51:21.307340Z", - "to": "2024-01-17T07:51:21.307361Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:51:21.307340Z", - "to": "2024-01-17T07:51:21.307361Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:51:45.673684Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:51:45.673684Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:51:45.681789Z", - "endtime": "2024-01-17T07:51:45.673684Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.008073091506958008 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:51:45.681789Z", - "endtime": "2024-01-17T07:51:45.673684Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.008073091506958008 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:52:21.312227Z", - "to": "2024-01-17T07:52:21.312250Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:52:21.312227Z", - "to": "2024-01-17T07:52:21.312250Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:52:47.348546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:52:47.348546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:52:47.356781Z", - "endtime": "2024-01-17T07:52:47.348546Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.008181095123291016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:52:47.356781Z", - "endtime": "2024-01-17T07:52:47.348546Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.008181095123291016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:53:21.308128Z", - "to": "2024-01-17T07:53:21.308154Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:53:21.308128Z", - "to": "2024-01-17T07:53:21.308154Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:53:47.604372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:53:47.604372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:53:47.616259Z", - "endtime": "2024-01-17T07:53:47.604372Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.01180887222290039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:53:47.616259Z", - "endtime": "2024-01-17T07:53:47.604372Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.01180887222290039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:54:21.311664Z", - "to": "2024-01-17T07:54:21.311692Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:54:21.311664Z", - "to": "2024-01-17T07:54:21.311692Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:54:51.825626Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:54:51.825626Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:54:51.833903Z", - "endtime": "2024-01-17T07:54:51.825626Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.008220911026000977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:54:51.833903Z", - "endtime": "2024-01-17T07:54:51.825626Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.008220911026000977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:55:21.309117Z", - "to": "2024-01-17T07:55:21.309163Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:55:21.309117Z", - "to": "2024-01-17T07:55:21.309163Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:55:55.349408Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:55:55.349408Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:55:55.361836Z", - "endtime": "2024-01-17T07:55:55.349408Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.012343645095825195 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:55:55.361836Z", - "endtime": "2024-01-17T07:55:55.349408Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.012343645095825195 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:56:21.310503Z", - "to": "2024-01-17T07:56:21.310527Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:56:21.310503Z", - "to": "2024-01-17T07:56:21.310527Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:56:59.003014Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:56:59.003014Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:56:59.011877Z", - "endtime": "2024-01-17T07:56:59.003014Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.00880885124206543 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:56:59.011877Z", - "endtime": "2024-01-17T07:56:59.003014Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.00880885124206543 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:57:21.308328Z", - "to": "2024-01-17T07:57:21.308368Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:57:21.308328Z", - "to": "2024-01-17T07:57:21.308368Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:57:59.282441Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:57:59.282441Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:57:59.292702Z", - "endtime": "2024-01-17T07:57:59.282441Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.010197162628173828 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:57:59.292702Z", - "endtime": "2024-01-17T07:57:59.282441Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.010197162628173828 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:58:21.314458Z", - "to": "2024-01-17T07:58:21.314505Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:58:21.314458Z", - "to": "2024-01-17T07:58:21.314505Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:59:03.003393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T07:59:03.003393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:59:03.012769Z", - "endtime": "2024-01-17T07:59:03.003393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.009324073791503906 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T07:59:03.012769Z", - "endtime": "2024-01-17T07:59:03.003393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.009324073791503906 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:59:21.311830Z", - "to": "2024-01-17T07:59:21.311867Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T07:59:21.311830Z", - "to": "2024-01-17T07:59:21.311867Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T08:00:04.768353Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:45:37.973351Z", "lte": "2024-01-17T08:00:04.768353Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:00:04.777087Z", - "endtime": "2024-01-17T08:00:04.768353Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.00870203971862793 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:00:04.777087Z", - "endtime": "2024-01-17T08:00:04.768353Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:45:37.973351Z", - "time_taken": 0.00870203971862793 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:00:21.310746Z", - "to": "2024-01-17T08:00:21.310784Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:00:21.310746Z", - "to": "2024-01-17T08:00:21.310784Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:46:07.123196Z", "lte": "2024-01-17T08:01:07.123196Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:46:07.123196Z", "lte": "2024-01-17T08:01:07.123196Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:01:07.132617Z", - "endtime": "2024-01-17T08:01:07.123196Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:46:07.123196Z", - "time_taken": 0.009366989135742188 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:01:07.132617Z", - "endtime": "2024-01-17T08:01:07.123196Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:46:07.123196Z", - "time_taken": 0.009366989135742188 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:01:21.316097Z", - "to": "2024-01-17T08:01:21.316136Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:01:21.316097Z", - "to": "2024-01-17T08:01:21.316136Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:47:07.626747Z", "lte": "2024-01-17T08:02:07.626747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:47:07.626747Z", "lte": "2024-01-17T08:02:07.626747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:02:07.637357Z", - "endtime": "2024-01-17T08:02:07.626747Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:47:07.626747Z", - "time_taken": 0.010554790496826172 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:02:07.637357Z", - "endtime": "2024-01-17T08:02:07.626747Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:47:07.626747Z", - "time_taken": 0.010554790496826172 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:02:21.317780Z", - "to": "2024-01-17T08:02:21.317807Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:02:21.317780Z", - "to": "2024-01-17T08:02:21.317807Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:48:11.734651Z", "lte": "2024-01-17T08:03:11.734651Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:48:11.734651Z", "lte": "2024-01-17T08:03:11.734651Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:03:11.745819Z", - "endtime": "2024-01-17T08:03:11.734651Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:48:11.734651Z", - "time_taken": 0.01111292839050293 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:03:11.745819Z", - "endtime": "2024-01-17T08:03:11.734651Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:48:11.734651Z", - "time_taken": 0.01111292839050293 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:03:21.311292Z", - "to": "2024-01-17T08:03:21.311330Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:03:21.311292Z", - "to": "2024-01-17T08:03:21.311330Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:49:14.260653Z", "lte": "2024-01-17T08:04:14.260653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:49:14.260653Z", "lte": "2024-01-17T08:04:14.260653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:04:14.270561Z", - "endtime": "2024-01-17T08:04:14.260653Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:49:14.260653Z", - "time_taken": 0.00985097885131836 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:04:14.270561Z", - "endtime": "2024-01-17T08:04:14.260653Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:49:14.260653Z", - "time_taken": 0.00985097885131836 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:04:21.320187Z", - "to": "2024-01-17T08:04:21.320226Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:04:21.320187Z", - "to": "2024-01-17T08:04:21.320226Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:50:19.145099Z", "lte": "2024-01-17T08:05:19.145099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:50:19.145099Z", "lte": "2024-01-17T08:05:19.145099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:05:19.153708Z", - "endtime": "2024-01-17T08:05:19.145099Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:50:19.145099Z", - "time_taken": 0.008552789688110352 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:05:19.153708Z", - "endtime": "2024-01-17T08:05:19.145099Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:50:19.145099Z", - "time_taken": 0.008552789688110352 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:05:21.318146Z", - "to": "2024-01-17T08:05:21.318174Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:05:21.318146Z", - "to": "2024-01-17T08:05:21.318174Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:51:19.768195Z", "lte": "2024-01-17T08:06:19.768195Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:51:19.768195Z", "lte": "2024-01-17T08:06:19.768195Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:06:19.777270Z", - "endtime": "2024-01-17T08:06:19.768195Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:51:19.768195Z", - "time_taken": 0.00902104377746582 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:06:19.777270Z", - "endtime": "2024-01-17T08:06:19.768195Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:51:19.768195Z", - "time_taken": 0.00902104377746582 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:06:21.310140Z", - "to": "2024-01-17T08:06:21.310178Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:06:21.310140Z", - "to": "2024-01-17T08:06:21.310178Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:07:21.315610Z", - "to": "2024-01-17T08:07:21.315637Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:07:21.315610Z", - "to": "2024-01-17T08:07:21.315637Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:52:21.727505Z", "lte": "2024-01-17T08:07:21.727505Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:52:21.727505Z", "lte": "2024-01-17T08:07:21.727505Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:07:21.735661Z", - "endtime": "2024-01-17T08:07:21.727505Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:52:21.727505Z", - "time_taken": 0.008116006851196289 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:07:21.735661Z", - "endtime": "2024-01-17T08:07:21.727505Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:52:21.727505Z", - "time_taken": 0.008116006851196289 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:08:21.308686Z", - "to": "2024-01-17T08:08:21.308724Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:08:21.308686Z", - "to": "2024-01-17T08:08:21.308724Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:53:22.426949Z", "lte": "2024-01-17T08:08:22.426949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:53:22.426949Z", "lte": "2024-01-17T08:08:22.426949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:08:22.434774Z", - "endtime": "2024-01-17T08:08:22.426949Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:53:22.426949Z", - "time_taken": 0.007773160934448242 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:08:22.434774Z", - "endtime": "2024-01-17T08:08:22.426949Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:53:22.426949Z", - "time_taken": 0.007773160934448242 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:09:21.314139Z", - "to": "2024-01-17T08:09:21.314167Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:09:21.314139Z", - "to": "2024-01-17T08:09:21.314167Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:54:26.884771Z", "lte": "2024-01-17T08:09:26.884771Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:54:26.884771Z", "lte": "2024-01-17T08:09:26.884771Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:09:26.891511Z", - "endtime": "2024-01-17T08:09:26.884771Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:54:26.884771Z", - "time_taken": 0.006706953048706055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:09:26.891511Z", - "endtime": "2024-01-17T08:09:26.884771Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:54:26.884771Z", - "time_taken": 0.006706953048706055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:10:21.313815Z", - "to": "2024-01-17T08:10:21.313843Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:10:21.313815Z", - "to": "2024-01-17T08:10:21.313843Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:55:28.206484Z", "lte": "2024-01-17T08:10:28.206484Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:55:28.206484Z", "lte": "2024-01-17T08:10:28.206484Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:10:28.215727Z", - "endtime": "2024-01-17T08:10:28.206484Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:55:28.206484Z", - "time_taken": 0.009185075759887695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:10:28.215727Z", - "endtime": "2024-01-17T08:10:28.206484Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:55:28.206484Z", - "time_taken": 0.009185075759887695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:11:21.317580Z", - "to": "2024-01-17T08:11:21.317602Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:11:21.317580Z", - "to": "2024-01-17T08:11:21.317602Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:56:30.948169Z", "lte": "2024-01-17T08:11:30.948169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:56:30.948169Z", "lte": "2024-01-17T08:11:30.948169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:11:30.957513Z", - "endtime": "2024-01-17T08:11:30.948169Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:56:30.948169Z", - "time_taken": 0.009287118911743164 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:11:30.957513Z", - "endtime": "2024-01-17T08:11:30.948169Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:56:30.948169Z", - "time_taken": 0.009287118911743164 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:12:21.317046Z", - "to": "2024-01-17T08:12:21.317086Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:12:21.317046Z", - "to": "2024-01-17T08:12:21.317086Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:57:34.437865Z", "lte": "2024-01-17T08:12:34.437865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:57:34.437865Z", "lte": "2024-01-17T08:12:34.437865Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:12:34.445096Z", - "endtime": "2024-01-17T08:12:34.437865Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:57:34.437865Z", - "time_taken": 0.007192134857177734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:12:34.445096Z", - "endtime": "2024-01-17T08:12:34.437865Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:57:34.437865Z", - "time_taken": 0.007192134857177734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:13:21.315202Z", - "to": "2024-01-17T08:13:21.315230Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:13:21.315202Z", - "to": "2024-01-17T08:13:21.315230Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:58:36.198188Z", "lte": "2024-01-17T08:13:36.198188Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:58:36.198188Z", "lte": "2024-01-17T08:13:36.198188Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:13:36.208209Z", - "endtime": "2024-01-17T08:13:36.198188Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:58:36.198188Z", - "time_taken": 0.009957075119018555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:13:36.208209Z", - "endtime": "2024-01-17T08:13:36.198188Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:58:36.198188Z", - "time_taken": 0.009957075119018555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:14:21.312722Z", - "to": "2024-01-17T08:14:21.312760Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:14:21.312722Z", - "to": "2024-01-17T08:14:21.312760Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:59:36.992677Z", "lte": "2024-01-17T08:14:36.992677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T07:59:36.992677Z", "lte": "2024-01-17T08:14:36.992677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:14:37.000788Z", - "endtime": "2024-01-17T08:14:36.992677Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:59:36.992677Z", - "time_taken": 0.008054733276367188 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:14:37.000788Z", - "endtime": "2024-01-17T08:14:36.992677Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T07:59:36.992677Z", - "time_taken": 0.008054733276367188 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:15:21.316518Z", - "to": "2024-01-17T08:15:21.316544Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:15:21.316518Z", - "to": "2024-01-17T08:15:21.316544Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:00:37.055931Z", "lte": "2024-01-17T08:15:37.055931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:00:37.055931Z", "lte": "2024-01-17T08:15:37.055931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:15:37.064227Z", - "endtime": "2024-01-17T08:15:37.055931Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:00:37.055931Z", - "time_taken": 0.008260250091552734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:15:37.064227Z", - "endtime": "2024-01-17T08:15:37.055931Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:00:37.055931Z", - "time_taken": 0.008260250091552734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:16:21.310989Z", - "to": "2024-01-17T08:16:21.311029Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:16:21.310989Z", - "to": "2024-01-17T08:16:21.311029Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:01:40.347732Z", "lte": "2024-01-17T08:16:40.347732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:01:40.347732Z", "lte": "2024-01-17T08:16:40.347732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:16:40.355406Z", - "endtime": "2024-01-17T08:16:40.347732Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:01:40.347732Z", - "time_taken": 0.007621049880981445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:16:40.355406Z", - "endtime": "2024-01-17T08:16:40.347732Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:01:40.347732Z", - "time_taken": 0.007621049880981445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:17:21.317381Z", - "to": "2024-01-17T08:17:21.317407Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:17:21.317381Z", - "to": "2024-01-17T08:17:21.317407Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:02:41.002389Z", "lte": "2024-01-17T08:17:41.002389Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:02:41.002389Z", "lte": "2024-01-17T08:17:41.002389Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:17:41.012578Z", - "endtime": "2024-01-17T08:17:41.002389Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:02:41.002389Z", - "time_taken": 0.010132074356079102 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:17:41.012578Z", - "endtime": "2024-01-17T08:17:41.002389Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:02:41.002389Z", - "time_taken": 0.010132074356079102 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:18:21.311381Z", - "to": "2024-01-17T08:18:21.311421Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:18:21.311381Z", - "to": "2024-01-17T08:18:21.311421Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:03:41.192822Z", "lte": "2024-01-17T08:18:41.192822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:03:41.192822Z", "lte": "2024-01-17T08:18:41.192822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:18:41.200788Z", - "endtime": "2024-01-17T08:18:41.192822Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:03:41.192822Z", - "time_taken": 0.007910966873168945 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:18:41.200788Z", - "endtime": "2024-01-17T08:18:41.192822Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:03:41.192822Z", - "time_taken": 0.007910966873168945 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:19:21.311247Z", - "to": "2024-01-17T08:19:21.311287Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:19:21.311247Z", - "to": "2024-01-17T08:19:21.311287Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:04:44.679148Z", "lte": "2024-01-17T08:19:44.679148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:04:44.679148Z", "lte": "2024-01-17T08:19:44.679148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:19:44.688499Z", - "endtime": "2024-01-17T08:19:44.679148Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:04:44.679148Z", - "time_taken": 0.009243011474609375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:19:44.688499Z", - "endtime": "2024-01-17T08:19:44.679148Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:04:44.679148Z", - "time_taken": 0.009243011474609375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:20:21.313743Z", - "to": "2024-01-17T08:20:21.313783Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:20:21.313743Z", - "to": "2024-01-17T08:20:21.313783Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:05:44.707748Z", "lte": "2024-01-17T08:20:44.707748Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:05:44.707748Z", "lte": "2024-01-17T08:20:44.707748Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:20:44.716636Z", - "endtime": "2024-01-17T08:20:44.707748Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:05:44.707748Z", - "time_taken": 0.008831977844238281 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:20:44.716636Z", - "endtime": "2024-01-17T08:20:44.707748Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:05:44.707748Z", - "time_taken": 0.008831977844238281 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:21:21.314811Z", - "to": "2024-01-17T08:21:21.314849Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:21:21.314811Z", - "to": "2024-01-17T08:21:21.314849Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:06:45.400445Z", "lte": "2024-01-17T08:21:45.400445Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:06:45.400445Z", "lte": "2024-01-17T08:21:45.400445Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:21:45.406342Z", - "endtime": "2024-01-17T08:21:45.400445Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:06:45.400445Z", - "time_taken": 0.005871295928955078 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:21:45.406342Z", - "endtime": "2024-01-17T08:21:45.400445Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:06:45.400445Z", - "time_taken": 0.005871295928955078 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:22:21.310746Z", - "to": "2024-01-17T08:22:21.310785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:22:21.310746Z", - "to": "2024-01-17T08:22:21.310785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:07:46.086712Z", "lte": "2024-01-17T08:22:46.086712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:07:46.086712Z", "lte": "2024-01-17T08:22:46.086712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:22:46.093408Z", - "endtime": "2024-01-17T08:22:46.086712Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:07:46.086712Z", - "time_taken": 0.00666499137878418 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:22:46.093408Z", - "endtime": "2024-01-17T08:22:46.086712Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:07:46.086712Z", - "time_taken": 0.00666499137878418 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:23:21.317323Z", - "to": "2024-01-17T08:23:21.317363Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:23:21.317323Z", - "to": "2024-01-17T08:23:21.317363Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:08:48.317977Z", "lte": "2024-01-17T08:23:48.317977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:08:48.317977Z", "lte": "2024-01-17T08:23:48.317977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:23:48.326548Z", - "endtime": "2024-01-17T08:23:48.317977Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:08:48.317977Z", - "time_taken": 0.008538961410522461 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:23:48.326548Z", - "endtime": "2024-01-17T08:23:48.317977Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:08:48.317977Z", - "time_taken": 0.008538961410522461 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:24:21.317510Z", - "to": "2024-01-17T08:24:21.317548Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:24:21.317510Z", - "to": "2024-01-17T08:24:21.317548Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:09:50.430393Z", "lte": "2024-01-17T08:24:50.430393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:09:50.430393Z", "lte": "2024-01-17T08:24:50.430393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:24:50.438690Z", - "endtime": "2024-01-17T08:24:50.430393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:09:50.430393Z", - "time_taken": 0.008243799209594727 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:24:50.438690Z", - "endtime": "2024-01-17T08:24:50.430393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:09:50.430393Z", - "time_taken": 0.008243799209594727 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:25:21.311513Z", - "to": "2024-01-17T08:25:21.311554Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:25:21.311513Z", - "to": "2024-01-17T08:25:21.311554Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:10:54.136696Z", "lte": "2024-01-17T08:25:54.136696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:10:54.136696Z", "lte": "2024-01-17T08:25:54.136696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:25:54.145926Z", - "endtime": "2024-01-17T08:25:54.136696Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:10:54.136696Z", - "time_taken": 0.009176015853881836 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:25:54.145926Z", - "endtime": "2024-01-17T08:25:54.136696Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:10:54.136696Z", - "time_taken": 0.009176015853881836 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:26:21.308686Z", - "to": "2024-01-17T08:26:21.308725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:26:21.308686Z", - "to": "2024-01-17T08:26:21.308725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:11:58.586546Z", "lte": "2024-01-17T08:26:58.586546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:11:58.586546Z", "lte": "2024-01-17T08:26:58.586546Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:26:58.597007Z", - "endtime": "2024-01-17T08:26:58.586546Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:11:58.586546Z", - "time_taken": 0.010404109954833984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:26:58.597007Z", - "endtime": "2024-01-17T08:26:58.586546Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:11:58.586546Z", - "time_taken": 0.010404109954833984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:27:21.316570Z", - "to": "2024-01-17T08:27:21.316609Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:27:21.316570Z", - "to": "2024-01-17T08:27:21.316609Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:13:02.913788Z", "lte": "2024-01-17T08:28:02.913788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:13:02.913788Z", "lte": "2024-01-17T08:28:02.913788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:28:02.921688Z", - "endtime": "2024-01-17T08:28:02.913788Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:13:02.913788Z", - "time_taken": 0.007845878601074219 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:28:02.921688Z", - "endtime": "2024-01-17T08:28:02.913788Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:13:02.913788Z", - "time_taken": 0.007845878601074219 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:28:21.317491Z", - "to": "2024-01-17T08:28:21.317529Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:28:21.317491Z", - "to": "2024-01-17T08:28:21.317529Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:14:07.881270Z", "lte": "2024-01-17T08:29:07.881270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:14:07.881270Z", "lte": "2024-01-17T08:29:07.881270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:29:07.889203Z", - "endtime": "2024-01-17T08:29:07.881270Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:14:07.881270Z", - "time_taken": 0.007879257202148438 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:29:07.889203Z", - "endtime": "2024-01-17T08:29:07.881270Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:14:07.881270Z", - "time_taken": 0.007879257202148438 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:29:21.314448Z", - "to": "2024-01-17T08:29:21.314486Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:29:21.314448Z", - "to": "2024-01-17T08:29:21.314486Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:15:08.012530Z", "lte": "2024-01-17T08:30:08.012530Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:15:08.012530Z", "lte": "2024-01-17T08:30:08.012530Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:30:08.020376Z", - "endtime": "2024-01-17T08:30:08.012530Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:15:08.012530Z", - "time_taken": 0.007805824279785156 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:30:08.020376Z", - "endtime": "2024-01-17T08:30:08.012530Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:15:08.012530Z", - "time_taken": 0.007805824279785156 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:30:21.314230Z", - "to": "2024-01-17T08:30:21.314268Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:30:21.314230Z", - "to": "2024-01-17T08:30:21.314268Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:16:12.001238Z", "lte": "2024-01-17T08:31:12.001238Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:16:12.001238Z", "lte": "2024-01-17T08:31:12.001238Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:31:12.010467Z", - "endtime": "2024-01-17T08:31:12.001238Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:16:12.001238Z", - "time_taken": 0.009173154830932617 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:31:12.010467Z", - "endtime": "2024-01-17T08:31:12.001238Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:16:12.001238Z", - "time_taken": 0.009173154830932617 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:31:21.314387Z", - "to": "2024-01-17T08:31:21.314426Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:31:21.314387Z", - "to": "2024-01-17T08:31:21.314426Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:17:16.035856Z", "lte": "2024-01-17T08:32:16.035856Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:17:16.035856Z", "lte": "2024-01-17T08:32:16.035856Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:32:16.042851Z", - "endtime": "2024-01-17T08:32:16.035856Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:17:16.035856Z", - "time_taken": 0.006937742233276367 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:32:16.042851Z", - "endtime": "2024-01-17T08:32:16.035856Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:17:16.035856Z", - "time_taken": 0.006937742233276367 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:32:21.315481Z", - "to": "2024-01-17T08:32:21.315522Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:32:21.315481Z", - "to": "2024-01-17T08:32:21.315522Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:18:20.814566Z", "lte": "2024-01-17T08:33:20.814566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:18:20.814566Z", "lte": "2024-01-17T08:33:20.814566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:33:20.820849Z", - "endtime": "2024-01-17T08:33:20.814566Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:18:20.814566Z", - "time_taken": 0.006257057189941406 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:33:20.820849Z", - "endtime": "2024-01-17T08:33:20.814566Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:18:20.814566Z", - "time_taken": 0.006257057189941406 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:33:21.308798Z", - "to": "2024-01-17T08:33:21.308837Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:33:21.308798Z", - "to": "2024-01-17T08:33:21.308837Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:34:21.315616Z", - "to": "2024-01-17T08:34:21.315654Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:34:21.315616Z", - "to": "2024-01-17T08:34:21.315654Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:19:22.165788Z", "lte": "2024-01-17T08:34:22.165788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:19:22.165788Z", "lte": "2024-01-17T08:34:22.165788Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:34:22.173406Z", - "endtime": "2024-01-17T08:34:22.165788Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:19:22.165788Z", - "time_taken": 0.0075647830963134766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:34:22.173406Z", - "endtime": "2024-01-17T08:34:22.165788Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:19:22.165788Z", - "time_taken": 0.0075647830963134766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:35:21.368400Z", - "to": "2024-01-17T08:35:21.368439Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:35:21.368400Z", - "to": "2024-01-17T08:35:21.368439Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:20:26.372961Z", "lte": "2024-01-17T08:35:26.372961Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:20:26.372961Z", "lte": "2024-01-17T08:35:26.372961Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:35:26.380300Z", - "endtime": "2024-01-17T08:35:26.372961Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:20:26.372961Z", - "time_taken": 0.00728297233581543 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:35:26.380300Z", - "endtime": "2024-01-17T08:35:26.372961Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:20:26.372961Z", - "time_taken": 0.00728297233581543 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:36:21.308953Z", - "to": "2024-01-17T08:36:21.308991Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:36:21.308953Z", - "to": "2024-01-17T08:36:21.308991Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:21:26.713861Z", "lte": "2024-01-17T08:36:26.713861Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:21:26.713861Z", "lte": "2024-01-17T08:36:26.713861Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:36:26.722891Z", - "endtime": "2024-01-17T08:36:26.713861Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:21:26.713861Z", - "time_taken": 0.008974790573120117 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:36:26.722891Z", - "endtime": "2024-01-17T08:36:26.713861Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:21:26.713861Z", - "time_taken": 0.008974790573120117 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:37:21.308099Z", - "to": "2024-01-17T08:37:21.308139Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:37:21.308099Z", - "to": "2024-01-17T08:37:21.308139Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:22:27.481859Z", "lte": "2024-01-17T08:37:27.481859Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:22:27.481859Z", "lte": "2024-01-17T08:37:27.481859Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:37:27.489659Z", - "endtime": "2024-01-17T08:37:27.481859Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:22:27.481859Z", - "time_taken": 0.00774383544921875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:37:27.489659Z", - "endtime": "2024-01-17T08:37:27.481859Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:22:27.481859Z", - "time_taken": 0.00774383544921875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:38:21.310087Z", - "to": "2024-01-17T08:38:21.310125Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:38:21.310087Z", - "to": "2024-01-17T08:38:21.310125Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:23:30.257435Z", "lte": "2024-01-17T08:38:30.257435Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:23:30.257435Z", "lte": "2024-01-17T08:38:30.257435Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:38:30.264967Z", - "endtime": "2024-01-17T08:38:30.257435Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:23:30.257435Z", - "time_taken": 0.0074770450592041016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:38:30.264967Z", - "endtime": "2024-01-17T08:38:30.257435Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:23:30.257435Z", - "time_taken": 0.0074770450592041016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:39:21.317651Z", - "to": "2024-01-17T08:39:21.317689Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:39:21.317651Z", - "to": "2024-01-17T08:39:21.317689Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:24:33.625111Z", "lte": "2024-01-17T08:39:33.625111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:24:33.625111Z", "lte": "2024-01-17T08:39:33.625111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:39:33.632738Z", - "endtime": "2024-01-17T08:39:33.625111Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:24:33.625111Z", - "time_taken": 0.007572174072265625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:39:33.632738Z", - "endtime": "2024-01-17T08:39:33.625111Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:24:33.625111Z", - "time_taken": 0.007572174072265625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:40:21.313992Z", - "to": "2024-01-17T08:40:21.314031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:40:21.313992Z", - "to": "2024-01-17T08:40:21.314031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:25:34.538623Z", "lte": "2024-01-17T08:40:34.538623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:25:34.538623Z", "lte": "2024-01-17T08:40:34.538623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:40:34.545848Z", - "endtime": "2024-01-17T08:40:34.538623Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:25:34.538623Z", - "time_taken": 0.007170200347900391 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:40:34.545848Z", - "endtime": "2024-01-17T08:40:34.538623Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:25:34.538623Z", - "time_taken": 0.007170200347900391 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:41:21.316768Z", - "to": "2024-01-17T08:41:21.316808Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:41:21.316768Z", - "to": "2024-01-17T08:41:21.316808Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:26:37.918800Z", "lte": "2024-01-17T08:41:37.918800Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:26:37.918800Z", "lte": "2024-01-17T08:41:37.918800Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:41:37.926847Z", - "endtime": "2024-01-17T08:41:37.918800Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:26:37.918800Z", - "time_taken": 0.007992744445800781 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:41:37.926847Z", - "endtime": "2024-01-17T08:41:37.918800Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:26:37.918800Z", - "time_taken": 0.007992744445800781 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:42:21.317733Z", - "to": "2024-01-17T08:42:21.317771Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:42:21.317733Z", - "to": "2024-01-17T08:42:21.317771Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:27:38.701385Z", "lte": "2024-01-17T08:42:38.701385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:27:38.701385Z", "lte": "2024-01-17T08:42:38.701385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:42:38.708973Z", - "endtime": "2024-01-17T08:42:38.701385Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:27:38.701385Z", - "time_taken": 0.007533073425292969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:42:38.708973Z", - "endtime": "2024-01-17T08:42:38.701385Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:27:38.701385Z", - "time_taken": 0.007533073425292969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:43:21.317747Z", - "to": "2024-01-17T08:43:21.317785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:43:21.317747Z", - "to": "2024-01-17T08:43:21.317785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:28:43.319710Z", "lte": "2024-01-17T08:43:43.319710Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:28:43.319710Z", "lte": "2024-01-17T08:43:43.319710Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:43:43.328512Z", - "endtime": "2024-01-17T08:43:43.319710Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:28:43.319710Z", - "time_taken": 0.008746147155761719 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:43:43.328512Z", - "endtime": "2024-01-17T08:43:43.319710Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:28:43.319710Z", - "time_taken": 0.008746147155761719 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:44:21.312152Z", - "to": "2024-01-17T08:44:21.312191Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:44:21.312152Z", - "to": "2024-01-17T08:44:21.312191Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:29:44.561404Z", "lte": "2024-01-17T08:44:44.561404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:29:44.561404Z", "lte": "2024-01-17T08:44:44.561404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:44:44.571244Z", - "endtime": "2024-01-17T08:44:44.561404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:29:44.561404Z", - "time_taken": 0.009804010391235352 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:44:44.571244Z", - "endtime": "2024-01-17T08:44:44.561404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:29:44.561404Z", - "time_taken": 0.009804010391235352 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:45:21.312630Z", - "to": "2024-01-17T08:45:21.312670Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:45:21.312630Z", - "to": "2024-01-17T08:45:21.312670Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:30:44.802157Z", "lte": "2024-01-17T08:45:44.802157Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:30:44.802157Z", "lte": "2024-01-17T08:45:44.802157Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:45:44.809729Z", - "endtime": "2024-01-17T08:45:44.802157Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:30:44.802157Z", - "time_taken": 0.007544040679931641 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:45:44.809729Z", - "endtime": "2024-01-17T08:45:44.802157Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:30:44.802157Z", - "time_taken": 0.007544040679931641 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:46:21.311098Z", - "to": "2024-01-17T08:46:21.311137Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:46:21.311098Z", - "to": "2024-01-17T08:46:21.311137Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:31:48.780294Z", "lte": "2024-01-17T08:46:48.780294Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:31:48.780294Z", "lte": "2024-01-17T08:46:48.780294Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:46:48.788196Z", - "endtime": "2024-01-17T08:46:48.780294Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:31:48.780294Z", - "time_taken": 0.007847785949707031 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:46:48.788196Z", - "endtime": "2024-01-17T08:46:48.780294Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:31:48.780294Z", - "time_taken": 0.007847785949707031 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:47:21.307723Z", - "to": "2024-01-17T08:47:21.307749Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:47:21.307723Z", - "to": "2024-01-17T08:47:21.307749Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:32:52.720768Z", "lte": "2024-01-17T08:47:52.720768Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:32:52.720768Z", "lte": "2024-01-17T08:47:52.720768Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:47:52.729917Z", - "endtime": "2024-01-17T08:47:52.720768Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:32:52.720768Z", - "time_taken": 0.009093046188354492 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:47:52.729917Z", - "endtime": "2024-01-17T08:47:52.720768Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:32:52.720768Z", - "time_taken": 0.009093046188354492 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:48:21.312368Z", - "to": "2024-01-17T08:48:21.312411Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:48:21.312368Z", - "to": "2024-01-17T08:48:21.312411Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:33:54.175915Z", "lte": "2024-01-17T08:48:54.175915Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:33:54.175915Z", "lte": "2024-01-17T08:48:54.175915Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:48:54.217795Z", - "endtime": "2024-01-17T08:48:54.175915Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:33:54.175915Z", - "time_taken": 0.041821956634521484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:48:54.217795Z", - "endtime": "2024-01-17T08:48:54.175915Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:33:54.175915Z", - "time_taken": 0.041821956634521484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:49:21.309591Z", - "to": "2024-01-17T08:49:21.309632Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:49:21.309591Z", - "to": "2024-01-17T08:49:21.309632Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:34:54.809374Z", "lte": "2024-01-17T08:49:54.809374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:34:54.809374Z", "lte": "2024-01-17T08:49:54.809374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:49:54.818264Z", - "endtime": "2024-01-17T08:49:54.809374Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:34:54.809374Z", - "time_taken": 0.008834123611450195 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:49:54.818264Z", - "endtime": "2024-01-17T08:49:54.809374Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:34:54.809374Z", - "time_taken": 0.008834123611450195 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:50:21.311585Z", - "to": "2024-01-17T08:50:21.311612Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:50:21.311585Z", - "to": "2024-01-17T08:50:21.311612Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:37:13.471113Z", "lte": "2024-01-17T08:52:13.471113Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:37:13.471113Z", "lte": "2024-01-17T08:52:13.471113Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:52:13.493902Z", - "endtime": "2024-01-17T08:52:13.471113Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:37:13.471113Z", - "time_taken": 0.02267169952392578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:52:13.493902Z", - "endtime": "2024-01-17T08:52:13.471113Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:37:13.471113Z", - "time_taken": 0.02267169952392578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:53:12.474049Z", - "to": "2024-01-17T08:53:12.474078Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:53:12.474049Z", - "to": "2024-01-17T08:53:12.474078Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:38:13.726741Z", "lte": "2024-01-17T08:53:13.726741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:38:13.726741Z", "lte": "2024-01-17T08:53:13.726741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:53:13.733028Z", - "endtime": "2024-01-17T08:53:13.726741Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:38:13.726741Z", - "time_taken": 0.006258726119995117 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:53:13.733028Z", - "endtime": "2024-01-17T08:53:13.726741Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:38:13.726741Z", - "time_taken": 0.006258726119995117 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:54:12.472960Z", - "to": "2024-01-17T08:54:12.472988Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:54:12.472960Z", - "to": "2024-01-17T08:54:12.472988Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:14.975966Z", "lte": "2024-01-17T08:54:14.975966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:14.975966Z", "lte": "2024-01-17T08:54:14.975966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:54:15.045016Z", - "endtime": "2024-01-17T08:54:14.975966Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:39:14.975966Z", - "time_taken": 0.06899499893188477 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:54:15.045016Z", - "endtime": "2024-01-17T08:54:14.975966Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:39:14.975966Z", - "time_taken": 0.06899499893188477 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:55:12.473324Z", - "to": "2024-01-17T08:55:12.473348Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T08:55:12.473324Z", - "to": "2024-01-17T08:55:12.473348Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:15.721066Z", "lte": "2024-01-17T08:55:15.721066Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:15.721066Z", "lte": "2024-01-17T08:55:15.721066Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T08:55:15.741858Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T08:56:15.741843Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T08:55:15.741858Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T08:56:15.741843Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:37.831Z", "lte": "2024-01-17T09:04:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:39:37.831Z", "lte": "2024-01-17T09:04:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "@timestamp", "*"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ - "@timestamp": "2024-01-17T08:55:15.880357Z", - "data": { - "rule": "freshdesk_sqs_retry_count_is_high" - }, - "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: name \u0027response\u0027 is not defined", - "traceback": [ - "Traceback (most recent call last):", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", - " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", - " alert.alert(matches)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 86, in alert", - " response.raise_for_status()", - "NameError: name \u0027response\u0027 is not defined" - ] -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ - "@timestamp": "2024-01-17T08:55:15.880357Z", - "data": { - "rule": "freshdesk_sqs_retry_count_is_high" - }, - "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: name \u0027response\u0027 is not defined", - "traceback": [ - "Traceback (most recent call last):", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", - " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", - " alert.alert(matches)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 86, in alert", - " response.raise_for_status()", - "NameError: name \u0027response\u0027 is not defined" - ] -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:55:15.997969Z", - "endtime": "2024-01-17T08:55:15.721066Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:40:15.721066Z", - "time_taken": 0.27685022354125977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:55:15.997969Z", - "endtime": "2024-01-17T08:55:15.721066Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:40:15.721066Z", - "time_taken": 0.27685022354125977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:55:15.721066Z", "lte": "2024-01-17T08:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:55:15.721066Z", "lte": "2024-01-17T08:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T08:58:51.309381Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T08:59:51.309374Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T08:58:51.309381Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T08:59:51.309374Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:37.831Z", "lte": "2024-01-17T09:05:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:40:37.831Z", "lte": "2024-01-17T09:05:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T08:58:51.362780Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T08:58:51.354426Z", - "match_body": { - "@timestamp": "2024-01-17T08:55:37.831Z", - "_id": "zwmhFo0BKaace7fnKosu", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 4, - "num_matches": 4, - "top_events_wc": { - "bcd": 2, - "bvscd": 2, - "dfg": 2, - "dsds": 2 - }, - "wc": "dfg" - }, - "match_time": "2024-01-17T08:55:37.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T08:58:51.362780Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T08:58:51.354426Z", - "match_body": { - "@timestamp": "2024-01-17T08:55:37.831Z", - "_id": "zwmhFo0BKaace7fnKosu", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 4, - "num_matches": 4, - "top_events_wc": { - "bcd": 2, - "bvscd": 2, - "dfg": 2, - "dsds": 2 - }, - "wc": "dfg" - }, - "match_time": "2024-01-17T08:55:37.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:58:51.475647Z", - "endtime": "2024-01-17T08:58:51.271388Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:55:15.721066Z", - "time_taken": 0.20417189598083496 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T08:58:51.475647Z", - "endtime": "2024-01-17T08:58:51.271388Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:55:15.721066Z", - "time_taken": 0.20417189598083496 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:58:51.271388Z", "lte": "2024-01-17T09:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T08:58:51.271388Z", "lte": "2024-01-17T09:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:13:51.271388Z", "lte": "2024-01-17T09:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:13:51.271388Z", "lte": "2024-01-17T09:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:28:51.271388Z", "lte": "2024-01-17T09:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:28:51.271388Z", "lte": "2024-01-17T09:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:43:51.271388Z", "lte": "2024-01-17T09:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:43:51.271388Z", "lte": "2024-01-17T09:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:58:51.271388Z", "lte": "2024-01-17T10:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T09:58:51.271388Z", "lte": "2024-01-17T10:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:13:51.271388Z", "lte": "2024-01-17T10:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:13:51.271388Z", "lte": "2024-01-17T10:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:28:51.271388Z", "lte": "2024-01-17T10:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:28:51.271388Z", "lte": "2024-01-17T10:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:43:51.271388Z", "lte": "2024-01-17T10:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:43:51.271388Z", "lte": "2024-01-17T10:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:58:51.271388Z", "lte": "2024-01-17T11:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T10:58:51.271388Z", "lte": "2024-01-17T11:13:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:13:51.271388Z", "lte": "2024-01-17T11:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:13:51.271388Z", "lte": "2024-01-17T11:28:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:28:51.271388Z", "lte": "2024-01-17T11:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:28:51.271388Z", "lte": "2024-01-17T11:43:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:43:51.271388Z", "lte": "2024-01-17T11:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:43:51.271388Z", "lte": "2024-01-17T11:58:51.271388Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:51.271388Z", "lte": "2024-01-17T12:09:25.926780Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:51.271388Z", "lte": "2024-01-17T12:09:25.926780Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:09:26.115321Z", - "endtime": "2024-01-17T12:09:25.926780Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:58:51.271388Z", - "time_taken": 0.1884303092956543 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:09:26.115321Z", - "endtime": "2024-01-17T12:09:25.926780Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T08:58:51.271388Z", - "time_taken": 0.1884303092956543 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:10:14.933252Z", - "to": "2024-01-17T12:10:14.933281Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:10:14.933252Z", - "to": "2024-01-17T12:10:14.933281Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:55:27.384133Z", "lte": "2024-01-17T12:10:27.384133Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:55:27.384133Z", "lte": "2024-01-17T12:10:27.384133Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:10:27.393330Z", - "endtime": "2024-01-17T12:10:27.384133Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T11:55:27.384133Z", - "time_taken": 0.009157180786132812 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:10:27.393330Z", - "endtime": "2024-01-17T12:10:27.384133Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T11:55:27.384133Z", - "time_taken": 0.009157180786132812 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:11:14.932628Z", - "to": "2024-01-17T12:11:14.932667Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:11:14.932628Z", - "to": "2024-01-17T12:11:14.932667Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:56:28.225709Z", "lte": "2024-01-17T12:11:28.225709Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:56:28.225709Z", "lte": "2024-01-17T12:11:28.225709Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:11:28.267786Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:12:28.267779Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:11:28.267786Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:12:28.267779Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:45:37.831Z", "lte": "2024-01-17T12:10:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:45:37.831Z", "lte": "2024-01-17T12:10:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["*", "@timestamp", "wc"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ - "@timestamp": "2024-01-17T12:11:28.392545Z", - "data": { - "rule": "freshdesk_sqs_retry_count_is_high" - }, - "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: \u0027dict\u0027 object has no attribute \u0027labels\u0027", - "traceback": [ - "Traceback (most recent call last):", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", - " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", - " alert.alert(matches)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 65, in alert", - " payload.labels[\u0027alert_time\u0027]=matches[0][self.rule.get(\u0027timestamp_field\u0027)]", - "AttributeError: \u0027dict\u0027 object has no attribute \u0027labels\u0027" - ] -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_error/elastalert_error?pretty' -d '{ - "@timestamp": "2024-01-17T12:11:28.392545Z", - "data": { - "rule": "freshdesk_sqs_retry_count_is_high" - }, - "message": "Uncaught exception running rule freshdesk_sqs_retry_count_is_high: \u0027dict\u0027 object has no attribute \u0027labels\u0027", - "traceback": [ - "Traceback (most recent call last):", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1471, in alert", - " return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/elastalert.py\", line 1581, in send_alert", - " alert.alert(matches)", - " File \"/Users/armusigumpula/projects/elastalert/elastalert/alerters/alertmanager.py\", line 65, in alert", - " payload.labels[\u0027alert_time\u0027]=matches[0][self.rule.get(\u0027timestamp_field\u0027)]", - "AttributeError: \u0027dict\u0027 object has no attribute \u0027labels\u0027" - ] -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:11:28.461369Z", - "endtime": "2024-01-17T12:11:28.225709Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T11:56:28.225709Z", - "time_taken": 0.23560404777526855 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:11:28.461369Z", - "endtime": "2024-01-17T12:11:28.225709Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T11:56:28.225709Z", - "time_taken": 0.23560404777526855 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:12:14.930382Z", - "to": "2024-01-17T12:12:14.930401Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:12:14.930382Z", - "to": "2024-01-17T12:12:14.930401Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:13:19.903448Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:13:19.903448Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:13:19.941554Z", - "endtime": "2024-01-17T12:13:19.903448Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.03801393508911133 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:13:19.941554Z", - "endtime": "2024-01-17T12:13:19.903448Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.03801393508911133 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:14:09.907077Z", - "to": "2024-01-17T12:14:09.907114Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:14:09.907077Z", - "to": "2024-01-17T12:14:09.907114Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:14:20.305079Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:14:20.305079Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:14:20.328928Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:15:20.328921Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:14:20.328928Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:15:20.328921Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:37.831Z", "lte": "2024-01-17T12:23:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T11:58:37.831Z", "lte": "2024-01-17T12:23:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T12:14:20.390013Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T12:14:20.376359Z", - "match_body": { - "@timestamp": "2024-01-17T12:13:37.831Z", - "_id": "3wlVF40BKaace7fnM4u-", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 8, - "num_matches": 8, - "top_events_wc": { - "bcd": 4, - "bvscd": 4, - "dfg": 4, - "dsds": 4 - }, - "wc": "dfg" - }, - "match_time": "2024-01-17T12:13:37.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T12:14:20.390013Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T12:14:20.376359Z", - "match_body": { - "@timestamp": "2024-01-17T12:13:37.831Z", - "_id": "3wlVF40BKaace7fnM4u-", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 8, - "num_matches": 8, - "top_events_wc": { - "bcd": 4, - "bvscd": 4, - "dfg": 4, - "dsds": 4 - }, - "wc": "dfg" - }, - "match_time": "2024-01-17T12:13:37.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:14:20.485113Z", - "endtime": "2024-01-17T12:14:20.305079Z", - "hits": 8, - "matches": 8, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.1799769401550293 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:14:20.485113Z", - "endtime": "2024-01-17T12:14:20.305079Z", - "hits": 8, - "matches": 8, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.1799769401550293 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:15:09.906458Z", - "to": "2024-01-17T12:15:09.906501Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:15:09.906458Z", - "to": "2024-01-17T12:15:09.906501Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:15:20.652166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:15:20.652166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:15:20.670216Z", - "endtime": "2024-01-17T12:15:20.652166Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.01799607276916504 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:15:20.670216Z", - "endtime": "2024-01-17T12:15:20.652166Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.01799607276916504 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:16:09.907367Z", - "to": "2024-01-17T12:16:09.907396Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:16:09.907367Z", - "to": "2024-01-17T12:16:09.907396Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:16:25.611886Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:16:25.611886Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:16:25.635789Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:17:25.635782Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:16:25.635789Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:17:25.635782Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:37.831Z", "lte": "2024-01-17T12:25:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:37.831Z", "lte": "2024-01-17T12:25:37.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T12:16:25.696416Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T12:16:25.680952Z", - "match_body": { - "@timestamp": "2024-01-17T12:15:37.831Z", - "_id": "6wlXF40BKaace7fnlIvZ", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 10, - "num_matches": 2, - "top_events_wc": { - "bcd": 4, - "bvscd": 4, - "dfg": 3, - "dsds": 4 - }, - "wc": "dfg" - }, - "match_time": "2024-01-17T12:15:37.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T12:16:25.696416Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T12:16:25.680952Z", - "match_body": { - "@timestamp": "2024-01-17T12:15:37.831Z", - "_id": "6wlXF40BKaace7fnlIvZ", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 10, - "num_matches": 2, - "top_events_wc": { - "bcd": 4, - "bvscd": 4, - "dfg": 3, - "dsds": 4 - }, - "wc": "dfg" - }, - "match_time": "2024-01-17T12:15:37.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:16:25.747013Z", - "endtime": "2024-01-17T12:16:25.611886Z", - "hits": 10, - "matches": 2, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.13508820533752441 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:16:25.747013Z", - "endtime": "2024-01-17T12:16:25.611886Z", - "hits": 10, - "matches": 2, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.13508820533752441 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:17:09.906340Z", - "to": "2024-01-17T12:17:09.906370Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:17:09.906340Z", - "to": "2024-01-17T12:17:09.906370Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:17:30.475016Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:17:30.475016Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:17:30.486844Z", - "endtime": "2024-01-17T12:17:30.475016Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.011792182922363281 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:17:30.486844Z", - "endtime": "2024-01-17T12:17:30.475016Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.011792182922363281 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:18:09.905318Z", - "to": "2024-01-17T12:18:09.905357Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:18:09.905318Z", - "to": "2024-01-17T12:18:09.905357Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:18:31.929966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:18:31.929966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:18:31.946319Z", - "endtime": "2024-01-17T12:18:31.929966Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.016315937042236328 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:18:31.946319Z", - "endtime": "2024-01-17T12:18:31.929966Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.016315937042236328 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:19:09.904538Z", - "to": "2024-01-17T12:19:09.904581Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:19:09.904538Z", - "to": "2024-01-17T12:19:09.904581Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:19:35.237474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:19:35.237474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:19:35.252676Z", - "endtime": "2024-01-17T12:19:35.237474Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.015161991119384766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:19:35.252676Z", - "endtime": "2024-01-17T12:19:35.237474Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.015161991119384766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:20:09.906853Z", - "to": "2024-01-17T12:20:09.906875Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:20:09.906853Z", - "to": "2024-01-17T12:20:09.906875Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:20:39.922482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:20:39.922482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:20:39.933929Z", - "endtime": "2024-01-17T12:20:39.922482Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.011392831802368164 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:20:39.933929Z", - "endtime": "2024-01-17T12:20:39.922482Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.011392831802368164 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:21:09.906939Z", - "to": "2024-01-17T12:21:09.906961Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:21:09.906939Z", - "to": "2024-01-17T12:21:09.906961Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:21:44.298729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:21:44.298729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:21:44.309814Z", - "endtime": "2024-01-17T12:21:44.298729Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.011044740676879883 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:21:44.309814Z", - "endtime": "2024-01-17T12:21:44.298729Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.011044740676879883 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:22:09.903549Z", - "to": "2024-01-17T12:22:09.903576Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:22:09.903549Z", - "to": "2024-01-17T12:22:09.903576Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:22:48.756166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:22:48.756166Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:22:48.772118Z", - "endtime": "2024-01-17T12:22:48.756166Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.015897035598754883 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:22:48.772118Z", - "endtime": "2024-01-17T12:22:48.756166Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.015897035598754883 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:23:09.905507Z", - "to": "2024-01-17T12:23:09.905541Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:23:09.905507Z", - "to": "2024-01-17T12:23:09.905541Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:23:50.974053Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:23:50.974053Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:23:50.984352Z", - "endtime": "2024-01-17T12:23:50.974053Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.010263204574584961 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:23:50.984352Z", - "endtime": "2024-01-17T12:23:50.974053Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.010263204574584961 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:24:09.904166Z", - "to": "2024-01-17T12:24:09.904188Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:24:09.904166Z", - "to": "2024-01-17T12:24:09.904188Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:24:54.940095Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:24:54.940095Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:24:54.950603Z", - "endtime": "2024-01-17T12:24:54.940095Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.010453939437866211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:24:54.950603Z", - "endtime": "2024-01-17T12:24:54.940095Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.010453939437866211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:25:09.904883Z", - "to": "2024-01-17T12:25:09.904910Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:25:09.904883Z", - "to": "2024-01-17T12:25:09.904910Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:25:55.825372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:28.225709Z", "lte": "2024-01-17T12:25:55.825372Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:25:55.839690Z", - "endtime": "2024-01-17T12:25:55.825372Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.014261007308959961 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:25:55.839690Z", - "endtime": "2024-01-17T12:25:55.825372Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:28.225709Z", - "time_taken": 0.014261007308959961 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:26:09.903476Z", - "to": "2024-01-17T12:26:09.903513Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:26:09.903476Z", - "to": "2024-01-17T12:26:09.903513Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:56.176122Z", "lte": "2024-01-17T12:26:56.176122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:11:56.176122Z", "lte": "2024-01-17T12:26:56.176122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:26:56.195738Z", - "endtime": "2024-01-17T12:26:56.176122Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:56.176122Z", - "time_taken": 0.01955699920654297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:26:56.195738Z", - "endtime": "2024-01-17T12:26:56.176122Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:11:56.176122Z", - "time_taken": 0.01955699920654297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:27:09.904196Z", - "to": "2024-01-17T12:27:09.904235Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:27:09.904196Z", - "to": "2024-01-17T12:27:09.904235Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:12:56.562092Z", "lte": "2024-01-17T12:27:56.562092Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:12:56.562092Z", "lte": "2024-01-17T12:27:56.562092Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:27:56.574631Z", - "endtime": "2024-01-17T12:27:56.562092Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:12:56.562092Z", - "time_taken": 0.012482881546020508 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:27:56.574631Z", - "endtime": "2024-01-17T12:27:56.562092Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:12:56.562092Z", - "time_taken": 0.012482881546020508 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:28:09.908134Z", - "to": "2024-01-17T12:28:09.908172Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:28:09.908134Z", - "to": "2024-01-17T12:28:09.908172Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:13:58.566550Z", "lte": "2024-01-17T12:28:58.566550Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:13:58.566550Z", "lte": "2024-01-17T12:28:58.566550Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:28:58.591234Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:29:58.591205Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-17T12:28:58.591234Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-17T12:29:58.591205Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:39.831Z", "lte": "2024-01-17T12:25:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:00:39.831Z", "lte": "2024-01-17T12:25:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T12:28:58.651195Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T12:28:58.639588Z", - "match_body": { - "@timestamp": "2024-01-17T12:15:39.831Z", - "_id": "6QlXF40BKaace7fnlItj", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 4, - "num_matches": 2, - "top_events_wc": { - "bcd": 3, - "bvscd": 3, - "dfg": 3, - "dsds": 3 - }, - "wc": "dsds" - }, - "match_time": "2024-01-17T12:15:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-17T12:28:58.651195Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-17T12:28:58.639588Z", - "match_body": { - "@timestamp": "2024-01-17T12:15:39.831Z", - "_id": "6QlXF40BKaace7fnlItj", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 4, - "num_matches": 2, - "top_events_wc": { - "bcd": 3, - "bvscd": 3, - "dfg": 3, - "dsds": 3 - }, - "wc": "dsds" - }, - "match_time": "2024-01-17T12:15:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:28:58.704843Z", - "endtime": "2024-01-17T12:28:58.566550Z", - "hits": 4, - "matches": 2, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:13:58.566550Z", - "time_taken": 0.1382288932800293 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:28:58.704843Z", - "endtime": "2024-01-17T12:28:58.566550Z", - "hits": 4, - "matches": 2, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:13:58.566550Z", - "time_taken": 0.1382288932800293 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:29:09.904408Z", - "to": "2024-01-17T12:29:09.904468Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:29:09.904408Z", - "to": "2024-01-17T12:29:09.904468Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:15:00.762117Z", "lte": "2024-01-17T12:30:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:15:00.762117Z", "lte": "2024-01-17T12:30:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:30:00.777998Z", - "endtime": "2024-01-17T12:30:00.762117Z", - "hits": 4, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:15:00.762117Z", - "time_taken": 0.015831947326660156 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T12:30:00.777998Z", - "endtime": "2024-01-17T12:30:00.762117Z", - "hits": 4, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:15:00.762117Z", - "time_taken": 0.015831947326660156 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:30:09.921501Z", - "to": "2024-01-17T12:30:09.921522Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T12:30:09.921501Z", - "to": "2024-01-17T12:30:09.921522Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:30:00.762117Z", "lte": "2024-01-17T12:45:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:30:00.762117Z", "lte": "2024-01-17T12:45:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:45:00.762117Z", "lte": "2024-01-17T13:00:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:45:00.762117Z", "lte": "2024-01-17T13:00:00.762117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:00.762117Z", "lte": "2024-01-17T13:02:04.226456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:00.762117Z", "lte": "2024-01-17T13:02:04.226456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:02:04.272389Z", - "endtime": "2024-01-17T13:02:04.226456Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:30:00.762117Z", - "time_taken": 0.04589509963989258 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:02:04.272389Z", - "endtime": "2024-01-17T13:02:04.226456Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:30:00.762117Z", - "time_taken": 0.04589509963989258 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:02:09.904755Z", - "to": "2024-01-17T13:02:09.904776Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:02:09.904755Z", - "to": "2024-01-17T13:02:09.904776Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:48:06.731003Z", "lte": "2024-01-17T13:03:06.731003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:48:06.731003Z", "lte": "2024-01-17T13:03:06.731003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:03:06.742774Z", - "endtime": "2024-01-17T13:03:06.731003Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:48:06.731003Z", - "time_taken": 0.01174616813659668 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:03:06.742774Z", - "endtime": "2024-01-17T13:03:06.731003Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:48:06.731003Z", - "time_taken": 0.01174616813659668 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:03:09.904846Z", - "to": "2024-01-17T13:03:09.904874Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:03:09.904846Z", - "to": "2024-01-17T13:03:09.904874Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:49:07.686632Z", "lte": "2024-01-17T13:04:07.686632Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:49:07.686632Z", "lte": "2024-01-17T13:04:07.686632Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:04:07.698365Z", - "endtime": "2024-01-17T13:04:07.686632Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:49:07.686632Z", - "time_taken": 0.011674165725708008 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:04:07.698365Z", - "endtime": "2024-01-17T13:04:07.686632Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:49:07.686632Z", - "time_taken": 0.011674165725708008 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:04:09.906423Z", - "to": "2024-01-17T13:04:09.906441Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:04:09.906423Z", - "to": "2024-01-17T13:04:09.906441Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:50:09.393305Z", "lte": "2024-01-17T13:05:09.393305Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:50:09.393305Z", "lte": "2024-01-17T13:05:09.393305Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:05:09.404226Z", - "endtime": "2024-01-17T13:05:09.393305Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:50:09.393305Z", - "time_taken": 0.010864973068237305 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:05:09.404226Z", - "endtime": "2024-01-17T13:05:09.393305Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:50:09.393305Z", - "time_taken": 0.010864973068237305 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:05:09.913647Z", - "to": "2024-01-17T13:05:09.913686Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:05:09.913647Z", - "to": "2024-01-17T13:05:09.913686Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:06:09.911208Z", - "to": "2024-01-17T13:06:09.911234Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:06:09.911208Z", - "to": "2024-01-17T13:06:09.911234Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:51:12.806285Z", "lte": "2024-01-17T13:06:12.806285Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:51:12.806285Z", "lte": "2024-01-17T13:06:12.806285Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:06:12.813755Z", - "endtime": "2024-01-17T13:06:12.806285Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:51:12.806285Z", - "time_taken": 0.007416248321533203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:06:12.813755Z", - "endtime": "2024-01-17T13:06:12.806285Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:51:12.806285Z", - "time_taken": 0.007416248321533203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:07:09.913473Z", - "to": "2024-01-17T13:07:09.913499Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:07:09.913473Z", - "to": "2024-01-17T13:07:09.913499Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:52:15.712405Z", "lte": "2024-01-17T13:07:15.712405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:52:15.712405Z", "lte": "2024-01-17T13:07:15.712405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:07:15.719934Z", - "endtime": "2024-01-17T13:07:15.712405Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:52:15.712405Z", - "time_taken": 0.007476091384887695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:07:15.719934Z", - "endtime": "2024-01-17T13:07:15.712405Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:52:15.712405Z", - "time_taken": 0.007476091384887695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:08:09.904416Z", - "to": "2024-01-17T13:08:09.904455Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:08:09.904416Z", - "to": "2024-01-17T13:08:09.904455Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:53:19.182219Z", "lte": "2024-01-17T13:08:19.182219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:53:19.182219Z", "lte": "2024-01-17T13:08:19.182219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:08:19.189065Z", - "endtime": "2024-01-17T13:08:19.182219Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:53:19.182219Z", - "time_taken": 0.006814002990722656 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:08:19.189065Z", - "endtime": "2024-01-17T13:08:19.182219Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:53:19.182219Z", - "time_taken": 0.006814002990722656 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:09:09.913930Z", - "to": "2024-01-17T13:09:09.913960Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:09:09.913930Z", - "to": "2024-01-17T13:09:09.913960Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:54:21.960966Z", "lte": "2024-01-17T13:09:21.960966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:54:21.960966Z", "lte": "2024-01-17T13:09:21.960966Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:09:21.968240Z", - "endtime": "2024-01-17T13:09:21.960966Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:54:21.960966Z", - "time_taken": 0.007228851318359375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:09:21.968240Z", - "endtime": "2024-01-17T13:09:21.960966Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:54:21.960966Z", - "time_taken": 0.007228851318359375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:10:09.904774Z", - "to": "2024-01-17T13:10:09.904812Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:10:09.904774Z", - "to": "2024-01-17T13:10:09.904812Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:55:26.116207Z", "lte": "2024-01-17T13:10:26.116207Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:55:26.116207Z", "lte": "2024-01-17T13:10:26.116207Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:10:26.123489Z", - "endtime": "2024-01-17T13:10:26.116207Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:55:26.116207Z", - "time_taken": 0.007225751876831055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:10:26.123489Z", - "endtime": "2024-01-17T13:10:26.116207Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:55:26.116207Z", - "time_taken": 0.007225751876831055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:11:09.905201Z", - "to": "2024-01-17T13:11:09.905240Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:11:09.905201Z", - "to": "2024-01-17T13:11:09.905240Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:56:27.820009Z", "lte": "2024-01-17T13:11:27.820009Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:56:27.820009Z", "lte": "2024-01-17T13:11:27.820009Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:11:27.834629Z", - "endtime": "2024-01-17T13:11:27.820009Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:56:27.820009Z", - "time_taken": 0.014564037322998047 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:11:27.834629Z", - "endtime": "2024-01-17T13:11:27.820009Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:56:27.820009Z", - "time_taken": 0.014564037322998047 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:12:09.910756Z", - "to": "2024-01-17T13:12:09.910806Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:12:09.910756Z", - "to": "2024-01-17T13:12:09.910806Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:57:29.730264Z", "lte": "2024-01-17T13:12:29.730264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:57:29.730264Z", "lte": "2024-01-17T13:12:29.730264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:12:29.740126Z", - "endtime": "2024-01-17T13:12:29.730264Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:57:29.730264Z", - "time_taken": 0.00980520248413086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:12:29.740126Z", - "endtime": "2024-01-17T13:12:29.730264Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:57:29.730264Z", - "time_taken": 0.00980520248413086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:13:09.910125Z", - "to": "2024-01-17T13:13:09.910141Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:13:09.910125Z", - "to": "2024-01-17T13:13:09.910141Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:58:33.429159Z", "lte": "2024-01-17T13:13:33.429159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:58:33.429159Z", "lte": "2024-01-17T13:13:33.429159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:13:33.437547Z", - "endtime": "2024-01-17T13:13:33.429159Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:58:33.429159Z", - "time_taken": 0.008331060409545898 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:13:33.437547Z", - "endtime": "2024-01-17T13:13:33.429159Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:58:33.429159Z", - "time_taken": 0.008331060409545898 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:14:09.913374Z", - "to": "2024-01-17T13:14:09.913413Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:14:09.913374Z", - "to": "2024-01-17T13:14:09.913413Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:59:35.269985Z", "lte": "2024-01-17T13:14:35.269985Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T12:59:35.269985Z", "lte": "2024-01-17T13:14:35.269985Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:14:35.276979Z", - "endtime": "2024-01-17T13:14:35.269985Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:59:35.269985Z", - "time_taken": 0.006934165954589844 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:14:35.276979Z", - "endtime": "2024-01-17T13:14:35.269985Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T12:59:35.269985Z", - "time_taken": 0.006934165954589844 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:15:09.913485Z", - "to": "2024-01-17T13:15:09.913525Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:15:09.913485Z", - "to": "2024-01-17T13:15:09.913525Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:39.744669Z", "lte": "2024-01-17T13:15:39.744669Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:00:39.744669Z", "lte": "2024-01-17T13:15:39.744669Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:15:39.752186Z", - "endtime": "2024-01-17T13:15:39.744669Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:00:39.744669Z", - "time_taken": 0.007483959197998047 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:15:39.752186Z", - "endtime": "2024-01-17T13:15:39.744669Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:00:39.744669Z", - "time_taken": 0.007483959197998047 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:16:09.912051Z", - "to": "2024-01-17T13:16:09.912091Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:16:09.912051Z", - "to": "2024-01-17T13:16:09.912091Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:01:43.187728Z", "lte": "2024-01-17T13:16:43.187728Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:01:43.187728Z", "lte": "2024-01-17T13:16:43.187728Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:16:43.206018Z", - "endtime": "2024-01-17T13:16:43.187728Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:01:43.187728Z", - "time_taken": 0.018231868743896484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:16:43.206018Z", - "endtime": "2024-01-17T13:16:43.187728Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:01:43.187728Z", - "time_taken": 0.018231868743896484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:17:09.905905Z", - "to": "2024-01-17T13:17:09.905943Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:17:09.905905Z", - "to": "2024-01-17T13:17:09.905943Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:02:43.434932Z", "lte": "2024-01-17T13:17:43.434932Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:02:43.434932Z", "lte": "2024-01-17T13:17:43.434932Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:17:43.441606Z", - "endtime": "2024-01-17T13:17:43.434932Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:02:43.434932Z", - "time_taken": 0.006618022918701172 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:17:43.441606Z", - "endtime": "2024-01-17T13:17:43.434932Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:02:43.434932Z", - "time_taken": 0.006618022918701172 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:18:09.912113Z", - "to": "2024-01-17T13:18:09.912138Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:18:09.912113Z", - "to": "2024-01-17T13:18:09.912138Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:03:43.511956Z", "lte": "2024-01-17T13:18:43.511956Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:03:43.511956Z", "lte": "2024-01-17T13:18:43.511956Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:18:43.520131Z", - "endtime": "2024-01-17T13:18:43.511956Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:03:43.511956Z", - "time_taken": 0.008118867874145508 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:18:43.520131Z", - "endtime": "2024-01-17T13:18:43.511956Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:03:43.511956Z", - "time_taken": 0.008118867874145508 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:19:09.909994Z", - "to": "2024-01-17T13:19:09.910021Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:19:09.909994Z", - "to": "2024-01-17T13:19:09.910021Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:04:44.135641Z", "lte": "2024-01-17T13:19:44.135641Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:04:44.135641Z", "lte": "2024-01-17T13:19:44.135641Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:19:44.143722Z", - "endtime": "2024-01-17T13:19:44.135641Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:04:44.135641Z", - "time_taken": 0.008024930953979492 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:19:44.143722Z", - "endtime": "2024-01-17T13:19:44.135641Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:04:44.135641Z", - "time_taken": 0.008024930953979492 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:20:09.913615Z", - "to": "2024-01-17T13:20:09.913640Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:20:09.913615Z", - "to": "2024-01-17T13:20:09.913640Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:05:48.347738Z", "lte": "2024-01-17T13:20:48.347738Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:05:48.347738Z", "lte": "2024-01-17T13:20:48.347738Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:20:48.355304Z", - "endtime": "2024-01-17T13:20:48.347738Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:05:48.347738Z", - "time_taken": 0.0075299739837646484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:20:48.355304Z", - "endtime": "2024-01-17T13:20:48.347738Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:05:48.347738Z", - "time_taken": 0.0075299739837646484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:21:09.912709Z", - "to": "2024-01-17T13:21:09.912750Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:21:09.912709Z", - "to": "2024-01-17T13:21:09.912750Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:06:50.149247Z", "lte": "2024-01-17T13:21:50.149247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:06:50.149247Z", "lte": "2024-01-17T13:21:50.149247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:21:50.157632Z", - "endtime": "2024-01-17T13:21:50.149247Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:06:50.149247Z", - "time_taken": 0.008350849151611328 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:21:50.157632Z", - "endtime": "2024-01-17T13:21:50.149247Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:06:50.149247Z", - "time_taken": 0.008350849151611328 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:22:09.910305Z", - "to": "2024-01-17T13:22:09.910322Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:22:09.910305Z", - "to": "2024-01-17T13:22:09.910322Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:07:52.372117Z", "lte": "2024-01-17T13:22:52.372117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:07:52.372117Z", "lte": "2024-01-17T13:22:52.372117Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:22:52.381159Z", - "endtime": "2024-01-17T13:22:52.372117Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:07:52.372117Z", - "time_taken": 0.00898599624633789 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:22:52.381159Z", - "endtime": "2024-01-17T13:22:52.372117Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:07:52.372117Z", - "time_taken": 0.00898599624633789 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:23:09.905871Z", - "to": "2024-01-17T13:23:09.905890Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:23:09.905871Z", - "to": "2024-01-17T13:23:09.905890Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:08:55.024167Z", "lte": "2024-01-17T13:23:55.024167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:08:55.024167Z", "lte": "2024-01-17T13:23:55.024167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:23:55.035897Z", - "endtime": "2024-01-17T13:23:55.024167Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:08:55.024167Z", - "time_taken": 0.01168513298034668 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:23:55.035897Z", - "endtime": "2024-01-17T13:23:55.024167Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:08:55.024167Z", - "time_taken": 0.01168513298034668 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:24:09.906432Z", - "to": "2024-01-17T13:24:09.906471Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:24:09.906432Z", - "to": "2024-01-17T13:24:09.906471Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:09:57.194802Z", "lte": "2024-01-17T13:24:57.194802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:09:57.194802Z", "lte": "2024-01-17T13:24:57.194802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:24:57.203728Z", - "endtime": "2024-01-17T13:24:57.194802Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:09:57.194802Z", - "time_taken": 0.00887298583984375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:24:57.203728Z", - "endtime": "2024-01-17T13:24:57.194802Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:09:57.194802Z", - "time_taken": 0.00887298583984375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:25:09.906534Z", - "to": "2024-01-17T13:25:09.906573Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:25:09.906534Z", - "to": "2024-01-17T13:25:09.906573Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:11:02.174918Z", "lte": "2024-01-17T13:26:02.174918Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:11:02.174918Z", "lte": "2024-01-17T13:26:02.174918Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:26:02.183367Z", - "endtime": "2024-01-17T13:26:02.174918Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:11:02.174918Z", - "time_taken": 0.008408069610595703 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:26:02.183367Z", - "endtime": "2024-01-17T13:26:02.174918Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:11:02.174918Z", - "time_taken": 0.008408069610595703 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:26:09.905838Z", - "to": "2024-01-17T13:26:09.905877Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:26:09.905838Z", - "to": "2024-01-17T13:26:09.905877Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:12:05.633839Z", "lte": "2024-01-17T13:27:05.633839Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:12:05.633839Z", "lte": "2024-01-17T13:27:05.633839Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:27:05.641617Z", - "endtime": "2024-01-17T13:27:05.633839Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:12:05.633839Z", - "time_taken": 0.007706165313720703 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:27:05.641617Z", - "endtime": "2024-01-17T13:27:05.633839Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:12:05.633839Z", - "time_taken": 0.007706165313720703 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:27:09.908245Z", - "to": "2024-01-17T13:27:09.908284Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:27:09.908245Z", - "to": "2024-01-17T13:27:09.908284Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:13:09.502392Z", "lte": "2024-01-17T13:28:09.502392Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:13:09.502392Z", "lte": "2024-01-17T13:28:09.502392Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:28:09.510402Z", - "endtime": "2024-01-17T13:28:09.502392Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:13:09.502392Z", - "time_taken": 0.007977008819580078 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:28:09.510402Z", - "endtime": "2024-01-17T13:28:09.502392Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:13:09.502392Z", - "time_taken": 0.007977008819580078 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:28:09.907070Z", - "to": "2024-01-17T13:28:09.907087Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:28:09.907070Z", - "to": "2024-01-17T13:28:09.907087Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:14:09.830443Z", "lte": "2024-01-17T13:29:09.830443Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:14:09.830443Z", "lte": "2024-01-17T13:29:09.830443Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:29:09.838919Z", - "endtime": "2024-01-17T13:29:09.830443Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:14:09.830443Z", - "time_taken": 0.008437156677246094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:29:09.838919Z", - "endtime": "2024-01-17T13:29:09.830443Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:14:09.830443Z", - "time_taken": 0.008437156677246094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:29:09.907430Z", - "to": "2024-01-17T13:29:09.907451Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:29:09.907430Z", - "to": "2024-01-17T13:29:09.907451Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:30:09.906829Z", - "to": "2024-01-17T13:30:09.906868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:30:09.906829Z", - "to": "2024-01-17T13:30:09.906868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:15:10.847812Z", "lte": "2024-01-17T13:30:10.847812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:15:10.847812Z", "lte": "2024-01-17T13:30:10.847812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:30:10.856080Z", - "endtime": "2024-01-17T13:30:10.847812Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:15:10.847812Z", - "time_taken": 0.008227109909057617 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:30:10.856080Z", - "endtime": "2024-01-17T13:30:10.847812Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:15:10.847812Z", - "time_taken": 0.008227109909057617 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:31:09.909062Z", - "to": "2024-01-17T13:31:09.909102Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:31:09.909062Z", - "to": "2024-01-17T13:31:09.909102Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:16:11.013071Z", "lte": "2024-01-17T13:31:11.013071Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:16:11.013071Z", "lte": "2024-01-17T13:31:11.013071Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:31:11.035445Z", - "endtime": "2024-01-17T13:31:11.013071Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:16:11.013071Z", - "time_taken": 0.022343158721923828 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:31:11.035445Z", - "endtime": "2024-01-17T13:31:11.013071Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:16:11.013071Z", - "time_taken": 0.022343158721923828 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:32:09.908774Z", - "to": "2024-01-17T13:32:09.908801Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:32:09.908774Z", - "to": "2024-01-17T13:32:09.908801Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:17:15.733074Z", "lte": "2024-01-17T13:32:15.733074Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:17:15.733074Z", "lte": "2024-01-17T13:32:15.733074Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:32:15.740441Z", - "endtime": "2024-01-17T13:32:15.733074Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:17:15.733074Z", - "time_taken": 0.007328033447265625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:32:15.740441Z", - "endtime": "2024-01-17T13:32:15.733074Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:17:15.733074Z", - "time_taken": 0.007328033447265625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:33:09.903858Z", - "to": "2024-01-17T13:33:09.903888Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:33:09.903858Z", - "to": "2024-01-17T13:33:09.903888Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:18:16.739495Z", "lte": "2024-01-17T13:33:16.739495Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:18:16.739495Z", "lte": "2024-01-17T13:33:16.739495Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:33:16.745400Z", - "endtime": "2024-01-17T13:33:16.739495Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:18:16.739495Z", - "time_taken": 0.005873918533325195 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:33:16.745400Z", - "endtime": "2024-01-17T13:33:16.739495Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:18:16.739495Z", - "time_taken": 0.005873918533325195 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:34:09.903274Z", - "to": "2024-01-17T13:34:09.903312Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:34:09.903274Z", - "to": "2024-01-17T13:34:09.903312Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:19:20.632781Z", "lte": "2024-01-17T13:34:20.632781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:19:20.632781Z", "lte": "2024-01-17T13:34:20.632781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:34:20.638421Z", - "endtime": "2024-01-17T13:34:20.632781Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:19:20.632781Z", - "time_taken": 0.005606174468994141 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:34:20.638421Z", - "endtime": "2024-01-17T13:34:20.632781Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:19:20.632781Z", - "time_taken": 0.005606174468994141 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:35:09.906614Z", - "to": "2024-01-17T13:35:09.906657Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:35:09.906614Z", - "to": "2024-01-17T13:35:09.906657Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:20:22.615252Z", "lte": "2024-01-17T13:35:22.615252Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:20:22.615252Z", "lte": "2024-01-17T13:35:22.615252Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:35:22.626527Z", - "endtime": "2024-01-17T13:35:22.615252Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:20:22.615252Z", - "time_taken": 0.011210203170776367 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:35:22.626527Z", - "endtime": "2024-01-17T13:35:22.615252Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:20:22.615252Z", - "time_taken": 0.011210203170776367 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:36:09.908015Z", - "to": "2024-01-17T13:36:09.908055Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:36:09.908015Z", - "to": "2024-01-17T13:36:09.908055Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:21:24.822497Z", "lte": "2024-01-17T13:36:24.822497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:21:24.822497Z", "lte": "2024-01-17T13:36:24.822497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:36:24.829543Z", - "endtime": "2024-01-17T13:36:24.822497Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:21:24.822497Z", - "time_taken": 0.00700688362121582 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:36:24.829543Z", - "endtime": "2024-01-17T13:36:24.822497Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:21:24.822497Z", - "time_taken": 0.00700688362121582 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:37:09.907047Z", - "to": "2024-01-17T13:37:09.907072Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:37:09.907047Z", - "to": "2024-01-17T13:37:09.907072Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:22:28.058030Z", "lte": "2024-01-17T13:37:28.058030Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:22:28.058030Z", "lte": "2024-01-17T13:37:28.058030Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:37:28.067643Z", - "endtime": "2024-01-17T13:37:28.058030Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:22:28.058030Z", - "time_taken": 0.009535789489746094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:37:28.067643Z", - "endtime": "2024-01-17T13:37:28.058030Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:22:28.058030Z", - "time_taken": 0.009535789489746094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:38:09.908079Z", - "to": "2024-01-17T13:38:09.908229Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:38:09.908079Z", - "to": "2024-01-17T13:38:09.908229Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:23:28.684833Z", "lte": "2024-01-17T13:38:28.684833Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:23:28.684833Z", "lte": "2024-01-17T13:38:28.684833Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:38:28.691856Z", - "endtime": "2024-01-17T13:38:28.684833Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:23:28.684833Z", - "time_taken": 0.006968021392822266 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:38:28.691856Z", - "endtime": "2024-01-17T13:38:28.684833Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:23:28.684833Z", - "time_taken": 0.006968021392822266 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:39:09.906036Z", - "to": "2024-01-17T13:39:09.906075Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:39:09.906036Z", - "to": "2024-01-17T13:39:09.906075Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:24:31.705650Z", "lte": "2024-01-17T13:39:31.705650Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:24:31.705650Z", "lte": "2024-01-17T13:39:31.705650Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:39:31.714562Z", - "endtime": "2024-01-17T13:39:31.705650Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:24:31.705650Z", - "time_taken": 0.008854866027832031 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:39:31.714562Z", - "endtime": "2024-01-17T13:39:31.705650Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:24:31.705650Z", - "time_taken": 0.008854866027832031 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:40:09.904723Z", - "to": "2024-01-17T13:40:09.904762Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:40:09.904723Z", - "to": "2024-01-17T13:40:09.904762Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:25:33.664809Z", "lte": "2024-01-17T13:40:33.664809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:25:33.664809Z", "lte": "2024-01-17T13:40:33.664809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:40:33.673702Z", - "endtime": "2024-01-17T13:40:33.664809Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:25:33.664809Z", - "time_taken": 0.008852958679199219 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:40:33.673702Z", - "endtime": "2024-01-17T13:40:33.664809Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:25:33.664809Z", - "time_taken": 0.008852958679199219 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:41:09.908011Z", - "to": "2024-01-17T13:41:09.908051Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:41:09.908011Z", - "to": "2024-01-17T13:41:09.908051Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:26:38.138489Z", "lte": "2024-01-17T13:41:38.138489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:26:38.138489Z", "lte": "2024-01-17T13:41:38.138489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:41:38.145518Z", - "endtime": "2024-01-17T13:41:38.138489Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:26:38.138489Z", - "time_taken": 0.006989002227783203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:41:38.145518Z", - "endtime": "2024-01-17T13:41:38.138489Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:26:38.138489Z", - "time_taken": 0.006989002227783203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:42:09.907440Z", - "to": "2024-01-17T13:42:09.907465Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:42:09.907440Z", - "to": "2024-01-17T13:42:09.907465Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:27:42.859808Z", "lte": "2024-01-17T13:42:42.859808Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:27:42.859808Z", "lte": "2024-01-17T13:42:42.859808Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:42:42.868095Z", - "endtime": "2024-01-17T13:42:42.859808Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:27:42.859808Z", - "time_taken": 0.008246660232543945 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:42:42.868095Z", - "endtime": "2024-01-17T13:42:42.859808Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:27:42.859808Z", - "time_taken": 0.008246660232543945 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:43:09.908110Z", - "to": "2024-01-17T13:43:09.908137Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:43:09.908110Z", - "to": "2024-01-17T13:43:09.908137Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:28:42.913622Z", "lte": "2024-01-17T13:43:42.913622Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:28:42.913622Z", "lte": "2024-01-17T13:43:42.913622Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:43:42.924514Z", - "endtime": "2024-01-17T13:43:42.913622Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:28:42.913622Z", - "time_taken": 0.0108489990234375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:43:42.924514Z", - "endtime": "2024-01-17T13:43:42.913622Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:28:42.913622Z", - "time_taken": 0.0108489990234375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:44:09.905927Z", - "to": "2024-01-17T13:44:09.905968Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:44:09.905927Z", - "to": "2024-01-17T13:44:09.905968Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:29:44.531581Z", "lte": "2024-01-17T13:44:44.531581Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:29:44.531581Z", "lte": "2024-01-17T13:44:44.531581Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:44:44.538634Z", - "endtime": "2024-01-17T13:44:44.531581Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:29:44.531581Z", - "time_taken": 0.006996870040893555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:44:44.538634Z", - "endtime": "2024-01-17T13:44:44.531581Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:29:44.531581Z", - "time_taken": 0.006996870040893555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:45:09.903943Z", - "to": "2024-01-17T13:45:09.903982Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:45:09.903943Z", - "to": "2024-01-17T13:45:09.903982Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:30:49.427583Z", "lte": "2024-01-17T13:45:49.427583Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:30:49.427583Z", "lte": "2024-01-17T13:45:49.427583Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:45:49.436351Z", - "endtime": "2024-01-17T13:45:49.427583Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:30:49.427583Z", - "time_taken": 0.0087127685546875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:45:49.436351Z", - "endtime": "2024-01-17T13:45:49.427583Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:30:49.427583Z", - "time_taken": 0.0087127685546875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:46:09.906616Z", - "to": "2024-01-17T13:46:09.906645Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:46:09.906616Z", - "to": "2024-01-17T13:46:09.906645Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:31:50.981463Z", "lte": "2024-01-17T13:46:50.981463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:31:50.981463Z", "lte": "2024-01-17T13:46:50.981463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:46:50.989986Z", - "endtime": "2024-01-17T13:46:50.981463Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:31:50.981463Z", - "time_taken": 0.008487939834594727 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:46:50.989986Z", - "endtime": "2024-01-17T13:46:50.981463Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:31:50.981463Z", - "time_taken": 0.008487939834594727 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:47:09.906162Z", - "to": "2024-01-17T13:47:09.906180Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:47:09.906162Z", - "to": "2024-01-17T13:47:09.906180Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:32:52.960335Z", "lte": "2024-01-17T13:47:52.960335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:32:52.960335Z", "lte": "2024-01-17T13:47:52.960335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:47:52.969169Z", - "endtime": "2024-01-17T13:47:52.960335Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:32:52.960335Z", - "time_taken": 0.008779048919677734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:47:52.969169Z", - "endtime": "2024-01-17T13:47:52.960335Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:32:52.960335Z", - "time_taken": 0.008779048919677734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:48:09.907436Z", - "to": "2024-01-17T13:48:09.907462Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:48:09.907436Z", - "to": "2024-01-17T13:48:09.907462Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:33:55.058577Z", "lte": "2024-01-17T13:48:55.058577Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:33:55.058577Z", "lte": "2024-01-17T13:48:55.058577Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:48:55.066971Z", - "endtime": "2024-01-17T13:48:55.058577Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:33:55.058577Z", - "time_taken": 0.008334159851074219 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:48:55.066971Z", - "endtime": "2024-01-17T13:48:55.058577Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:33:55.058577Z", - "time_taken": 0.008334159851074219 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:49:09.903331Z", - "to": "2024-01-17T13:49:09.903355Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:49:09.903331Z", - "to": "2024-01-17T13:49:09.903355Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:35:00.054829Z", "lte": "2024-01-17T13:50:00.054829Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:35:00.054829Z", "lte": "2024-01-17T13:50:00.054829Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:50:00.066501Z", - "endtime": "2024-01-17T13:50:00.054829Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:35:00.054829Z", - "time_taken": 0.011622905731201172 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:50:00.066501Z", - "endtime": "2024-01-17T13:50:00.054829Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:35:00.054829Z", - "time_taken": 0.011622905731201172 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:50:09.903921Z", - "to": "2024-01-17T13:50:09.903952Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:50:09.903921Z", - "to": "2024-01-17T13:50:09.903952Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:36:03.884345Z", "lte": "2024-01-17T13:51:03.884345Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:36:03.884345Z", "lte": "2024-01-17T13:51:03.884345Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:51:03.898865Z", - "endtime": "2024-01-17T13:51:03.884345Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:36:03.884345Z", - "time_taken": 0.014486074447631836 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:51:03.898865Z", - "endtime": "2024-01-17T13:51:03.884345Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:36:03.884345Z", - "time_taken": 0.014486074447631836 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:51:09.905090Z", - "to": "2024-01-17T13:51:09.905110Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:51:09.905090Z", - "to": "2024-01-17T13:51:09.905110Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:37:04.983619Z", "lte": "2024-01-17T13:52:04.983619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:37:04.983619Z", "lte": "2024-01-17T13:52:04.983619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:52:04.994715Z", - "endtime": "2024-01-17T13:52:04.983619Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:37:04.983619Z", - "time_taken": 0.011034011840820312 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:52:04.994715Z", - "endtime": "2024-01-17T13:52:04.983619Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:37:04.983619Z", - "time_taken": 0.011034011840820312 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:52:09.903919Z", - "to": "2024-01-17T13:52:09.903940Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:52:09.903919Z", - "to": "2024-01-17T13:52:09.903940Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:38:09.874810Z", "lte": "2024-01-17T13:53:09.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:38:09.874810Z", "lte": "2024-01-17T13:53:09.874810Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:53:09.884653Z", - "endtime": "2024-01-17T13:53:09.874810Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:38:09.874810Z", - "time_taken": 0.009786844253540039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:53:09.884653Z", - "endtime": "2024-01-17T13:53:09.874810Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:38:09.874810Z", - "time_taken": 0.009786844253540039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:53:09.905188Z", - "to": "2024-01-17T13:53:09.905206Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:53:09.905188Z", - "to": "2024-01-17T13:53:09.905206Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:54:09.906482Z", - "to": "2024-01-17T13:54:09.906509Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:54:09.906482Z", - "to": "2024-01-17T13:54:09.906509Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:39:12.209948Z", "lte": "2024-01-17T13:54:12.209948Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:39:12.209948Z", "lte": "2024-01-17T13:54:12.209948Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:54:12.217116Z", - "endtime": "2024-01-17T13:54:12.209948Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:39:12.209948Z", - "time_taken": 0.007113933563232422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:54:12.217116Z", - "endtime": "2024-01-17T13:54:12.209948Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:39:12.209948Z", - "time_taken": 0.007113933563232422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:55:09.905753Z", - "to": "2024-01-17T13:55:09.905792Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:55:09.905753Z", - "to": "2024-01-17T13:55:09.905792Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:40:16.000354Z", "lte": "2024-01-17T13:55:16.000354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:40:16.000354Z", "lte": "2024-01-17T13:55:16.000354Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:55:16.005920Z", - "endtime": "2024-01-17T13:55:16.000354Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:40:16.000354Z", - "time_taken": 0.005532979965209961 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:55:16.005920Z", - "endtime": "2024-01-17T13:55:16.000354Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:40:16.000354Z", - "time_taken": 0.005532979965209961 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:56:09.905741Z", - "to": "2024-01-17T13:56:09.905785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:56:09.905741Z", - "to": "2024-01-17T13:56:09.905785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:41:17.555180Z", "lte": "2024-01-17T13:56:17.555180Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:41:17.555180Z", "lte": "2024-01-17T13:56:17.555180Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:56:17.562866Z", - "endtime": "2024-01-17T13:56:17.555180Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:41:17.555180Z", - "time_taken": 0.00765228271484375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:56:17.562866Z", - "endtime": "2024-01-17T13:56:17.555180Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:41:17.555180Z", - "time_taken": 0.00765228271484375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:57:09.904582Z", - "to": "2024-01-17T13:57:09.904626Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:57:09.904582Z", - "to": "2024-01-17T13:57:09.904626Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:42:18.311200Z", "lte": "2024-01-17T13:57:18.311200Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:42:18.311200Z", "lte": "2024-01-17T13:57:18.311200Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:57:18.320267Z", - "endtime": "2024-01-17T13:57:18.311200Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:42:18.311200Z", - "time_taken": 0.009011030197143555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:57:18.320267Z", - "endtime": "2024-01-17T13:57:18.311200Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:42:18.311200Z", - "time_taken": 0.009011030197143555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:58:09.904176Z", - "to": "2024-01-17T13:58:09.904214Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:58:09.904176Z", - "to": "2024-01-17T13:58:09.904214Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:43:23.042005Z", "lte": "2024-01-17T13:58:23.042005Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:43:23.042005Z", "lte": "2024-01-17T13:58:23.042005Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:58:23.053624Z", - "endtime": "2024-01-17T13:58:23.042005Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:43:23.042005Z", - "time_taken": 0.011579751968383789 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:58:23.053624Z", - "endtime": "2024-01-17T13:58:23.042005Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:43:23.042005Z", - "time_taken": 0.011579751968383789 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:59:09.903356Z", - "to": "2024-01-17T13:59:09.903395Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T13:59:09.903356Z", - "to": "2024-01-17T13:59:09.903395Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:44:26.281134Z", "lte": "2024-01-17T13:59:26.281134Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:44:26.281134Z", "lte": "2024-01-17T13:59:26.281134Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:59:26.289144Z", - "endtime": "2024-01-17T13:59:26.281134Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:44:26.281134Z", - "time_taken": 0.007977008819580078 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T13:59:26.289144Z", - "endtime": "2024-01-17T13:59:26.281134Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:44:26.281134Z", - "time_taken": 0.007977008819580078 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:00:09.903920Z", - "to": "2024-01-17T14:00:09.903961Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:00:09.903920Z", - "to": "2024-01-17T14:00:09.903961Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:45:29.018181Z", "lte": "2024-01-17T14:00:29.018181Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:45:29.018181Z", "lte": "2024-01-17T14:00:29.018181Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:00:29.027554Z", - "endtime": "2024-01-17T14:00:29.018181Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:45:29.018181Z", - "time_taken": 0.009320974349975586 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:00:29.027554Z", - "endtime": "2024-01-17T14:00:29.018181Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:45:29.018181Z", - "time_taken": 0.009320974349975586 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:01:09.907066Z", - "to": "2024-01-17T14:01:09.907083Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:01:09.907066Z", - "to": "2024-01-17T14:01:09.907083Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:46:31.053417Z", "lte": "2024-01-17T14:01:31.053417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:46:31.053417Z", "lte": "2024-01-17T14:01:31.053417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:01:31.062470Z", - "endtime": "2024-01-17T14:01:31.053417Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:46:31.053417Z", - "time_taken": 0.008985280990600586 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:01:31.062470Z", - "endtime": "2024-01-17T14:01:31.053417Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:46:31.053417Z", - "time_taken": 0.008985280990600586 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:02:09.906228Z", - "to": "2024-01-17T14:02:09.906270Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:02:09.906228Z", - "to": "2024-01-17T14:02:09.906270Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:47:32.439562Z", "lte": "2024-01-17T14:02:32.439562Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:47:32.439562Z", "lte": "2024-01-17T14:02:32.439562Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:02:32.451159Z", - "endtime": "2024-01-17T14:02:32.439562Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:47:32.439562Z", - "time_taken": 0.011535882949829102 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:02:32.451159Z", - "endtime": "2024-01-17T14:02:32.439562Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:47:32.439562Z", - "time_taken": 0.011535882949829102 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:03:09.904201Z", - "to": "2024-01-17T14:03:09.904242Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:03:09.904201Z", - "to": "2024-01-17T14:03:09.904242Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:48:32.601603Z", "lte": "2024-01-17T14:03:32.601603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:48:32.601603Z", "lte": "2024-01-17T14:03:32.601603Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:03:32.609236Z", - "endtime": "2024-01-17T14:03:32.601603Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:48:32.601603Z", - "time_taken": 0.007578849792480469 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:03:32.609236Z", - "endtime": "2024-01-17T14:03:32.601603Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:48:32.601603Z", - "time_taken": 0.007578849792480469 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:04:09.974149Z", - "to": "2024-01-17T14:04:09.974190Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:04:09.974149Z", - "to": "2024-01-17T14:04:09.974190Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:49:37.362747Z", "lte": "2024-01-17T14:04:37.362747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:49:37.362747Z", "lte": "2024-01-17T14:04:37.362747Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:04:37.370537Z", - "endtime": "2024-01-17T14:04:37.362747Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:49:37.362747Z", - "time_taken": 0.007734060287475586 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:04:37.370537Z", - "endtime": "2024-01-17T14:04:37.362747Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:49:37.362747Z", - "time_taken": 0.007734060287475586 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:05:09.910129Z", - "to": "2024-01-17T14:05:09.910167Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:05:09.910129Z", - "to": "2024-01-17T14:05:09.910167Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:50:38.512003Z", "lte": "2024-01-17T14:05:38.512003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:50:38.512003Z", "lte": "2024-01-17T14:05:38.512003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:05:38.519856Z", - "endtime": "2024-01-17T14:05:38.512003Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:50:38.512003Z", - "time_taken": 0.007796764373779297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:05:38.519856Z", - "endtime": "2024-01-17T14:05:38.512003Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:50:38.512003Z", - "time_taken": 0.007796764373779297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:06:09.912954Z", - "to": "2024-01-17T14:06:09.912976Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:06:09.912954Z", - "to": "2024-01-17T14:06:09.912976Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:51:38.855210Z", "lte": "2024-01-17T14:06:38.855210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:51:38.855210Z", "lte": "2024-01-17T14:06:38.855210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:06:38.862770Z", - "endtime": "2024-01-17T14:06:38.855210Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:51:38.855210Z", - "time_taken": 0.00750422477722168 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:06:38.862770Z", - "endtime": "2024-01-17T14:06:38.855210Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:51:38.855210Z", - "time_taken": 0.00750422477722168 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:07:09.911802Z", - "to": "2024-01-17T14:07:09.911829Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:07:09.911802Z", - "to": "2024-01-17T14:07:09.911829Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:52:40.479535Z", "lte": "2024-01-17T14:07:40.479535Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:52:40.479535Z", "lte": "2024-01-17T14:07:40.479535Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:07:40.486804Z", - "endtime": "2024-01-17T14:07:40.479535Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:52:40.479535Z", - "time_taken": 0.00722813606262207 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:07:40.486804Z", - "endtime": "2024-01-17T14:07:40.479535Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:52:40.479535Z", - "time_taken": 0.00722813606262207 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:08:09.908149Z", - "to": "2024-01-17T14:08:09.908187Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:08:09.908149Z", - "to": "2024-01-17T14:08:09.908187Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:53:41.638812Z", "lte": "2024-01-17T14:08:41.638812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:53:41.638812Z", "lte": "2024-01-17T14:08:41.638812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:08:41.646761Z", - "endtime": "2024-01-17T14:08:41.638812Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:53:41.638812Z", - "time_taken": 0.007891178131103516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:08:41.646761Z", - "endtime": "2024-01-17T14:08:41.638812Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:53:41.638812Z", - "time_taken": 0.007891178131103516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:09:09.904135Z", - "to": "2024-01-17T14:09:09.904173Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:09:09.904135Z", - "to": "2024-01-17T14:09:09.904173Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:54:42.383797Z", "lte": "2024-01-17T14:09:42.383797Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:54:42.383797Z", "lte": "2024-01-17T14:09:42.383797Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:09:42.392471Z", - "endtime": "2024-01-17T14:09:42.383797Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:54:42.383797Z", - "time_taken": 0.008620023727416992 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:09:42.392471Z", - "endtime": "2024-01-17T14:09:42.383797Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:54:42.383797Z", - "time_taken": 0.008620023727416992 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:10:09.907496Z", - "to": "2024-01-17T14:10:09.907534Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:10:09.907496Z", - "to": "2024-01-17T14:10:09.907534Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:55:43.609652Z", "lte": "2024-01-17T14:10:43.609652Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:55:43.609652Z", "lte": "2024-01-17T14:10:43.609652Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:10:43.618272Z", - "endtime": "2024-01-17T14:10:43.609652Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:55:43.609652Z", - "time_taken": 0.008565187454223633 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:10:43.618272Z", - "endtime": "2024-01-17T14:10:43.609652Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:55:43.609652Z", - "time_taken": 0.008565187454223633 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:11:09.912388Z", - "to": "2024-01-17T14:11:09.912410Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:11:09.912388Z", - "to": "2024-01-17T14:11:09.912410Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:56:47.245852Z", "lte": "2024-01-17T14:11:47.245852Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:56:47.245852Z", "lte": "2024-01-17T14:11:47.245852Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:11:47.253017Z", - "endtime": "2024-01-17T14:11:47.245852Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:56:47.245852Z", - "time_taken": 0.007111072540283203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:11:47.253017Z", - "endtime": "2024-01-17T14:11:47.245852Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:56:47.245852Z", - "time_taken": 0.007111072540283203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:12:09.907148Z", - "to": "2024-01-17T14:12:09.907187Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:12:09.907148Z", - "to": "2024-01-17T14:12:09.907187Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:57:50.403335Z", "lte": "2024-01-17T14:12:50.403335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:57:50.403335Z", "lte": "2024-01-17T14:12:50.403335Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:12:50.411558Z", - "endtime": "2024-01-17T14:12:50.403335Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:57:50.403335Z", - "time_taken": 0.008165121078491211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:12:50.411558Z", - "endtime": "2024-01-17T14:12:50.403335Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:57:50.403335Z", - "time_taken": 0.008165121078491211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:13:09.904643Z", - "to": "2024-01-17T14:13:09.904661Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:13:09.904643Z", - "to": "2024-01-17T14:13:09.904661Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:58:53.696463Z", "lte": "2024-01-17T14:13:53.696463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:58:53.696463Z", "lte": "2024-01-17T14:13:53.696463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:13:53.704741Z", - "endtime": "2024-01-17T14:13:53.696463Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:58:53.696463Z", - "time_taken": 0.008241891860961914 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:13:53.704741Z", - "endtime": "2024-01-17T14:13:53.696463Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:58:53.696463Z", - "time_taken": 0.008241891860961914 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:14:09.911995Z", - "to": "2024-01-17T14:14:09.912021Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:14:09.911995Z", - "to": "2024-01-17T14:14:09.912021Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:59:58.246827Z", "lte": "2024-01-17T14:14:58.246827Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T13:59:58.246827Z", "lte": "2024-01-17T14:14:58.246827Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:14:58.253795Z", - "endtime": "2024-01-17T14:14:58.246827Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:59:58.246827Z", - "time_taken": 0.0069141387939453125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:14:58.253795Z", - "endtime": "2024-01-17T14:14:58.246827Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T13:59:58.246827Z", - "time_taken": 0.0069141387939453125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:15:09.909428Z", - "to": "2024-01-17T14:15:09.909467Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:15:09.909428Z", - "to": "2024-01-17T14:15:09.909467Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:01:01.184817Z", "lte": "2024-01-17T14:16:01.184817Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:01:01.184817Z", "lte": "2024-01-17T14:16:01.184817Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:16:01.192982Z", - "endtime": "2024-01-17T14:16:01.184817Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:01:01.184817Z", - "time_taken": 0.008101940155029297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:16:01.192982Z", - "endtime": "2024-01-17T14:16:01.184817Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:01:01.184817Z", - "time_taken": 0.008101940155029297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:16:09.912224Z", - "to": "2024-01-17T14:16:09.912246Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:16:09.912224Z", - "to": "2024-01-17T14:16:09.912246Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:02:02.943547Z", "lte": "2024-01-17T14:17:02.943547Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:02:02.943547Z", "lte": "2024-01-17T14:17:02.943547Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:17:02.952533Z", - "endtime": "2024-01-17T14:17:02.943547Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:02:02.943547Z", - "time_taken": 0.00893092155456543 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:17:02.952533Z", - "endtime": "2024-01-17T14:17:02.943547Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:02:02.943547Z", - "time_taken": 0.00893092155456543 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:17:09.907972Z", - "to": "2024-01-17T14:17:09.908010Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:17:09.907972Z", - "to": "2024-01-17T14:17:09.908010Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:03:07.365261Z", "lte": "2024-01-17T14:18:07.365261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:03:07.365261Z", "lte": "2024-01-17T14:18:07.365261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:18:07.373062Z", - "endtime": "2024-01-17T14:18:07.365261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:03:07.365261Z", - "time_taken": 0.0077440738677978516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:18:07.373062Z", - "endtime": "2024-01-17T14:18:07.365261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:03:07.365261Z", - "time_taken": 0.0077440738677978516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:18:09.909312Z", - "to": "2024-01-17T14:18:09.909351Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:18:09.909312Z", - "to": "2024-01-17T14:18:09.909351Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:04:07.903037Z", "lte": "2024-01-17T14:19:07.903037Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:04:07.903037Z", "lte": "2024-01-17T14:19:07.903037Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:19:07.912973Z", - "endtime": "2024-01-17T14:19:07.903037Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:04:07.903037Z", - "time_taken": 0.009880781173706055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:19:07.912973Z", - "endtime": "2024-01-17T14:19:07.903037Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:04:07.903037Z", - "time_taken": 0.009880781173706055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:19:09.968254Z", - "to": "2024-01-17T14:19:09.968280Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:19:09.968254Z", - "to": "2024-01-17T14:19:09.968280Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:20:09.913546Z", - "to": "2024-01-17T14:20:09.913585Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:20:09.913546Z", - "to": "2024-01-17T14:20:09.913585Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:05:11.890261Z", "lte": "2024-01-17T14:20:11.890261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:05:11.890261Z", "lte": "2024-01-17T14:20:11.890261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:20:11.896169Z", - "endtime": "2024-01-17T14:20:11.890261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:05:11.890261Z", - "time_taken": 0.0058748722076416016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:20:11.896169Z", - "endtime": "2024-01-17T14:20:11.890261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:05:11.890261Z", - "time_taken": 0.0058748722076416016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:21:09.908138Z", - "to": "2024-01-17T14:21:09.908177Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:21:09.908138Z", - "to": "2024-01-17T14:21:09.908177Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:06:12.289887Z", "lte": "2024-01-17T14:21:12.289887Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:06:12.289887Z", "lte": "2024-01-17T14:21:12.289887Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:21:12.297148Z", - "endtime": "2024-01-17T14:21:12.289887Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:06:12.289887Z", - "time_taken": 0.007203102111816406 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:21:12.297148Z", - "endtime": "2024-01-17T14:21:12.289887Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:06:12.289887Z", - "time_taken": 0.007203102111816406 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:22:09.913574Z", - "to": "2024-01-17T14:22:09.913612Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:22:09.913574Z", - "to": "2024-01-17T14:22:09.913612Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:07:14.566604Z", "lte": "2024-01-17T14:22:14.566604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:07:14.566604Z", "lte": "2024-01-17T14:22:14.566604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:22:14.573744Z", - "endtime": "2024-01-17T14:22:14.566604Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:07:14.566604Z", - "time_taken": 0.007083892822265625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:22:14.573744Z", - "endtime": "2024-01-17T14:22:14.566604Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:07:14.566604Z", - "time_taken": 0.007083892822265625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:23:09.905838Z", - "to": "2024-01-17T14:23:09.905879Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:23:09.905838Z", - "to": "2024-01-17T14:23:09.905879Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:08:18.845260Z", "lte": "2024-01-17T14:23:18.845260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:08:18.845260Z", "lte": "2024-01-17T14:23:18.845260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:23:18.853077Z", - "endtime": "2024-01-17T14:23:18.845260Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:08:18.845260Z", - "time_taken": 0.007778644561767578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:23:18.853077Z", - "endtime": "2024-01-17T14:23:18.845260Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:08:18.845260Z", - "time_taken": 0.007778644561767578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:24:09.913587Z", - "to": "2024-01-17T14:24:09.913625Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:24:09.913587Z", - "to": "2024-01-17T14:24:09.913625Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:09:22.035824Z", "lte": "2024-01-17T14:24:22.035824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:09:22.035824Z", "lte": "2024-01-17T14:24:22.035824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:24:22.042052Z", - "endtime": "2024-01-17T14:24:22.035824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:09:22.035824Z", - "time_taken": 0.006172895431518555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:24:22.042052Z", - "endtime": "2024-01-17T14:24:22.035824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:09:22.035824Z", - "time_taken": 0.006172895431518555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:25:09.913460Z", - "to": "2024-01-17T14:25:09.913499Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:25:09.913460Z", - "to": "2024-01-17T14:25:09.913499Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:10:26.985222Z", "lte": "2024-01-17T14:25:26.985222Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:10:26.985222Z", "lte": "2024-01-17T14:25:26.985222Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:25:26.991586Z", - "endtime": "2024-01-17T14:25:26.985222Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:10:26.985222Z", - "time_taken": 0.00633692741394043 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:25:26.991586Z", - "endtime": "2024-01-17T14:25:26.985222Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:10:26.985222Z", - "time_taken": 0.00633692741394043 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:26:09.913399Z", - "to": "2024-01-17T14:26:09.913438Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:26:09.913399Z", - "to": "2024-01-17T14:26:09.913438Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:11:29.851406Z", "lte": "2024-01-17T14:26:29.851406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:11:29.851406Z", "lte": "2024-01-17T14:26:29.851406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:26:29.858274Z", - "endtime": "2024-01-17T14:26:29.851406Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:11:29.851406Z", - "time_taken": 0.006811857223510742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:26:29.858274Z", - "endtime": "2024-01-17T14:26:29.851406Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:11:29.851406Z", - "time_taken": 0.006811857223510742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:27:09.913596Z", - "to": "2024-01-17T14:27:09.913634Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:27:09.913596Z", - "to": "2024-01-17T14:27:09.913634Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:12:31.740210Z", "lte": "2024-01-17T14:27:31.740210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:12:31.740210Z", "lte": "2024-01-17T14:27:31.740210Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:27:31.745173Z", - "endtime": "2024-01-17T14:27:31.740210Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:12:31.740210Z", - "time_taken": 0.004937887191772461 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:27:31.745173Z", - "endtime": "2024-01-17T14:27:31.740210Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:12:31.740210Z", - "time_taken": 0.004937887191772461 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:28:09.909899Z", - "to": "2024-01-17T14:28:09.909938Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:28:09.909899Z", - "to": "2024-01-17T14:28:09.909938Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:13:33.743125Z", "lte": "2024-01-17T14:28:33.743125Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:13:33.743125Z", "lte": "2024-01-17T14:28:33.743125Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:28:33.751488Z", - "endtime": "2024-01-17T14:28:33.743125Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:13:33.743125Z", - "time_taken": 0.008308172225952148 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:28:33.751488Z", - "endtime": "2024-01-17T14:28:33.743125Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:13:33.743125Z", - "time_taken": 0.008308172225952148 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:29:09.911887Z", - "to": "2024-01-17T14:29:09.911926Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:29:09.911887Z", - "to": "2024-01-17T14:29:09.911926Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:14:36.799364Z", "lte": "2024-01-17T14:29:36.799364Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:14:36.799364Z", "lte": "2024-01-17T14:29:36.799364Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:29:36.807990Z", - "endtime": "2024-01-17T14:29:36.799364Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:14:36.799364Z", - "time_taken": 0.008587121963500977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:29:36.807990Z", - "endtime": "2024-01-17T14:29:36.799364Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:14:36.799364Z", - "time_taken": 0.008587121963500977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:30:09.906011Z", - "to": "2024-01-17T14:30:09.906037Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:30:09.906011Z", - "to": "2024-01-17T14:30:09.906037Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:15:37.102575Z", "lte": "2024-01-17T14:30:37.102575Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:15:37.102575Z", "lte": "2024-01-17T14:30:37.102575Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:30:37.111184Z", - "endtime": "2024-01-17T14:30:37.102575Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:15:37.102575Z", - "time_taken": 0.008553028106689453 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:30:37.111184Z", - "endtime": "2024-01-17T14:30:37.102575Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:15:37.102575Z", - "time_taken": 0.008553028106689453 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:31:09.906320Z", - "to": "2024-01-17T14:31:09.906336Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:31:09.906320Z", - "to": "2024-01-17T14:31:09.906336Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:16:40.904307Z", "lte": "2024-01-17T14:31:40.904307Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:16:40.904307Z", "lte": "2024-01-17T14:31:40.904307Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:31:40.910173Z", - "endtime": "2024-01-17T14:31:40.904307Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:16:40.904307Z", - "time_taken": 0.005838155746459961 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:31:40.910173Z", - "endtime": "2024-01-17T14:31:40.904307Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:16:40.904307Z", - "time_taken": 0.005838155746459961 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:32:09.912466Z", - "to": "2024-01-17T14:32:09.912505Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:32:09.912466Z", - "to": "2024-01-17T14:32:09.912505Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:17:43.947036Z", "lte": "2024-01-17T14:32:43.947036Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:17:43.947036Z", "lte": "2024-01-17T14:32:43.947036Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:32:43.955016Z", - "endtime": "2024-01-17T14:32:43.947036Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:17:43.947036Z", - "time_taken": 0.00793004035949707 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:32:43.955016Z", - "endtime": "2024-01-17T14:32:43.947036Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:17:43.947036Z", - "time_taken": 0.00793004035949707 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:33:09.903378Z", - "to": "2024-01-17T14:33:09.903404Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:33:09.903378Z", - "to": "2024-01-17T14:33:09.903404Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:18:48.112135Z", "lte": "2024-01-17T14:33:48.112135Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:18:48.112135Z", "lte": "2024-01-17T14:33:48.112135Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:33:48.120180Z", - "endtime": "2024-01-17T14:33:48.112135Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:18:48.112135Z", - "time_taken": 0.008005857467651367 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:33:48.120180Z", - "endtime": "2024-01-17T14:33:48.112135Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:18:48.112135Z", - "time_taken": 0.008005857467651367 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:34:09.914480Z", - "to": "2024-01-17T14:34:09.914519Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:34:09.914480Z", - "to": "2024-01-17T14:34:09.914519Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:19:50.524850Z", "lte": "2024-01-17T14:34:50.524850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:19:50.524850Z", "lte": "2024-01-17T14:34:50.524850Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:34:50.533265Z", - "endtime": "2024-01-17T14:34:50.524850Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:19:50.524850Z", - "time_taken": 0.008358240127563477 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:34:50.533265Z", - "endtime": "2024-01-17T14:34:50.524850Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:19:50.524850Z", - "time_taken": 0.008358240127563477 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:35:09.914620Z", - "to": "2024-01-17T14:35:09.914647Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:35:09.914620Z", - "to": "2024-01-17T14:35:09.914647Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:20:53.482677Z", "lte": "2024-01-17T14:35:53.482677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:20:53.482677Z", "lte": "2024-01-17T14:35:53.482677Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:35:53.490566Z", - "endtime": "2024-01-17T14:35:53.482677Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:20:53.482677Z", - "time_taken": 0.007848978042602539 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:35:53.490566Z", - "endtime": "2024-01-17T14:35:53.482677Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:20:53.482677Z", - "time_taken": 0.007848978042602539 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:36:09.907081Z", - "to": "2024-01-17T14:36:09.907122Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:36:09.907081Z", - "to": "2024-01-17T14:36:09.907122Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:21:56.684512Z", "lte": "2024-01-17T14:36:56.684512Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:21:56.684512Z", "lte": "2024-01-17T14:36:56.684512Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:36:56.691619Z", - "endtime": "2024-01-17T14:36:56.684512Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:21:56.684512Z", - "time_taken": 0.007050991058349609 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:36:56.691619Z", - "endtime": "2024-01-17T14:36:56.684512Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:21:56.684512Z", - "time_taken": 0.007050991058349609 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:37:09.909524Z", - "to": "2024-01-17T14:37:09.909563Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:37:09.909524Z", - "to": "2024-01-17T14:37:09.909563Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:22:59.200640Z", "lte": "2024-01-17T14:37:59.200640Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:22:59.200640Z", "lte": "2024-01-17T14:37:59.200640Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:37:59.207572Z", - "endtime": "2024-01-17T14:37:59.200640Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:22:59.200640Z", - "time_taken": 0.006876945495605469 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:37:59.207572Z", - "endtime": "2024-01-17T14:37:59.200640Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:22:59.200640Z", - "time_taken": 0.006876945495605469 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:38:09.907600Z", - "to": "2024-01-17T14:38:09.907637Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:38:09.907600Z", - "to": "2024-01-17T14:38:09.907637Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:24:02.649955Z", "lte": "2024-01-17T14:39:02.649955Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:24:02.649955Z", "lte": "2024-01-17T14:39:02.649955Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:39:02.658118Z", - "endtime": "2024-01-17T14:39:02.649955Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:24:02.649955Z", - "time_taken": 0.008124113082885742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:39:02.658118Z", - "endtime": "2024-01-17T14:39:02.649955Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:24:02.649955Z", - "time_taken": 0.008124113082885742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:39:09.913628Z", - "to": "2024-01-17T14:39:09.913666Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:39:09.913628Z", - "to": "2024-01-17T14:39:09.913666Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:25:03.674131Z", "lte": "2024-01-17T14:40:03.674131Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:25:03.674131Z", "lte": "2024-01-17T14:40:03.674131Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:40:03.686332Z", - "endtime": "2024-01-17T14:40:03.674131Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:25:03.674131Z", - "time_taken": 0.012144088745117188 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:40:03.686332Z", - "endtime": "2024-01-17T14:40:03.674131Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:25:03.674131Z", - "time_taken": 0.012144088745117188 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:40:09.913684Z", - "to": "2024-01-17T14:40:09.913725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:40:09.913684Z", - "to": "2024-01-17T14:40:09.913725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:26:04.842003Z", "lte": "2024-01-17T14:41:04.842003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:26:04.842003Z", "lte": "2024-01-17T14:41:04.842003Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:41:04.848693Z", - "endtime": "2024-01-17T14:41:04.842003Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:26:04.842003Z", - "time_taken": 0.006647825241088867 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:41:04.848693Z", - "endtime": "2024-01-17T14:41:04.842003Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:26:04.842003Z", - "time_taken": 0.006647825241088867 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:41:09.905136Z", - "to": "2024-01-17T14:41:09.905163Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:41:09.905136Z", - "to": "2024-01-17T14:41:09.905163Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:27:04.853088Z", "lte": "2024-01-17T14:42:04.853088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:27:04.853088Z", "lte": "2024-01-17T14:42:04.853088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:42:04.860250Z", - "endtime": "2024-01-17T14:42:04.853088Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:27:04.853088Z", - "time_taken": 0.00710606575012207 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:42:04.860250Z", - "endtime": "2024-01-17T14:42:04.853088Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:27:04.853088Z", - "time_taken": 0.00710606575012207 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:42:09.913362Z", - "to": "2024-01-17T14:42:09.913400Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:42:09.913362Z", - "to": "2024-01-17T14:42:09.913400Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:28:07.637086Z", "lte": "2024-01-17T14:43:07.637086Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:28:07.637086Z", "lte": "2024-01-17T14:43:07.637086Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:43:07.645197Z", - "endtime": "2024-01-17T14:43:07.637086Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:28:07.637086Z", - "time_taken": 0.008055925369262695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:43:07.645197Z", - "endtime": "2024-01-17T14:43:07.637086Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:28:07.637086Z", - "time_taken": 0.008055925369262695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:43:09.905048Z", - "to": "2024-01-17T14:43:09.905086Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:43:09.905048Z", - "to": "2024-01-17T14:43:09.905086Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:44:09.910933Z", - "to": "2024-01-17T14:44:09.910972Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:44:09.910933Z", - "to": "2024-01-17T14:44:09.910972Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:29:12.438513Z", "lte": "2024-01-17T14:44:12.438513Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:29:12.438513Z", "lte": "2024-01-17T14:44:12.438513Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:44:12.445587Z", - "endtime": "2024-01-17T14:44:12.438513Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:29:12.438513Z", - "time_taken": 0.007018089294433594 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:44:12.445587Z", - "endtime": "2024-01-17T14:44:12.438513Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:29:12.438513Z", - "time_taken": 0.007018089294433594 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:45:09.906068Z", - "to": "2024-01-17T14:45:09.906095Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:45:09.906068Z", - "to": "2024-01-17T14:45:09.906095Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:30:14.204863Z", "lte": "2024-01-17T14:45:14.204863Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:30:14.204863Z", "lte": "2024-01-17T14:45:14.204863Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:45:14.212140Z", - "endtime": "2024-01-17T14:45:14.204863Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:30:14.204863Z", - "time_taken": 0.00722193717956543 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:45:14.212140Z", - "endtime": "2024-01-17T14:45:14.204863Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:30:14.204863Z", - "time_taken": 0.00722193717956543 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:46:09.906864Z", - "to": "2024-01-17T14:46:09.906904Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:46:09.906864Z", - "to": "2024-01-17T14:46:09.906904Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:31:18.166393Z", "lte": "2024-01-17T14:46:18.166393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:31:18.166393Z", "lte": "2024-01-17T14:46:18.166393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:46:18.173602Z", - "endtime": "2024-01-17T14:46:18.166393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:31:18.166393Z", - "time_taken": 0.007150888442993164 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:46:18.173602Z", - "endtime": "2024-01-17T14:46:18.166393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:31:18.166393Z", - "time_taken": 0.007150888442993164 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:47:09.913906Z", - "to": "2024-01-17T14:47:09.913945Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:47:09.913906Z", - "to": "2024-01-17T14:47:09.913945Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:32:19.594385Z", "lte": "2024-01-17T14:47:19.594385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:32:19.594385Z", "lte": "2024-01-17T14:47:19.594385Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:47:19.604229Z", - "endtime": "2024-01-17T14:47:19.594385Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:32:19.594385Z", - "time_taken": 0.009785175323486328 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:47:19.604229Z", - "endtime": "2024-01-17T14:47:19.594385Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:32:19.594385Z", - "time_taken": 0.009785175323486328 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:48:09.910942Z", - "to": "2024-01-17T14:48:09.910980Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:48:09.910942Z", - "to": "2024-01-17T14:48:09.910980Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:33:24.340377Z", "lte": "2024-01-17T14:48:24.340377Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:33:24.340377Z", "lte": "2024-01-17T14:48:24.340377Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:48:24.350484Z", - "endtime": "2024-01-17T14:48:24.340377Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:33:24.340377Z", - "time_taken": 0.010050058364868164 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:48:24.350484Z", - "endtime": "2024-01-17T14:48:24.340377Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:33:24.340377Z", - "time_taken": 0.010050058364868164 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:49:09.913216Z", - "to": "2024-01-17T14:49:09.913232Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:49:09.913216Z", - "to": "2024-01-17T14:49:09.913232Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:34:28.859688Z", "lte": "2024-01-17T14:49:28.859688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:34:28.859688Z", "lte": "2024-01-17T14:49:28.859688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:49:28.865926Z", - "endtime": "2024-01-17T14:49:28.859688Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:34:28.859688Z", - "time_taken": 0.006194114685058594 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:49:28.865926Z", - "endtime": "2024-01-17T14:49:28.859688Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:34:28.859688Z", - "time_taken": 0.006194114685058594 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:50:09.918132Z", - "to": "2024-01-17T14:50:09.918169Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:50:09.918132Z", - "to": "2024-01-17T14:50:09.918169Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:35:32.931463Z", "lte": "2024-01-17T14:50:32.931463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:35:32.931463Z", "lte": "2024-01-17T14:50:32.931463Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:50:32.936513Z", - "endtime": "2024-01-17T14:50:32.931463Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:35:32.931463Z", - "time_taken": 0.005024909973144531 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:50:32.936513Z", - "endtime": "2024-01-17T14:50:32.931463Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:35:32.931463Z", - "time_taken": 0.005024909973144531 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:51:09.909167Z", - "to": "2024-01-17T14:51:09.909199Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:51:09.909167Z", - "to": "2024-01-17T14:51:09.909199Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:36:37.794668Z", "lte": "2024-01-17T14:51:37.794668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:36:37.794668Z", "lte": "2024-01-17T14:51:37.794668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:51:37.802905Z", - "endtime": "2024-01-17T14:51:37.794668Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:36:37.794668Z", - "time_taken": 0.008174896240234375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:51:37.802905Z", - "endtime": "2024-01-17T14:51:37.794668Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:36:37.794668Z", - "time_taken": 0.008174896240234375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:52:09.906819Z", - "to": "2024-01-17T14:52:09.906837Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:52:09.906819Z", - "to": "2024-01-17T14:52:09.906837Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:37:42.559609Z", "lte": "2024-01-17T14:52:42.559609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:37:42.559609Z", "lte": "2024-01-17T14:52:42.559609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:52:42.568482Z", - "endtime": "2024-01-17T14:52:42.559609Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:37:42.559609Z", - "time_taken": 0.008815765380859375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:52:42.568482Z", - "endtime": "2024-01-17T14:52:42.559609Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:37:42.559609Z", - "time_taken": 0.008815765380859375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:53:09.906535Z", - "to": "2024-01-17T14:53:09.906560Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:53:09.906535Z", - "to": "2024-01-17T14:53:09.906560Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:38:47.344342Z", "lte": "2024-01-17T14:53:47.344342Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:38:47.344342Z", "lte": "2024-01-17T14:53:47.344342Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:53:47.353465Z", - "endtime": "2024-01-17T14:53:47.344342Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:38:47.344342Z", - "time_taken": 0.009025096893310547 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:53:47.353465Z", - "endtime": "2024-01-17T14:53:47.344342Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:38:47.344342Z", - "time_taken": 0.009025096893310547 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:54:09.907873Z", - "to": "2024-01-17T14:54:09.907912Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:54:09.907873Z", - "to": "2024-01-17T14:54:09.907912Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:39:48.347604Z", "lte": "2024-01-17T14:54:48.347604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:39:48.347604Z", "lte": "2024-01-17T14:54:48.347604Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:54:48.356285Z", - "endtime": "2024-01-17T14:54:48.347604Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:39:48.347604Z", - "time_taken": 0.008625030517578125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:54:48.356285Z", - "endtime": "2024-01-17T14:54:48.347604Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:39:48.347604Z", - "time_taken": 0.008625030517578125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:55:09.906355Z", - "to": "2024-01-17T14:55:09.906393Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:55:09.906355Z", - "to": "2024-01-17T14:55:09.906393Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:40:50.059380Z", "lte": "2024-01-17T14:55:50.059380Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:40:50.059380Z", "lte": "2024-01-17T14:55:50.059380Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:55:50.067497Z", - "endtime": "2024-01-17T14:55:50.059380Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:40:50.059380Z", - "time_taken": 0.008060216903686523 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:55:50.067497Z", - "endtime": "2024-01-17T14:55:50.059380Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:40:50.059380Z", - "time_taken": 0.008060216903686523 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:56:09.903865Z", - "to": "2024-01-17T14:56:09.903905Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:56:09.903865Z", - "to": "2024-01-17T14:56:09.903905Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:41:53.052690Z", "lte": "2024-01-17T14:56:53.052690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:41:53.052690Z", "lte": "2024-01-17T14:56:53.052690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:56:53.063125Z", - "endtime": "2024-01-17T14:56:53.052690Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:41:53.052690Z", - "time_taken": 0.010405302047729492 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:56:53.063125Z", - "endtime": "2024-01-17T14:56:53.052690Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:41:53.052690Z", - "time_taken": 0.010405302047729492 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:57:09.908474Z", - "to": "2024-01-17T14:57:09.908516Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:57:09.908474Z", - "to": "2024-01-17T14:57:09.908516Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:42:55.167468Z", "lte": "2024-01-17T14:57:55.167468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:42:55.167468Z", "lte": "2024-01-17T14:57:55.167468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:57:55.186344Z", - "endtime": "2024-01-17T14:57:55.167468Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:42:55.167468Z", - "time_taken": 0.018841028213500977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:57:55.186344Z", - "endtime": "2024-01-17T14:57:55.167468Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:42:55.167468Z", - "time_taken": 0.018841028213500977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:58:09.908664Z", - "to": "2024-01-17T14:58:09.908716Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:58:09.908664Z", - "to": "2024-01-17T14:58:09.908716Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:43:57.060722Z", "lte": "2024-01-17T14:58:57.060722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:43:57.060722Z", "lte": "2024-01-17T14:58:57.060722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:58:57.069240Z", - "endtime": "2024-01-17T14:58:57.060722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:43:57.060722Z", - "time_taken": 0.008445024490356445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:58:57.069240Z", - "endtime": "2024-01-17T14:58:57.060722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:43:57.060722Z", - "time_taken": 0.008445024490356445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:59:09.906731Z", - "to": "2024-01-17T14:59:09.906758Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T14:59:09.906731Z", - "to": "2024-01-17T14:59:09.906758Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:44:58.144847Z", "lte": "2024-01-17T14:59:58.144847Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:44:58.144847Z", "lte": "2024-01-17T14:59:58.144847Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:59:58.155146Z", - "endtime": "2024-01-17T14:59:58.144847Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:44:58.144847Z", - "time_taken": 0.010235071182250977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T14:59:58.155146Z", - "endtime": "2024-01-17T14:59:58.144847Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:44:58.144847Z", - "time_taken": 0.010235071182250977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:00:09.908749Z", - "to": "2024-01-17T15:00:09.908787Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:00:09.908749Z", - "to": "2024-01-17T15:00:09.908787Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:46:02.347413Z", "lte": "2024-01-17T15:01:02.347413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:46:02.347413Z", "lte": "2024-01-17T15:01:02.347413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:01:02.356959Z", - "endtime": "2024-01-17T15:01:02.347413Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:46:02.347413Z", - "time_taken": 0.009488105773925781 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:01:02.356959Z", - "endtime": "2024-01-17T15:01:02.347413Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:46:02.347413Z", - "time_taken": 0.009488105773925781 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:01:09.904495Z", - "to": "2024-01-17T15:01:09.904511Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:01:09.904495Z", - "to": "2024-01-17T15:01:09.904511Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:47:06.494099Z", "lte": "2024-01-17T15:02:06.494099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:47:06.494099Z", "lte": "2024-01-17T15:02:06.494099Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:02:06.502530Z", - "endtime": "2024-01-17T15:02:06.494099Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:47:06.494099Z", - "time_taken": 0.00837397575378418 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:02:06.502530Z", - "endtime": "2024-01-17T15:02:06.494099Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:47:06.494099Z", - "time_taken": 0.00837397575378418 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:02:09.906656Z", - "to": "2024-01-17T15:02:09.906695Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:02:09.906656Z", - "to": "2024-01-17T15:02:09.906695Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:48:09.015763Z", "lte": "2024-01-17T15:03:09.015763Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:48:09.015763Z", "lte": "2024-01-17T15:03:09.015763Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:03:09.022082Z", - "endtime": "2024-01-17T15:03:09.015763Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:48:09.015763Z", - "time_taken": 0.006285905838012695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:03:09.022082Z", - "endtime": "2024-01-17T15:03:09.015763Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:48:09.015763Z", - "time_taken": 0.006285905838012695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:03:09.903528Z", - "to": "2024-01-17T15:03:09.903566Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:03:09.903528Z", - "to": "2024-01-17T15:03:09.903566Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:04:09.907350Z", - "to": "2024-01-17T15:04:09.907369Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:04:09.907350Z", - "to": "2024-01-17T15:04:09.907369Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:49:10.523891Z", "lte": "2024-01-17T15:04:10.523891Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:49:10.523891Z", "lte": "2024-01-17T15:04:10.523891Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:04:10.530593Z", - "endtime": "2024-01-17T15:04:10.523891Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:49:10.523891Z", - "time_taken": 0.006661891937255859 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:04:10.530593Z", - "endtime": "2024-01-17T15:04:10.523891Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:49:10.523891Z", - "time_taken": 0.006661891937255859 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:05:09.920683Z", - "to": "2024-01-17T15:05:09.920711Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:05:09.920683Z", - "to": "2024-01-17T15:05:09.920711Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:50:13.312528Z", "lte": "2024-01-17T15:05:13.312528Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:50:13.312528Z", "lte": "2024-01-17T15:05:13.312528Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:05:13.319456Z", - "endtime": "2024-01-17T15:05:13.312528Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:50:13.312528Z", - "time_taken": 0.006872892379760742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:05:13.319456Z", - "endtime": "2024-01-17T15:05:13.312528Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:50:13.312528Z", - "time_taken": 0.006872892379760742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:06:09.905581Z", - "to": "2024-01-17T15:06:09.905602Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:06:09.905581Z", - "to": "2024-01-17T15:06:09.905602Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:51:15.813262Z", "lte": "2024-01-17T15:06:15.813262Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:51:15.813262Z", "lte": "2024-01-17T15:06:15.813262Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:06:15.819319Z", - "endtime": "2024-01-17T15:06:15.813262Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:51:15.813262Z", - "time_taken": 0.006024837493896484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:06:15.819319Z", - "endtime": "2024-01-17T15:06:15.813262Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:51:15.813262Z", - "time_taken": 0.006024837493896484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:07:09.909064Z", - "to": "2024-01-17T15:07:09.909108Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:07:09.909064Z", - "to": "2024-01-17T15:07:09.909108Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:52:16.529328Z", "lte": "2024-01-17T15:07:16.529328Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:52:16.529328Z", "lte": "2024-01-17T15:07:16.529328Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:07:16.536109Z", - "endtime": "2024-01-17T15:07:16.529328Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:52:16.529328Z", - "time_taken": 0.006754875183105469 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:07:16.536109Z", - "endtime": "2024-01-17T15:07:16.529328Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:52:16.529328Z", - "time_taken": 0.006754875183105469 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:08:09.903868Z", - "to": "2024-01-17T15:08:09.903894Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:08:09.903868Z", - "to": "2024-01-17T15:08:09.903894Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:53:18.704938Z", "lte": "2024-01-17T15:08:18.704938Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:53:18.704938Z", "lte": "2024-01-17T15:08:18.704938Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:08:18.712683Z", - "endtime": "2024-01-17T15:08:18.704938Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:53:18.704938Z", - "time_taken": 0.007704734802246094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:08:18.712683Z", - "endtime": "2024-01-17T15:08:18.704938Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:53:18.704938Z", - "time_taken": 0.007704734802246094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:09:09.907270Z", - "to": "2024-01-17T15:09:09.907296Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:09:09.907270Z", - "to": "2024-01-17T15:09:09.907296Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:54:20.940062Z", "lte": "2024-01-17T15:09:20.940062Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:54:20.940062Z", "lte": "2024-01-17T15:09:20.940062Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:09:20.947369Z", - "endtime": "2024-01-17T15:09:20.940062Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:54:20.940062Z", - "time_taken": 0.007274150848388672 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:09:20.947369Z", - "endtime": "2024-01-17T15:09:20.940062Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:54:20.940062Z", - "time_taken": 0.007274150848388672 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:10:09.904116Z", - "to": "2024-01-17T15:10:09.904157Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:10:09.904116Z", - "to": "2024-01-17T15:10:09.904157Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:55:21.124825Z", "lte": "2024-01-17T15:10:21.124825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:55:21.124825Z", "lte": "2024-01-17T15:10:21.124825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:10:21.133667Z", - "endtime": "2024-01-17T15:10:21.124825Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:55:21.124825Z", - "time_taken": 0.008795976638793945 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:10:21.133667Z", - "endtime": "2024-01-17T15:10:21.124825Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:55:21.124825Z", - "time_taken": 0.008795976638793945 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:11:09.904419Z", - "to": "2024-01-17T15:11:09.904449Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:11:09.904419Z", - "to": "2024-01-17T15:11:09.904449Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:56:21.606868Z", "lte": "2024-01-17T15:11:21.606868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:56:21.606868Z", "lte": "2024-01-17T15:11:21.606868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:11:21.613736Z", - "endtime": "2024-01-17T15:11:21.606868Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:56:21.606868Z", - "time_taken": 0.0068280696868896484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:11:21.613736Z", - "endtime": "2024-01-17T15:11:21.606868Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:56:21.606868Z", - "time_taken": 0.0068280696868896484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:12:09.906552Z", - "to": "2024-01-17T15:12:09.906578Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:12:09.906552Z", - "to": "2024-01-17T15:12:09.906578Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:57:22.534012Z", "lte": "2024-01-17T15:12:22.534012Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:57:22.534012Z", "lte": "2024-01-17T15:12:22.534012Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:12:22.543028Z", - "endtime": "2024-01-17T15:12:22.534012Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:57:22.534012Z", - "time_taken": 0.008979082107543945 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:12:22.543028Z", - "endtime": "2024-01-17T15:12:22.534012Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:57:22.534012Z", - "time_taken": 0.008979082107543945 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:13:09.904506Z", - "to": "2024-01-17T15:13:09.904533Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:13:09.904506Z", - "to": "2024-01-17T15:13:09.904533Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:58:25.035163Z", "lte": "2024-01-17T15:13:25.035163Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:58:25.035163Z", "lte": "2024-01-17T15:13:25.035163Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:13:25.043289Z", - "endtime": "2024-01-17T15:13:25.035163Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:58:25.035163Z", - "time_taken": 0.008074045181274414 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:13:25.043289Z", - "endtime": "2024-01-17T15:13:25.035163Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:58:25.035163Z", - "time_taken": 0.008074045181274414 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:14:09.903885Z", - "to": "2024-01-17T15:14:09.903903Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:14:09.903885Z", - "to": "2024-01-17T15:14:09.903903Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:59:27.395824Z", "lte": "2024-01-17T15:14:27.395824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T14:59:27.395824Z", "lte": "2024-01-17T15:14:27.395824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:14:27.402650Z", - "endtime": "2024-01-17T15:14:27.395824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:59:27.395824Z", - "time_taken": 0.00678706169128418 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:14:27.402650Z", - "endtime": "2024-01-17T15:14:27.395824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T14:59:27.395824Z", - "time_taken": 0.00678706169128418 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:15:09.907341Z", - "to": "2024-01-17T15:15:09.907370Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:15:09.907341Z", - "to": "2024-01-17T15:15:09.907370Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:00:29.236741Z", "lte": "2024-01-17T15:15:29.236741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:00:29.236741Z", "lte": "2024-01-17T15:15:29.236741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:15:29.243341Z", - "endtime": "2024-01-17T15:15:29.236741Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:00:29.236741Z", - "time_taken": 0.006551980972290039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:15:29.243341Z", - "endtime": "2024-01-17T15:15:29.236741Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:00:29.236741Z", - "time_taken": 0.006551980972290039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:16:09.904945Z", - "to": "2024-01-17T15:16:09.904973Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:16:09.904945Z", - "to": "2024-01-17T15:16:09.904973Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:01:29.939104Z", "lte": "2024-01-17T15:16:29.939104Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:01:29.939104Z", "lte": "2024-01-17T15:16:29.939104Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:16:29.946582Z", - "endtime": "2024-01-17T15:16:29.939104Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:01:29.939104Z", - "time_taken": 0.0074388980865478516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:16:29.946582Z", - "endtime": "2024-01-17T15:16:29.939104Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:01:29.939104Z", - "time_taken": 0.0074388980865478516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:17:09.908016Z", - "to": "2024-01-17T15:17:09.908044Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:17:09.908016Z", - "to": "2024-01-17T15:17:09.908044Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:02:33.310270Z", "lte": "2024-01-17T15:17:33.310270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:02:33.310270Z", "lte": "2024-01-17T15:17:33.310270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:17:33.317430Z", - "endtime": "2024-01-17T15:17:33.310270Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:02:33.310270Z", - "time_taken": 0.007126808166503906 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:17:33.317430Z", - "endtime": "2024-01-17T15:17:33.310270Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:02:33.310270Z", - "time_taken": 0.007126808166503906 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:18:09.911070Z", - "to": "2024-01-17T15:18:09.911108Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:18:09.911070Z", - "to": "2024-01-17T15:18:09.911108Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:03:37.795607Z", "lte": "2024-01-17T15:18:37.795607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:03:37.795607Z", "lte": "2024-01-17T15:18:37.795607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:18:37.803504Z", - "endtime": "2024-01-17T15:18:37.795607Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:03:37.795607Z", - "time_taken": 0.007843255996704102 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:18:37.803504Z", - "endtime": "2024-01-17T15:18:37.795607Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:03:37.795607Z", - "time_taken": 0.007843255996704102 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:19:09.906249Z", - "to": "2024-01-17T15:19:09.906267Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:19:09.906249Z", - "to": "2024-01-17T15:19:09.906267Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:04:39.971170Z", "lte": "2024-01-17T15:19:39.971170Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:04:39.971170Z", "lte": "2024-01-17T15:19:39.971170Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:19:39.991503Z", - "endtime": "2024-01-17T15:19:39.971170Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:04:39.971170Z", - "time_taken": 0.020298004150390625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:19:39.991503Z", - "endtime": "2024-01-17T15:19:39.971170Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:04:39.971170Z", - "time_taken": 0.020298004150390625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:20:09.913449Z", - "to": "2024-01-17T15:20:09.913487Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:20:09.913449Z", - "to": "2024-01-17T15:20:09.913487Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:05:41.044270Z", "lte": "2024-01-17T15:20:41.044270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:05:41.044270Z", "lte": "2024-01-17T15:20:41.044270Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:20:41.052505Z", - "endtime": "2024-01-17T15:20:41.044270Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:05:41.044270Z", - "time_taken": 0.008175134658813477 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:20:41.052505Z", - "endtime": "2024-01-17T15:20:41.044270Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:05:41.044270Z", - "time_taken": 0.008175134658813477 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:21:09.907857Z", - "to": "2024-01-17T15:21:09.907896Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:21:09.907857Z", - "to": "2024-01-17T15:21:09.907896Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:06:43.702174Z", "lte": "2024-01-17T15:21:43.702174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:06:43.702174Z", "lte": "2024-01-17T15:21:43.702174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:21:43.710061Z", - "endtime": "2024-01-17T15:21:43.702174Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:06:43.702174Z", - "time_taken": 0.00783085823059082 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:21:43.710061Z", - "endtime": "2024-01-17T15:21:43.702174Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:06:43.702174Z", - "time_taken": 0.00783085823059082 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:22:09.908616Z", - "to": "2024-01-17T15:22:09.908656Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:22:09.908616Z", - "to": "2024-01-17T15:22:09.908656Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:07:43.890610Z", "lte": "2024-01-17T15:22:43.890610Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:07:43.890610Z", "lte": "2024-01-17T15:22:43.890610Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:22:43.897646Z", - "endtime": "2024-01-17T15:22:43.890610Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:07:43.890610Z", - "time_taken": 0.0069811344146728516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:22:43.897646Z", - "endtime": "2024-01-17T15:22:43.890610Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:07:43.890610Z", - "time_taken": 0.0069811344146728516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:23:09.903849Z", - "to": "2024-01-17T15:23:09.903868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:23:09.903849Z", - "to": "2024-01-17T15:23:09.903868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:08:44.398654Z", "lte": "2024-01-17T15:23:44.398654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:08:44.398654Z", "lte": "2024-01-17T15:23:44.398654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:23:44.405327Z", - "endtime": "2024-01-17T15:23:44.398654Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:08:44.398654Z", - "time_taken": 0.006627082824707031 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:23:44.405327Z", - "endtime": "2024-01-17T15:23:44.398654Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:08:44.398654Z", - "time_taken": 0.006627082824707031 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:24:09.903471Z", - "to": "2024-01-17T15:24:09.903496Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:24:09.903471Z", - "to": "2024-01-17T15:24:09.903496Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:09:46.753643Z", "lte": "2024-01-17T15:24:46.753643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:09:46.753643Z", "lte": "2024-01-17T15:24:46.753643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:24:46.760785Z", - "endtime": "2024-01-17T15:24:46.753643Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:09:46.753643Z", - "time_taken": 0.007086038589477539 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:24:46.760785Z", - "endtime": "2024-01-17T15:24:46.753643Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:09:46.753643Z", - "time_taken": 0.007086038589477539 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:25:09.908625Z", - "to": "2024-01-17T15:25:09.908668Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:25:09.908625Z", - "to": "2024-01-17T15:25:09.908668Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:10:50.041189Z", "lte": "2024-01-17T15:25:50.041189Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:10:50.041189Z", "lte": "2024-01-17T15:25:50.041189Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:25:50.051060Z", - "endtime": "2024-01-17T15:25:50.041189Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:10:50.041189Z", - "time_taken": 0.009813070297241211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:25:50.051060Z", - "endtime": "2024-01-17T15:25:50.041189Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:10:50.041189Z", - "time_taken": 0.009813070297241211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:26:09.906499Z", - "to": "2024-01-17T15:26:09.906522Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:26:09.906499Z", - "to": "2024-01-17T15:26:09.906522Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:11:54.273171Z", "lte": "2024-01-17T15:26:54.273171Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:11:54.273171Z", "lte": "2024-01-17T15:26:54.273171Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:26:54.280704Z", - "endtime": "2024-01-17T15:26:54.273171Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:11:54.273171Z", - "time_taken": 0.007477998733520508 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:26:54.280704Z", - "endtime": "2024-01-17T15:26:54.273171Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:11:54.273171Z", - "time_taken": 0.007477998733520508 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:27:09.908687Z", - "to": "2024-01-17T15:27:09.908718Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:27:09.908687Z", - "to": "2024-01-17T15:27:09.908718Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:12:56.597232Z", "lte": "2024-01-17T15:27:56.597232Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:12:56.597232Z", "lte": "2024-01-17T15:27:56.597232Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:27:56.606447Z", - "endtime": "2024-01-17T15:27:56.597232Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:12:56.597232Z", - "time_taken": 0.009158849716186523 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:27:56.606447Z", - "endtime": "2024-01-17T15:27:56.597232Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:12:56.597232Z", - "time_taken": 0.009158849716186523 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:28:09.904445Z", - "to": "2024-01-17T15:28:09.904472Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:28:09.904445Z", - "to": "2024-01-17T15:28:09.904472Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:14:01.565722Z", "lte": "2024-01-17T15:29:01.565722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:14:01.565722Z", "lte": "2024-01-17T15:29:01.565722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:29:01.573223Z", - "endtime": "2024-01-17T15:29:01.565722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:14:01.565722Z", - "time_taken": 0.0074460506439208984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:29:01.573223Z", - "endtime": "2024-01-17T15:29:01.565722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:14:01.565722Z", - "time_taken": 0.0074460506439208984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:29:09.912546Z", - "to": "2024-01-17T15:29:09.912575Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:29:09.912546Z", - "to": "2024-01-17T15:29:09.912575Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:15:03.974129Z", "lte": "2024-01-17T15:30:03.974129Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:15:03.974129Z", "lte": "2024-01-17T15:30:03.974129Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:30:03.982383Z", - "endtime": "2024-01-17T15:30:03.974129Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:15:03.974129Z", - "time_taken": 0.00821995735168457 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:30:03.982383Z", - "endtime": "2024-01-17T15:30:03.974129Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:15:03.974129Z", - "time_taken": 0.00821995735168457 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:30:09.910244Z", - "to": "2024-01-17T15:30:09.910283Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:30:09.910244Z", - "to": "2024-01-17T15:30:09.910283Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:16:05.700743Z", "lte": "2024-01-17T15:31:05.700743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:16:05.700743Z", "lte": "2024-01-17T15:31:05.700743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:31:05.708116Z", - "endtime": "2024-01-17T15:31:05.700743Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:16:05.700743Z", - "time_taken": 0.007334709167480469 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:31:05.708116Z", - "endtime": "2024-01-17T15:31:05.700743Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:16:05.700743Z", - "time_taken": 0.007334709167480469 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:31:09.909391Z", - "to": "2024-01-17T15:31:09.909429Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:31:09.909391Z", - "to": "2024-01-17T15:31:09.909429Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:32:09.911489Z", - "to": "2024-01-17T15:32:09.911527Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:32:09.911489Z", - "to": "2024-01-17T15:32:09.911527Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:17:10.337235Z", "lte": "2024-01-17T15:32:10.337235Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:17:10.337235Z", "lte": "2024-01-17T15:32:10.337235Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:32:10.344583Z", - "endtime": "2024-01-17T15:32:10.337235Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:17:10.337235Z", - "time_taken": 0.007287025451660156 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:32:10.344583Z", - "endtime": "2024-01-17T15:32:10.337235Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:17:10.337235Z", - "time_taken": 0.007287025451660156 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:33:09.911362Z", - "to": "2024-01-17T15:33:09.911401Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:33:09.911362Z", - "to": "2024-01-17T15:33:09.911401Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:18:10.827063Z", "lte": "2024-01-17T15:33:10.827063Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:18:10.827063Z", "lte": "2024-01-17T15:33:10.827063Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:33:10.833972Z", - "endtime": "2024-01-17T15:33:10.827063Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:18:10.827063Z", - "time_taken": 0.006851911544799805 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:33:10.833972Z", - "endtime": "2024-01-17T15:33:10.827063Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:18:10.827063Z", - "time_taken": 0.006851911544799805 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:34:09.910603Z", - "to": "2024-01-17T15:34:09.910643Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:34:09.910603Z", - "to": "2024-01-17T15:34:09.910643Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:19:15.546878Z", "lte": "2024-01-17T15:34:15.546878Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:19:15.546878Z", "lte": "2024-01-17T15:34:15.546878Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:34:15.555561Z", - "endtime": "2024-01-17T15:34:15.546878Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:19:15.546878Z", - "time_taken": 0.008625984191894531 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:34:15.555561Z", - "endtime": "2024-01-17T15:34:15.546878Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:19:15.546878Z", - "time_taken": 0.008625984191894531 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:35:09.911751Z", - "to": "2024-01-17T15:35:09.911773Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:35:09.911751Z", - "to": "2024-01-17T15:35:09.911773Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:20:18.857680Z", "lte": "2024-01-17T15:35:18.857680Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:20:18.857680Z", "lte": "2024-01-17T15:35:18.857680Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:35:18.868221Z", - "endtime": "2024-01-17T15:35:18.857680Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:20:18.857680Z", - "time_taken": 0.010500907897949219 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:35:18.868221Z", - "endtime": "2024-01-17T15:35:18.857680Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:20:18.857680Z", - "time_taken": 0.010500907897949219 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:36:09.906635Z", - "to": "2024-01-17T15:36:09.906678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:36:09.906635Z", - "to": "2024-01-17T15:36:09.906678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:21:22.415453Z", "lte": "2024-01-17T15:36:22.415453Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:21:22.415453Z", "lte": "2024-01-17T15:36:22.415453Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:36:22.422351Z", - "endtime": "2024-01-17T15:36:22.415453Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:21:22.415453Z", - "time_taken": 0.006858110427856445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:36:22.422351Z", - "endtime": "2024-01-17T15:36:22.415453Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:21:22.415453Z", - "time_taken": 0.006858110427856445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:37:09.905248Z", - "to": "2024-01-17T15:37:09.905285Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:37:09.905248Z", - "to": "2024-01-17T15:37:09.905285Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:22:23.968159Z", "lte": "2024-01-17T15:37:23.968159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:22:23.968159Z", "lte": "2024-01-17T15:37:23.968159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:37:23.975187Z", - "endtime": "2024-01-17T15:37:23.968159Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:22:23.968159Z", - "time_taken": 0.006972074508666992 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:37:23.975187Z", - "endtime": "2024-01-17T15:37:23.968159Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:22:23.968159Z", - "time_taken": 0.006972074508666992 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:38:09.909766Z", - "to": "2024-01-17T15:38:09.909804Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:38:09.909766Z", - "to": "2024-01-17T15:38:09.909804Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:23:24.110275Z", "lte": "2024-01-17T15:38:24.110275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:23:24.110275Z", "lte": "2024-01-17T15:38:24.110275Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:38:24.117332Z", - "endtime": "2024-01-17T15:38:24.110275Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:23:24.110275Z", - "time_taken": 0.0070018768310546875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:38:24.117332Z", - "endtime": "2024-01-17T15:38:24.110275Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:23:24.110275Z", - "time_taken": 0.0070018768310546875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:39:09.909713Z", - "to": "2024-01-17T15:39:09.909753Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:39:09.909713Z", - "to": "2024-01-17T15:39:09.909753Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:24:27.984984Z", "lte": "2024-01-17T15:39:27.984984Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:24:27.984984Z", "lte": "2024-01-17T15:39:27.984984Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:39:27.994133Z", - "endtime": "2024-01-17T15:39:27.984984Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:24:27.984984Z", - "time_taken": 0.00910806655883789 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:39:27.994133Z", - "endtime": "2024-01-17T15:39:27.984984Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:24:27.984984Z", - "time_taken": 0.00910806655883789 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:40:09.909638Z", - "to": "2024-01-17T15:40:09.909680Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:40:09.909638Z", - "to": "2024-01-17T15:40:09.909680Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:25:31.231310Z", "lte": "2024-01-17T15:40:31.231310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:25:31.231310Z", "lte": "2024-01-17T15:40:31.231310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:40:31.246078Z", - "endtime": "2024-01-17T15:40:31.231310Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:25:31.231310Z", - "time_taken": 0.014732122421264648 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:40:31.246078Z", - "endtime": "2024-01-17T15:40:31.231310Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:25:31.231310Z", - "time_taken": 0.014732122421264648 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:41:09.904833Z", - "to": "2024-01-17T15:41:09.904855Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:41:09.904833Z", - "to": "2024-01-17T15:41:09.904855Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:26:35.288142Z", "lte": "2024-01-17T15:41:35.288142Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:26:35.288142Z", "lte": "2024-01-17T15:41:35.288142Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:41:35.293786Z", - "endtime": "2024-01-17T15:41:35.288142Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:26:35.288142Z", - "time_taken": 0.0056188106536865234 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:41:35.293786Z", - "endtime": "2024-01-17T15:41:35.288142Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:26:35.288142Z", - "time_taken": 0.0056188106536865234 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:42:09.907254Z", - "to": "2024-01-17T15:42:09.907281Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:42:09.907254Z", - "to": "2024-01-17T15:42:09.907281Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:27:38.630992Z", "lte": "2024-01-17T15:42:38.630992Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:27:38.630992Z", "lte": "2024-01-17T15:42:38.630992Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:42:38.638908Z", - "endtime": "2024-01-17T15:42:38.630992Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:27:38.630992Z", - "time_taken": 0.007858991622924805 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:42:38.638908Z", - "endtime": "2024-01-17T15:42:38.630992Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:27:38.630992Z", - "time_taken": 0.007858991622924805 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:43:09.908723Z", - "to": "2024-01-17T15:43:09.908749Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:43:09.908723Z", - "to": "2024-01-17T15:43:09.908749Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:28:40.684618Z", "lte": "2024-01-17T15:43:40.684618Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:28:40.684618Z", "lte": "2024-01-17T15:43:40.684618Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:43:40.691234Z", - "endtime": "2024-01-17T15:43:40.684618Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:28:40.684618Z", - "time_taken": 0.0065801143646240234 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:43:40.691234Z", - "endtime": "2024-01-17T15:43:40.684618Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:28:40.684618Z", - "time_taken": 0.0065801143646240234 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:44:09.904088Z", - "to": "2024-01-17T15:44:09.904132Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:44:09.904088Z", - "to": "2024-01-17T15:44:09.904132Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:29:44.050822Z", "lte": "2024-01-17T15:44:44.050822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:29:44.050822Z", "lte": "2024-01-17T15:44:44.050822Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:44:44.057858Z", - "endtime": "2024-01-17T15:44:44.050822Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:29:44.050822Z", - "time_taken": 0.006978034973144531 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:44:44.057858Z", - "endtime": "2024-01-17T15:44:44.050822Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:29:44.050822Z", - "time_taken": 0.006978034973144531 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:45:09.903680Z", - "to": "2024-01-17T15:45:09.903706Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:45:09.903680Z", - "to": "2024-01-17T15:45:09.903706Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:30:45.967413Z", "lte": "2024-01-17T15:45:45.967413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:30:45.967413Z", "lte": "2024-01-17T15:45:45.967413Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:45:45.974831Z", - "endtime": "2024-01-17T15:45:45.967413Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:30:45.967413Z", - "time_taken": 0.007363080978393555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:45:45.974831Z", - "endtime": "2024-01-17T15:45:45.967413Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:30:45.967413Z", - "time_taken": 0.007363080978393555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:46:09.907638Z", - "to": "2024-01-17T15:46:09.907680Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:46:09.907638Z", - "to": "2024-01-17T15:46:09.907680Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:31:46.613642Z", "lte": "2024-01-17T15:46:46.613642Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:31:46.613642Z", "lte": "2024-01-17T15:46:46.613642Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:46:46.620493Z", - "endtime": "2024-01-17T15:46:46.613642Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:31:46.613642Z", - "time_taken": 0.0067899227142333984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:46:46.620493Z", - "endtime": "2024-01-17T15:46:46.613642Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:31:46.613642Z", - "time_taken": 0.0067899227142333984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:47:09.909084Z", - "to": "2024-01-17T15:47:09.909101Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:47:09.909084Z", - "to": "2024-01-17T15:47:09.909101Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:32:49.156406Z", "lte": "2024-01-17T15:47:49.156406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:32:49.156406Z", "lte": "2024-01-17T15:47:49.156406Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:47:49.166233Z", - "endtime": "2024-01-17T15:47:49.156406Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:32:49.156406Z", - "time_taken": 0.009788990020751953 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:47:49.166233Z", - "endtime": "2024-01-17T15:47:49.156406Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:32:49.156406Z", - "time_taken": 0.009788990020751953 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:48:09.907189Z", - "to": "2024-01-17T15:48:09.907218Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:48:09.907189Z", - "to": "2024-01-17T15:48:09.907218Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:33:52.550637Z", "lte": "2024-01-17T15:48:52.550637Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:33:52.550637Z", "lte": "2024-01-17T15:48:52.550637Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:48:52.557598Z", - "endtime": "2024-01-17T15:48:52.550637Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:33:52.550637Z", - "time_taken": 0.006905078887939453 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:48:52.557598Z", - "endtime": "2024-01-17T15:48:52.550637Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:33:52.550637Z", - "time_taken": 0.006905078887939453 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:49:09.908399Z", - "to": "2024-01-17T15:49:09.908433Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:49:09.908399Z", - "to": "2024-01-17T15:49:09.908433Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:34:56.189061Z", "lte": "2024-01-17T15:49:56.189061Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:34:56.189061Z", "lte": "2024-01-17T15:49:56.189061Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:49:56.196292Z", - "endtime": "2024-01-17T15:49:56.189061Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:34:56.189061Z", - "time_taken": 0.007192134857177734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:49:56.196292Z", - "endtime": "2024-01-17T15:49:56.189061Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:34:56.189061Z", - "time_taken": 0.007192134857177734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:50:09.905400Z", - "to": "2024-01-17T15:50:09.905422Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:50:09.905400Z", - "to": "2024-01-17T15:50:09.905422Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:35:58.916741Z", "lte": "2024-01-17T15:50:58.916741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:35:58.916741Z", "lte": "2024-01-17T15:50:58.916741Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:50:58.925965Z", - "endtime": "2024-01-17T15:50:58.916741Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:35:58.916741Z", - "time_taken": 0.009168863296508789 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:50:58.925965Z", - "endtime": "2024-01-17T15:50:58.916741Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:35:58.916741Z", - "time_taken": 0.009168863296508789 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:51:09.903732Z", - "to": "2024-01-17T15:51:09.903773Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:51:09.903732Z", - "to": "2024-01-17T15:51:09.903773Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:37:03.556556Z", "lte": "2024-01-17T15:52:03.556556Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:37:03.556556Z", "lte": "2024-01-17T15:52:03.556556Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:52:03.562911Z", - "endtime": "2024-01-17T15:52:03.556556Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:37:03.556556Z", - "time_taken": 0.006312131881713867 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:52:03.562911Z", - "endtime": "2024-01-17T15:52:03.556556Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:37:03.556556Z", - "time_taken": 0.006312131881713867 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:52:09.904791Z", - "to": "2024-01-17T15:52:09.904819Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:52:09.904791Z", - "to": "2024-01-17T15:52:09.904819Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:38:03.784249Z", "lte": "2024-01-17T15:53:03.784249Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:38:03.784249Z", "lte": "2024-01-17T15:53:03.784249Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:53:03.793641Z", - "endtime": "2024-01-17T15:53:03.784249Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:38:03.784249Z", - "time_taken": 0.009322166442871094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:53:03.793641Z", - "endtime": "2024-01-17T15:53:03.784249Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:38:03.784249Z", - "time_taken": 0.009322166442871094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:53:09.904891Z", - "to": "2024-01-17T15:53:09.904908Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:53:09.904891Z", - "to": "2024-01-17T15:53:09.904908Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:39:05.794506Z", "lte": "2024-01-17T15:54:05.794506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:39:05.794506Z", "lte": "2024-01-17T15:54:05.794506Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:54:05.802038Z", - "endtime": "2024-01-17T15:54:05.794506Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:39:05.794506Z", - "time_taken": 0.0074808597564697266 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:54:05.802038Z", - "endtime": "2024-01-17T15:54:05.794506Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:39:05.794506Z", - "time_taken": 0.0074808597564697266 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:54:09.907985Z", - "to": "2024-01-17T15:54:09.908027Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:54:09.907985Z", - "to": "2024-01-17T15:54:09.908027Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:40:05.978777Z", "lte": "2024-01-17T15:55:05.978777Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:40:05.978777Z", "lte": "2024-01-17T15:55:05.978777Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:55:05.986452Z", - "endtime": "2024-01-17T15:55:05.978777Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:40:05.978777Z", - "time_taken": 0.007635831832885742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:55:05.986452Z", - "endtime": "2024-01-17T15:55:05.978777Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:40:05.978777Z", - "time_taken": 0.007635831832885742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:55:09.906448Z", - "to": "2024-01-17T15:55:09.906486Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:55:09.906448Z", - "to": "2024-01-17T15:55:09.906486Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:41:06.151697Z", "lte": "2024-01-17T15:56:06.151697Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:41:06.151697Z", "lte": "2024-01-17T15:56:06.151697Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:56:06.158718Z", - "endtime": "2024-01-17T15:56:06.151697Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:41:06.151697Z", - "time_taken": 0.006964921951293945 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:56:06.158718Z", - "endtime": "2024-01-17T15:56:06.151697Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:41:06.151697Z", - "time_taken": 0.006964921951293945 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:56:09.903787Z", - "to": "2024-01-17T15:56:09.903832Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:56:09.903787Z", - "to": "2024-01-17T15:56:09.903832Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:42:08.190645Z", "lte": "2024-01-17T15:57:08.190645Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:42:08.190645Z", "lte": "2024-01-17T15:57:08.190645Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:57:08.196970Z", - "endtime": "2024-01-17T15:57:08.190645Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:42:08.190645Z", - "time_taken": 0.006289005279541016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:57:08.196970Z", - "endtime": "2024-01-17T15:57:08.190645Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:42:08.190645Z", - "time_taken": 0.006289005279541016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:57:09.907988Z", - "to": "2024-01-17T15:57:09.908031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:57:09.907988Z", - "to": "2024-01-17T15:57:09.908031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:58:09.904851Z", - "to": "2024-01-17T15:58:09.904876Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:58:09.904851Z", - "to": "2024-01-17T15:58:09.904876Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:43:12.713068Z", "lte": "2024-01-17T15:58:12.713068Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:43:12.713068Z", "lte": "2024-01-17T15:58:12.713068Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:58:12.721134Z", - "endtime": "2024-01-17T15:58:12.713068Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:43:12.713068Z", - "time_taken": 0.008009910583496094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:58:12.721134Z", - "endtime": "2024-01-17T15:58:12.713068Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:43:12.713068Z", - "time_taken": 0.008009910583496094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:59:09.904812Z", - "to": "2024-01-17T15:59:09.904851Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T15:59:09.904812Z", - "to": "2024-01-17T15:59:09.904851Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:44:15.017701Z", "lte": "2024-01-17T15:59:15.017701Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:44:15.017701Z", "lte": "2024-01-17T15:59:15.017701Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:59:15.024642Z", - "endtime": "2024-01-17T15:59:15.017701Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:44:15.017701Z", - "time_taken": 0.006886720657348633 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T15:59:15.024642Z", - "endtime": "2024-01-17T15:59:15.017701Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:44:15.017701Z", - "time_taken": 0.006886720657348633 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:00:09.907647Z", - "to": "2024-01-17T16:00:09.907678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:00:09.907647Z", - "to": "2024-01-17T16:00:09.907678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:45:15.833559Z", "lte": "2024-01-17T16:00:15.833559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:45:15.833559Z", "lte": "2024-01-17T16:00:15.833559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:00:15.840448Z", - "endtime": "2024-01-17T16:00:15.833559Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:45:15.833559Z", - "time_taken": 0.00683283805847168 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:00:15.840448Z", - "endtime": "2024-01-17T16:00:15.833559Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:45:15.833559Z", - "time_taken": 0.00683283805847168 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:01:09.904005Z", - "to": "2024-01-17T16:01:09.904022Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:01:09.904005Z", - "to": "2024-01-17T16:01:09.904022Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:46:16.833916Z", "lte": "2024-01-17T16:01:16.833916Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:46:16.833916Z", "lte": "2024-01-17T16:01:16.833916Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:01:16.839606Z", - "endtime": "2024-01-17T16:01:16.833916Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:46:16.833916Z", - "time_taken": 0.005663156509399414 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:01:16.839606Z", - "endtime": "2024-01-17T16:01:16.833916Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:46:16.833916Z", - "time_taken": 0.005663156509399414 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:02:09.906317Z", - "to": "2024-01-17T16:02:09.906360Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:02:09.906317Z", - "to": "2024-01-17T16:02:09.906360Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:47:16.913318Z", "lte": "2024-01-17T16:02:16.913318Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:47:16.913318Z", "lte": "2024-01-17T16:02:16.913318Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:02:16.919651Z", - "endtime": "2024-01-17T16:02:16.913318Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:47:16.913318Z", - "time_taken": 0.00630497932434082 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:02:16.919651Z", - "endtime": "2024-01-17T16:02:16.913318Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:47:16.913318Z", - "time_taken": 0.00630497932434082 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:03:09.906306Z", - "to": "2024-01-17T16:03:09.906326Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:03:09.906306Z", - "to": "2024-01-17T16:03:09.906326Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:48:18.727949Z", "lte": "2024-01-17T16:03:18.727949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:48:18.727949Z", "lte": "2024-01-17T16:03:18.727949Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:03:18.735799Z", - "endtime": "2024-01-17T16:03:18.727949Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:48:18.727949Z", - "time_taken": 0.007809162139892578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:03:18.735799Z", - "endtime": "2024-01-17T16:03:18.727949Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:48:18.727949Z", - "time_taken": 0.007809162139892578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:04:09.908459Z", - "to": "2024-01-17T16:04:09.908500Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:04:09.908459Z", - "to": "2024-01-17T16:04:09.908500Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:49:19.602089Z", "lte": "2024-01-17T16:04:19.602089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:49:19.602089Z", "lte": "2024-01-17T16:04:19.602089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:04:19.609295Z", - "endtime": "2024-01-17T16:04:19.602089Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:49:19.602089Z", - "time_taken": 0.007172107696533203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:04:19.609295Z", - "endtime": "2024-01-17T16:04:19.602089Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:49:19.602089Z", - "time_taken": 0.007172107696533203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:05:09.903610Z", - "to": "2024-01-17T16:05:09.903633Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:05:09.903610Z", - "to": "2024-01-17T16:05:09.903633Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:50:21.870880Z", "lte": "2024-01-17T16:05:21.870880Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:50:21.870880Z", "lte": "2024-01-17T16:05:21.870880Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:05:21.877281Z", - "endtime": "2024-01-17T16:05:21.870880Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:50:21.870880Z", - "time_taken": 0.006374835968017578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:05:21.877281Z", - "endtime": "2024-01-17T16:05:21.870880Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:50:21.870880Z", - "time_taken": 0.006374835968017578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:06:09.907042Z", - "to": "2024-01-17T16:06:09.907059Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:06:09.907042Z", - "to": "2024-01-17T16:06:09.907059Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:51:22.353784Z", "lte": "2024-01-17T16:06:22.353784Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:51:22.353784Z", "lte": "2024-01-17T16:06:22.353784Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:06:22.361751Z", - "endtime": "2024-01-17T16:06:22.353784Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:51:22.353784Z", - "time_taken": 0.007934808731079102 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:06:22.361751Z", - "endtime": "2024-01-17T16:06:22.353784Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:51:22.353784Z", - "time_taken": 0.007934808731079102 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:07:09.906366Z", - "to": "2024-01-17T16:07:09.906388Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:07:09.906366Z", - "to": "2024-01-17T16:07:09.906388Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:52:25.378088Z", "lte": "2024-01-17T16:07:25.378088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:52:25.378088Z", "lte": "2024-01-17T16:07:25.378088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:07:25.385234Z", - "endtime": "2024-01-17T16:07:25.378088Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:52:25.378088Z", - "time_taken": 0.007090091705322266 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:07:25.385234Z", - "endtime": "2024-01-17T16:07:25.378088Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:52:25.378088Z", - "time_taken": 0.007090091705322266 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:08:09.904425Z", - "to": "2024-01-17T16:08:09.904464Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:08:09.904425Z", - "to": "2024-01-17T16:08:09.904464Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:53:27.262144Z", "lte": "2024-01-17T16:08:27.262144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:53:27.262144Z", "lte": "2024-01-17T16:08:27.262144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:08:27.267883Z", - "endtime": "2024-01-17T16:08:27.262144Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:53:27.262144Z", - "time_taken": 0.005712985992431641 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:08:27.267883Z", - "endtime": "2024-01-17T16:08:27.262144Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:53:27.262144Z", - "time_taken": 0.005712985992431641 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:09:09.906367Z", - "to": "2024-01-17T16:09:09.906407Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:09:09.906367Z", - "to": "2024-01-17T16:09:09.906407Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:54:30.247146Z", "lte": "2024-01-17T16:09:30.247146Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:54:30.247146Z", "lte": "2024-01-17T16:09:30.247146Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:09:30.281321Z", - "endtime": "2024-01-17T16:09:30.247146Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:54:30.247146Z", - "time_taken": 0.03412127494812012 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:09:30.281321Z", - "endtime": "2024-01-17T16:09:30.247146Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:54:30.247146Z", - "time_taken": 0.03412127494812012 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:10:09.903654Z", - "to": "2024-01-17T16:10:09.903689Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:10:09.903654Z", - "to": "2024-01-17T16:10:09.903689Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:55:33.684867Z", "lte": "2024-01-17T16:10:33.684867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:55:33.684867Z", "lte": "2024-01-17T16:10:33.684867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:10:33.691744Z", - "endtime": "2024-01-17T16:10:33.684867Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:55:33.684867Z", - "time_taken": 0.0068438053131103516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:10:33.691744Z", - "endtime": "2024-01-17T16:10:33.684867Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:55:33.684867Z", - "time_taken": 0.0068438053131103516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:11:09.906901Z", - "to": "2024-01-17T16:11:09.906920Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:11:09.906901Z", - "to": "2024-01-17T16:11:09.906920Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:56:37.578648Z", "lte": "2024-01-17T16:11:37.578648Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:56:37.578648Z", "lte": "2024-01-17T16:11:37.578648Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:11:37.586431Z", - "endtime": "2024-01-17T16:11:37.578648Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:56:37.578648Z", - "time_taken": 0.007751941680908203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:11:37.586431Z", - "endtime": "2024-01-17T16:11:37.578648Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:56:37.578648Z", - "time_taken": 0.007751941680908203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:12:09.908698Z", - "to": "2024-01-17T16:12:09.908736Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:12:09.908698Z", - "to": "2024-01-17T16:12:09.908736Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:57:38.936047Z", "lte": "2024-01-17T16:12:38.936047Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:57:38.936047Z", "lte": "2024-01-17T16:12:38.936047Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:12:38.950651Z", - "endtime": "2024-01-17T16:12:38.936047Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:57:38.936047Z", - "time_taken": 0.01454305648803711 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:12:38.950651Z", - "endtime": "2024-01-17T16:12:38.936047Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:57:38.936047Z", - "time_taken": 0.01454305648803711 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:13:09.908178Z", - "to": "2024-01-17T16:13:09.908222Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:13:09.908178Z", - "to": "2024-01-17T16:13:09.908222Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:58:40.991981Z", "lte": "2024-01-17T16:13:40.991981Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:58:40.991981Z", "lte": "2024-01-17T16:13:40.991981Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:13:40.998554Z", - "endtime": "2024-01-17T16:13:40.991981Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:58:40.991981Z", - "time_taken": 0.006534099578857422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:13:40.998554Z", - "endtime": "2024-01-17T16:13:40.991981Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:58:40.991981Z", - "time_taken": 0.006534099578857422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:14:09.906651Z", - "to": "2024-01-17T16:14:09.906691Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:14:09.906651Z", - "to": "2024-01-17T16:14:09.906691Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:59:43.415899Z", "lte": "2024-01-17T16:14:43.415899Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T15:59:43.415899Z", "lte": "2024-01-17T16:14:43.415899Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:14:43.422777Z", - "endtime": "2024-01-17T16:14:43.415899Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:59:43.415899Z", - "time_taken": 0.006824016571044922 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:14:43.422777Z", - "endtime": "2024-01-17T16:14:43.415899Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T15:59:43.415899Z", - "time_taken": 0.006824016571044922 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:15:09.906141Z", - "to": "2024-01-17T16:15:09.906168Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:15:09.906141Z", - "to": "2024-01-17T16:15:09.906168Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:00:46.092274Z", "lte": "2024-01-17T16:15:46.092274Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:00:46.092274Z", "lte": "2024-01-17T16:15:46.092274Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:15:46.103754Z", - "endtime": "2024-01-17T16:15:46.092274Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:00:46.092274Z", - "time_taken": 0.011452913284301758 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:15:46.103754Z", - "endtime": "2024-01-17T16:15:46.092274Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:00:46.092274Z", - "time_taken": 0.011452913284301758 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:16:09.907013Z", - "to": "2024-01-17T16:16:09.907032Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:16:09.907013Z", - "to": "2024-01-17T16:16:09.907032Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:01:47.189230Z", "lte": "2024-01-17T16:16:47.189230Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:01:47.189230Z", "lte": "2024-01-17T16:16:47.189230Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:16:47.196933Z", - "endtime": "2024-01-17T16:16:47.189230Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:01:47.189230Z", - "time_taken": 0.007647037506103516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:16:47.196933Z", - "endtime": "2024-01-17T16:16:47.189230Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:01:47.189230Z", - "time_taken": 0.007647037506103516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:17:09.905070Z", - "to": "2024-01-17T16:17:09.905111Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:17:09.905070Z", - "to": "2024-01-17T16:17:09.905111Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:02:51.126663Z", "lte": "2024-01-17T16:17:51.126663Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:02:51.126663Z", "lte": "2024-01-17T16:17:51.126663Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:17:51.133967Z", - "endtime": "2024-01-17T16:17:51.126663Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:02:51.126663Z", - "time_taken": 0.007276058197021484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:17:51.133967Z", - "endtime": "2024-01-17T16:17:51.126663Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:02:51.126663Z", - "time_taken": 0.007276058197021484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:18:09.903764Z", - "to": "2024-01-17T16:18:09.903789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:18:09.903764Z", - "to": "2024-01-17T16:18:09.903789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:03:54.562011Z", "lte": "2024-01-17T16:18:54.562011Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:03:54.562011Z", "lte": "2024-01-17T16:18:54.562011Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:18:54.568733Z", - "endtime": "2024-01-17T16:18:54.562011Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:03:54.562011Z", - "time_taken": 0.006667137145996094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:18:54.568733Z", - "endtime": "2024-01-17T16:18:54.562011Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:03:54.562011Z", - "time_taken": 0.006667137145996094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:19:09.904446Z", - "to": "2024-01-17T16:19:09.904463Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:19:09.904446Z", - "to": "2024-01-17T16:19:09.904463Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:04:57.573959Z", "lte": "2024-01-17T16:19:57.573959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:04:57.573959Z", "lte": "2024-01-17T16:19:57.573959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:19:57.580169Z", - "endtime": "2024-01-17T16:19:57.573959Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:04:57.573959Z", - "time_taken": 0.006174325942993164 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:19:57.580169Z", - "endtime": "2024-01-17T16:19:57.573959Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:04:57.573959Z", - "time_taken": 0.006174325942993164 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:20:09.907922Z", - "to": "2024-01-17T16:20:09.907945Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:20:09.907922Z", - "to": "2024-01-17T16:20:09.907945Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:06:00.868989Z", "lte": "2024-01-17T16:21:00.868989Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:06:00.868989Z", "lte": "2024-01-17T16:21:00.868989Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:21:00.877917Z", - "endtime": "2024-01-17T16:21:00.868989Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:06:00.868989Z", - "time_taken": 0.008888959884643555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:21:00.877917Z", - "endtime": "2024-01-17T16:21:00.868989Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:06:00.868989Z", - "time_taken": 0.008888959884643555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:21:09.906502Z", - "to": "2024-01-17T16:21:09.906528Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:21:09.906502Z", - "to": "2024-01-17T16:21:09.906528Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:07:01.301225Z", "lte": "2024-01-17T16:22:01.301225Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:07:01.301225Z", "lte": "2024-01-17T16:22:01.301225Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:22:01.322687Z", - "endtime": "2024-01-17T16:22:01.301225Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:07:01.301225Z", - "time_taken": 0.021384239196777344 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:22:01.322687Z", - "endtime": "2024-01-17T16:22:01.301225Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:07:01.301225Z", - "time_taken": 0.021384239196777344 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:22:09.907519Z", - "to": "2024-01-17T16:22:09.907559Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:22:09.907519Z", - "to": "2024-01-17T16:22:09.907559Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:08:04.233428Z", "lte": "2024-01-17T16:23:04.233428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:08:04.233428Z", "lte": "2024-01-17T16:23:04.233428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:23:04.240458Z", - "endtime": "2024-01-17T16:23:04.233428Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:08:04.233428Z", - "time_taken": 0.00698399543762207 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:23:04.240458Z", - "endtime": "2024-01-17T16:23:04.233428Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:08:04.233428Z", - "time_taken": 0.00698399543762207 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:23:09.908037Z", - "to": "2024-01-17T16:23:09.908053Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:23:09.908037Z", - "to": "2024-01-17T16:23:09.908053Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:09:06.532458Z", "lte": "2024-01-17T16:24:06.532458Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:09:06.532458Z", "lte": "2024-01-17T16:24:06.532458Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:24:06.539323Z", - "endtime": "2024-01-17T16:24:06.532458Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:09:06.532458Z", - "time_taken": 0.006831169128417969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:24:06.539323Z", - "endtime": "2024-01-17T16:24:06.532458Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:09:06.532458Z", - "time_taken": 0.006831169128417969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:24:09.905102Z", - "to": "2024-01-17T16:24:09.905128Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:24:09.905102Z", - "to": "2024-01-17T16:24:09.905128Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:25:09.903397Z", - "to": "2024-01-17T16:25:09.903422Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:25:09.903397Z", - "to": "2024-01-17T16:25:09.903422Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:10:10.496219Z", "lte": "2024-01-17T16:25:10.496219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:10:10.496219Z", "lte": "2024-01-17T16:25:10.496219Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:25:10.502416Z", - "endtime": "2024-01-17T16:25:10.496219Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:10:10.496219Z", - "time_taken": 0.006156206130981445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:25:10.502416Z", - "endtime": "2024-01-17T16:25:10.496219Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:10:10.496219Z", - "time_taken": 0.006156206130981445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:26:09.903759Z", - "to": "2024-01-17T16:26:09.903785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:26:09.903759Z", - "to": "2024-01-17T16:26:09.903785Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:11:12.733261Z", "lte": "2024-01-17T16:26:12.733261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:11:12.733261Z", "lte": "2024-01-17T16:26:12.733261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:26:12.739320Z", - "endtime": "2024-01-17T16:26:12.733261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:11:12.733261Z", - "time_taken": 0.0060291290283203125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:26:12.739320Z", - "endtime": "2024-01-17T16:26:12.733261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:11:12.733261Z", - "time_taken": 0.0060291290283203125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:27:09.903756Z", - "to": "2024-01-17T16:27:09.903795Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:27:09.903756Z", - "to": "2024-01-17T16:27:09.903795Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:12:16.537815Z", "lte": "2024-01-17T16:27:16.537815Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:12:16.537815Z", "lte": "2024-01-17T16:27:16.537815Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:27:16.543888Z", - "endtime": "2024-01-17T16:27:16.537815Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:12:16.537815Z", - "time_taken": 0.006039142608642578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:27:16.543888Z", - "endtime": "2024-01-17T16:27:16.537815Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:12:16.537815Z", - "time_taken": 0.006039142608642578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:28:09.908132Z", - "to": "2024-01-17T16:28:09.908171Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:28:09.908132Z", - "to": "2024-01-17T16:28:09.908171Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:13:17.924644Z", "lte": "2024-01-17T16:28:17.924644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:13:17.924644Z", "lte": "2024-01-17T16:28:17.924644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:28:17.931987Z", - "endtime": "2024-01-17T16:28:17.924644Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:13:17.924644Z", - "time_taken": 0.007302045822143555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:28:17.931987Z", - "endtime": "2024-01-17T16:28:17.924644Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:13:17.924644Z", - "time_taken": 0.007302045822143555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:29:09.908569Z", - "to": "2024-01-17T16:29:09.908612Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:29:09.908569Z", - "to": "2024-01-17T16:29:09.908612Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:14:22.381644Z", "lte": "2024-01-17T16:29:22.381644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:14:22.381644Z", "lte": "2024-01-17T16:29:22.381644Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:29:22.388841Z", - "endtime": "2024-01-17T16:29:22.381644Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:14:22.381644Z", - "time_taken": 0.0071642398834228516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:29:22.388841Z", - "endtime": "2024-01-17T16:29:22.381644Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:14:22.381644Z", - "time_taken": 0.0071642398834228516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:30:09.907542Z", - "to": "2024-01-17T16:30:09.907581Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:30:09.907542Z", - "to": "2024-01-17T16:30:09.907581Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:15:25.917040Z", "lte": "2024-01-17T16:30:25.917040Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:15:25.917040Z", "lte": "2024-01-17T16:30:25.917040Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:30:25.922539Z", - "endtime": "2024-01-17T16:30:25.917040Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:15:25.917040Z", - "time_taken": 0.005467891693115234 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:30:25.922539Z", - "endtime": "2024-01-17T16:30:25.917040Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:15:25.917040Z", - "time_taken": 0.005467891693115234 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:31:09.903813Z", - "to": "2024-01-17T16:31:09.903838Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:31:09.903813Z", - "to": "2024-01-17T16:31:09.903838Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:16:28.677907Z", "lte": "2024-01-17T16:31:28.677907Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:16:28.677907Z", "lte": "2024-01-17T16:31:28.677907Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:31:28.683936Z", - "endtime": "2024-01-17T16:31:28.677907Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:16:28.677907Z", - "time_taken": 0.005995035171508789 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:31:28.683936Z", - "endtime": "2024-01-17T16:31:28.677907Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:16:28.677907Z", - "time_taken": 0.005995035171508789 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:32:09.903559Z", - "to": "2024-01-17T16:32:09.903585Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:32:09.903559Z", - "to": "2024-01-17T16:32:09.903585Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:17:28.976745Z", "lte": "2024-01-17T16:32:28.976745Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:17:28.976745Z", "lte": "2024-01-17T16:32:28.976745Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:32:28.985438Z", - "endtime": "2024-01-17T16:32:28.976745Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:17:28.976745Z", - "time_taken": 0.008659124374389648 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:32:28.985438Z", - "endtime": "2024-01-17T16:32:28.976745Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:17:28.976745Z", - "time_taken": 0.008659124374389648 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:33:09.907750Z", - "to": "2024-01-17T16:33:09.907789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:33:09.907750Z", - "to": "2024-01-17T16:33:09.907789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:18:29.807442Z", "lte": "2024-01-17T16:33:29.807442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:18:29.807442Z", "lte": "2024-01-17T16:33:29.807442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:33:29.812398Z", - "endtime": "2024-01-17T16:33:29.807442Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:18:29.807442Z", - "time_taken": 0.004930019378662109 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:33:29.812398Z", - "endtime": "2024-01-17T16:33:29.807442Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:18:29.807442Z", - "time_taken": 0.004930019378662109 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:34:09.904832Z", - "to": "2024-01-17T16:34:09.904874Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:34:09.904832Z", - "to": "2024-01-17T16:34:09.904874Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:19:31.075714Z", "lte": "2024-01-17T16:34:31.075714Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:19:31.075714Z", "lte": "2024-01-17T16:34:31.075714Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:34:31.082248Z", - "endtime": "2024-01-17T16:34:31.075714Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:19:31.075714Z", - "time_taken": 0.006493330001831055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:34:31.082248Z", - "endtime": "2024-01-17T16:34:31.075714Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:19:31.075714Z", - "time_taken": 0.006493330001831055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:35:09.903759Z", - "to": "2024-01-17T16:35:09.903798Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:35:09.903759Z", - "to": "2024-01-17T16:35:09.903798Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:20:35.399587Z", "lte": "2024-01-17T16:35:35.399587Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:20:35.399587Z", "lte": "2024-01-17T16:35:35.399587Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:35:35.405394Z", - "endtime": "2024-01-17T16:35:35.399587Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:20:35.399587Z", - "time_taken": 0.005774021148681641 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:35:35.405394Z", - "endtime": "2024-01-17T16:35:35.399587Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:20:35.399587Z", - "time_taken": 0.005774021148681641 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:36:09.905625Z", - "to": "2024-01-17T16:36:09.905645Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:36:09.905625Z", - "to": "2024-01-17T16:36:09.905645Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:21:37.224991Z", "lte": "2024-01-17T16:36:37.224991Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:21:37.224991Z", "lte": "2024-01-17T16:36:37.224991Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:36:37.232263Z", - "endtime": "2024-01-17T16:36:37.224991Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:21:37.224991Z", - "time_taken": 0.007235050201416016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:36:37.232263Z", - "endtime": "2024-01-17T16:36:37.224991Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:21:37.224991Z", - "time_taken": 0.007235050201416016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:37:09.904934Z", - "to": "2024-01-17T16:37:09.904972Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:37:09.904934Z", - "to": "2024-01-17T16:37:09.904972Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:22:41.362559Z", "lte": "2024-01-17T16:37:41.362559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:22:41.362559Z", "lte": "2024-01-17T16:37:41.362559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:37:41.367452Z", - "endtime": "2024-01-17T16:37:41.362559Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:22:41.362559Z", - "time_taken": 0.004867076873779297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:37:41.367452Z", - "endtime": "2024-01-17T16:37:41.362559Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:22:41.362559Z", - "time_taken": 0.004867076873779297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:38:09.904675Z", - "to": "2024-01-17T16:38:09.904714Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:38:09.904675Z", - "to": "2024-01-17T16:38:09.904714Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:23:42.302165Z", "lte": "2024-01-17T16:38:42.302165Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:23:42.302165Z", "lte": "2024-01-17T16:38:42.302165Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:38:42.307549Z", - "endtime": "2024-01-17T16:38:42.302165Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:23:42.302165Z", - "time_taken": 0.0053560733795166016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:38:42.307549Z", - "endtime": "2024-01-17T16:38:42.302165Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:23:42.302165Z", - "time_taken": 0.0053560733795166016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:39:09.907775Z", - "to": "2024-01-17T16:39:09.907805Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:39:09.907775Z", - "to": "2024-01-17T16:39:09.907805Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:24:46.907402Z", "lte": "2024-01-17T16:39:46.907402Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:24:46.907402Z", "lte": "2024-01-17T16:39:46.907402Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:39:46.913850Z", - "endtime": "2024-01-17T16:39:46.907402Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:24:46.907402Z", - "time_taken": 0.006407976150512695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:39:46.913850Z", - "endtime": "2024-01-17T16:39:46.907402Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:24:46.907402Z", - "time_taken": 0.006407976150512695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:40:09.906438Z", - "to": "2024-01-17T16:40:09.906481Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:40:09.906438Z", - "to": "2024-01-17T16:40:09.906481Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:25:48.372122Z", "lte": "2024-01-17T16:40:48.372122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:25:48.372122Z", "lte": "2024-01-17T16:40:48.372122Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:40:48.378957Z", - "endtime": "2024-01-17T16:40:48.372122Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:25:48.372122Z", - "time_taken": 0.006782054901123047 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:40:48.378957Z", - "endtime": "2024-01-17T16:40:48.372122Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:25:48.372122Z", - "time_taken": 0.006782054901123047 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:41:09.905608Z", - "to": "2024-01-17T16:41:09.905646Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:41:09.905608Z", - "to": "2024-01-17T16:41:09.905646Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:26:50.433879Z", "lte": "2024-01-17T16:41:50.433879Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:26:50.433879Z", "lte": "2024-01-17T16:41:50.433879Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:41:50.440396Z", - "endtime": "2024-01-17T16:41:50.433879Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:26:50.433879Z", - "time_taken": 0.006476163864135742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:41:50.440396Z", - "endtime": "2024-01-17T16:41:50.433879Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:26:50.433879Z", - "time_taken": 0.006476163864135742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:42:09.907390Z", - "to": "2024-01-17T16:42:09.907406Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:42:09.907390Z", - "to": "2024-01-17T16:42:09.907406Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:27:54.343811Z", "lte": "2024-01-17T16:42:54.343811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:27:54.343811Z", "lte": "2024-01-17T16:42:54.343811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:42:54.350762Z", - "endtime": "2024-01-17T16:42:54.343811Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:27:54.343811Z", - "time_taken": 0.006894826889038086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:42:54.350762Z", - "endtime": "2024-01-17T16:42:54.343811Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:27:54.343811Z", - "time_taken": 0.006894826889038086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:43:09.903573Z", - "to": "2024-01-17T16:43:09.903590Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:43:09.903573Z", - "to": "2024-01-17T16:43:09.903590Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:28:56.116674Z", "lte": "2024-01-17T16:43:56.116674Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:28:56.116674Z", "lte": "2024-01-17T16:43:56.116674Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:43:56.124248Z", - "endtime": "2024-01-17T16:43:56.116674Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:28:56.116674Z", - "time_taken": 0.00751495361328125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:43:56.124248Z", - "endtime": "2024-01-17T16:43:56.116674Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:28:56.116674Z", - "time_taken": 0.00751495361328125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:44:09.908698Z", - "to": "2024-01-17T16:44:09.908736Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:44:09.908698Z", - "to": "2024-01-17T16:44:09.908736Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:29:59.540479Z", "lte": "2024-01-17T16:44:59.540479Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:29:59.540479Z", "lte": "2024-01-17T16:44:59.540479Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:44:59.546545Z", - "endtime": "2024-01-17T16:44:59.540479Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:29:59.540479Z", - "time_taken": 0.006034374237060547 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:44:59.546545Z", - "endtime": "2024-01-17T16:44:59.540479Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:29:59.540479Z", - "time_taken": 0.006034374237060547 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:45:09.907942Z", - "to": "2024-01-17T16:45:09.907981Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:45:09.907942Z", - "to": "2024-01-17T16:45:09.907981Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:31:01.176601Z", "lte": "2024-01-17T16:46:01.176601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:31:01.176601Z", "lte": "2024-01-17T16:46:01.176601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:46:01.184982Z", - "endtime": "2024-01-17T16:46:01.176601Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:31:01.176601Z", - "time_taken": 0.008326053619384766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:46:01.184982Z", - "endtime": "2024-01-17T16:46:01.176601Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:31:01.176601Z", - "time_taken": 0.008326053619384766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:46:09.912708Z", - "to": "2024-01-17T16:46:09.912730Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:46:09.912708Z", - "to": "2024-01-17T16:46:09.912730Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:32:03.424698Z", "lte": "2024-01-17T16:47:03.424698Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:32:03.424698Z", "lte": "2024-01-17T16:47:03.424698Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:47:03.430637Z", - "endtime": "2024-01-17T16:47:03.424698Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:32:03.424698Z", - "time_taken": 0.005914211273193359 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:47:03.430637Z", - "endtime": "2024-01-17T16:47:03.424698Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:32:03.424698Z", - "time_taken": 0.005914211273193359 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:47:09.905053Z", - "to": "2024-01-17T16:47:09.905069Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:47:09.905053Z", - "to": "2024-01-17T16:47:09.905069Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:33:04.714442Z", "lte": "2024-01-17T16:48:04.714442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:33:04.714442Z", "lte": "2024-01-17T16:48:04.714442Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:48:04.723625Z", - "endtime": "2024-01-17T16:48:04.714442Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:33:04.714442Z", - "time_taken": 0.009128093719482422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:48:04.723625Z", - "endtime": "2024-01-17T16:48:04.714442Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:33:04.714442Z", - "time_taken": 0.009128093719482422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:48:09.913618Z", - "to": "2024-01-17T16:48:09.913658Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:48:09.913618Z", - "to": "2024-01-17T16:48:09.913658Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:34:08.549282Z", "lte": "2024-01-17T16:49:08.549282Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:34:08.549282Z", "lte": "2024-01-17T16:49:08.549282Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:49:08.556259Z", - "endtime": "2024-01-17T16:49:08.549282Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:34:08.549282Z", - "time_taken": 0.00692296028137207 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:49:08.556259Z", - "endtime": "2024-01-17T16:49:08.549282Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:34:08.549282Z", - "time_taken": 0.00692296028137207 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:49:09.908384Z", - "to": "2024-01-17T16:49:09.908406Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:49:09.908384Z", - "to": "2024-01-17T16:49:09.908406Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:50:09.913854Z", - "to": "2024-01-17T16:50:09.913893Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:50:09.913854Z", - "to": "2024-01-17T16:50:09.913893Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:35:11.920571Z", "lte": "2024-01-17T16:50:11.920571Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:35:11.920571Z", "lte": "2024-01-17T16:50:11.920571Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:50:11.927464Z", - "endtime": "2024-01-17T16:50:11.920571Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:35:11.920571Z", - "time_taken": 0.006838083267211914 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:50:11.927464Z", - "endtime": "2024-01-17T16:50:11.920571Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:35:11.920571Z", - "time_taken": 0.006838083267211914 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:51:09.914015Z", - "to": "2024-01-17T16:51:09.914053Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:51:09.914015Z", - "to": "2024-01-17T16:51:09.914053Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:36:12.168551Z", "lte": "2024-01-17T16:51:12.168551Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:36:12.168551Z", "lte": "2024-01-17T16:51:12.168551Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:51:12.175433Z", - "endtime": "2024-01-17T16:51:12.168551Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:36:12.168551Z", - "time_taken": 0.006827592849731445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:51:12.175433Z", - "endtime": "2024-01-17T16:51:12.168551Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:36:12.168551Z", - "time_taken": 0.006827592849731445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:52:09.913613Z", - "to": "2024-01-17T16:52:09.913652Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:52:09.913613Z", - "to": "2024-01-17T16:52:09.913652Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:37:13.428802Z", "lte": "2024-01-17T16:52:13.428802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:37:13.428802Z", "lte": "2024-01-17T16:52:13.428802Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:52:13.435791Z", - "endtime": "2024-01-17T16:52:13.428802Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:37:13.428802Z", - "time_taken": 0.0069348812103271484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:52:13.435791Z", - "endtime": "2024-01-17T16:52:13.428802Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:37:13.428802Z", - "time_taken": 0.0069348812103271484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:53:09.913862Z", - "to": "2024-01-17T16:53:09.913888Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:53:09.913862Z", - "to": "2024-01-17T16:53:09.913888Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:38:16.648854Z", "lte": "2024-01-17T16:53:16.648854Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:38:16.648854Z", "lte": "2024-01-17T16:53:16.648854Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:53:16.655444Z", - "endtime": "2024-01-17T16:53:16.648854Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:38:16.648854Z", - "time_taken": 0.006536960601806641 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:53:16.655444Z", - "endtime": "2024-01-17T16:53:16.648854Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:38:16.648854Z", - "time_taken": 0.006536960601806641 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:54:09.910529Z", - "to": "2024-01-17T16:54:09.910555Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:54:09.910529Z", - "to": "2024-01-17T16:54:09.910555Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:39:16.823150Z", "lte": "2024-01-17T16:54:16.823150Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:39:16.823150Z", "lte": "2024-01-17T16:54:16.823150Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:54:16.829715Z", - "endtime": "2024-01-17T16:54:16.823150Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:39:16.823150Z", - "time_taken": 0.006510257720947266 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:54:16.829715Z", - "endtime": "2024-01-17T16:54:16.823150Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:39:16.823150Z", - "time_taken": 0.006510257720947266 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:55:09.904424Z", - "to": "2024-01-17T16:55:09.904463Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:55:09.904424Z", - "to": "2024-01-17T16:55:09.904463Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:40:20.001300Z", "lte": "2024-01-17T16:55:20.001300Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:40:20.001300Z", "lte": "2024-01-17T16:55:20.001300Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:55:20.009412Z", - "endtime": "2024-01-17T16:55:20.001300Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:40:20.001300Z", - "time_taken": 0.008051872253417969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:55:20.009412Z", - "endtime": "2024-01-17T16:55:20.001300Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:40:20.001300Z", - "time_taken": 0.008051872253417969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:56:09.913602Z", - "to": "2024-01-17T16:56:09.913627Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:56:09.913602Z", - "to": "2024-01-17T16:56:09.913627Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:41:20.850310Z", "lte": "2024-01-17T16:56:20.850310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:41:20.850310Z", "lte": "2024-01-17T16:56:20.850310Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:56:20.857023Z", - "endtime": "2024-01-17T16:56:20.850310Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:41:20.850310Z", - "time_taken": 0.006657123565673828 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:56:20.857023Z", - "endtime": "2024-01-17T16:56:20.850310Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:41:20.850310Z", - "time_taken": 0.006657123565673828 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:57:09.912150Z", - "to": "2024-01-17T16:57:09.912177Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:57:09.912150Z", - "to": "2024-01-17T16:57:09.912177Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:42:23.660466Z", "lte": "2024-01-17T16:57:23.660466Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:42:23.660466Z", "lte": "2024-01-17T16:57:23.660466Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:57:23.666760Z", - "endtime": "2024-01-17T16:57:23.660466Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:42:23.660466Z", - "time_taken": 0.006256103515625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:57:23.666760Z", - "endtime": "2024-01-17T16:57:23.660466Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:42:23.660466Z", - "time_taken": 0.006256103515625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:58:09.913068Z", - "to": "2024-01-17T16:58:09.913094Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:58:09.913068Z", - "to": "2024-01-17T16:58:09.913094Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:43:24.186941Z", "lte": "2024-01-17T16:58:24.186941Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:43:24.186941Z", "lte": "2024-01-17T16:58:24.186941Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:58:24.193900Z", - "endtime": "2024-01-17T16:58:24.186941Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:43:24.186941Z", - "time_taken": 0.006895780563354492 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:58:24.193900Z", - "endtime": "2024-01-17T16:58:24.186941Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:43:24.186941Z", - "time_taken": 0.006895780563354492 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:59:09.913851Z", - "to": "2024-01-17T16:59:09.913890Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T16:59:09.913851Z", - "to": "2024-01-17T16:59:09.913890Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:44:28.831015Z", "lte": "2024-01-17T16:59:28.831015Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:44:28.831015Z", "lte": "2024-01-17T16:59:28.831015Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:59:28.838488Z", - "endtime": "2024-01-17T16:59:28.831015Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:44:28.831015Z", - "time_taken": 0.007417201995849609 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T16:59:28.838488Z", - "endtime": "2024-01-17T16:59:28.831015Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:44:28.831015Z", - "time_taken": 0.007417201995849609 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:00:09.906464Z", - "to": "2024-01-17T17:00:09.906503Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:00:09.906464Z", - "to": "2024-01-17T17:00:09.906503Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:45:33.766136Z", "lte": "2024-01-17T17:00:33.766136Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:45:33.766136Z", "lte": "2024-01-17T17:00:33.766136Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:00:33.771632Z", - "endtime": "2024-01-17T17:00:33.766136Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:45:33.766136Z", - "time_taken": 0.00546717643737793 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:00:33.771632Z", - "endtime": "2024-01-17T17:00:33.766136Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:45:33.766136Z", - "time_taken": 0.00546717643737793 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:01:09.912488Z", - "to": "2024-01-17T17:01:09.912526Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:01:09.912488Z", - "to": "2024-01-17T17:01:09.912526Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:46:35.356244Z", "lte": "2024-01-17T17:01:35.356244Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:46:35.356244Z", "lte": "2024-01-17T17:01:35.356244Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:01:35.363262Z", - "endtime": "2024-01-17T17:01:35.356244Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:46:35.356244Z", - "time_taken": 0.006963253021240234 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:01:35.363262Z", - "endtime": "2024-01-17T17:01:35.356244Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:46:35.356244Z", - "time_taken": 0.006963253021240234 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:02:09.911674Z", - "to": "2024-01-17T17:02:09.911713Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:02:09.911674Z", - "to": "2024-01-17T17:02:09.911713Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:47:38.515951Z", "lte": "2024-01-17T17:02:38.515951Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:47:38.515951Z", "lte": "2024-01-17T17:02:38.515951Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:02:38.522395Z", - "endtime": "2024-01-17T17:02:38.515951Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:47:38.515951Z", - "time_taken": 0.006406068801879883 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:02:38.522395Z", - "endtime": "2024-01-17T17:02:38.515951Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:47:38.515951Z", - "time_taken": 0.006406068801879883 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:03:09.913614Z", - "to": "2024-01-17T17:03:09.913653Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:03:09.913614Z", - "to": "2024-01-17T17:03:09.913653Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:48:42.640405Z", "lte": "2024-01-17T17:03:42.640405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:48:42.640405Z", "lte": "2024-01-17T17:03:42.640405Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:03:42.647812Z", - "endtime": "2024-01-17T17:03:42.640405Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:48:42.640405Z", - "time_taken": 0.007341146469116211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:03:42.647812Z", - "endtime": "2024-01-17T17:03:42.640405Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:48:42.640405Z", - "time_taken": 0.007341146469116211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:04:09.908829Z", - "to": "2024-01-17T17:04:09.908868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:04:09.908829Z", - "to": "2024-01-17T17:04:09.908868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:49:47.077429Z", "lte": "2024-01-17T17:04:47.077429Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:49:47.077429Z", "lte": "2024-01-17T17:04:47.077429Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:04:47.085933Z", - "endtime": "2024-01-17T17:04:47.077429Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:49:47.077429Z", - "time_taken": 0.00844717025756836 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:04:47.085933Z", - "endtime": "2024-01-17T17:04:47.077429Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:49:47.077429Z", - "time_taken": 0.00844717025756836 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:05:09.912076Z", - "to": "2024-01-17T17:05:09.912116Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:05:09.912076Z", - "to": "2024-01-17T17:05:09.912116Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:50:49.479263Z", "lte": "2024-01-17T17:05:49.479263Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:50:49.479263Z", "lte": "2024-01-17T17:05:49.479263Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:05:49.487044Z", - "endtime": "2024-01-17T17:05:49.479263Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:50:49.479263Z", - "time_taken": 0.007727146148681641 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:05:49.487044Z", - "endtime": "2024-01-17T17:05:49.479263Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:50:49.479263Z", - "time_taken": 0.007727146148681641 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:06:09.912466Z", - "to": "2024-01-17T17:06:09.912506Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:06:09.912466Z", - "to": "2024-01-17T17:06:09.912506Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:51:49.676057Z", "lte": "2024-01-17T17:06:49.676057Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:51:49.676057Z", "lte": "2024-01-17T17:06:49.676057Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:06:49.684399Z", - "endtime": "2024-01-17T17:06:49.676057Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:51:49.676057Z", - "time_taken": 0.008306741714477539 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:06:49.684399Z", - "endtime": "2024-01-17T17:06:49.676057Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:51:49.676057Z", - "time_taken": 0.008306741714477539 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:07:09.909834Z", - "to": "2024-01-17T17:07:09.909871Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:07:09.909834Z", - "to": "2024-01-17T17:07:09.909871Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:52:50.074112Z", "lte": "2024-01-17T17:07:50.074112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:52:50.074112Z", "lte": "2024-01-17T17:07:50.074112Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:07:50.081560Z", - "endtime": "2024-01-17T17:07:50.074112Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:52:50.074112Z", - "time_taken": 0.007407188415527344 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:07:50.081560Z", - "endtime": "2024-01-17T17:07:50.074112Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:52:50.074112Z", - "time_taken": 0.007407188415527344 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:08:09.910234Z", - "to": "2024-01-17T17:08:09.910285Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:08:09.910234Z", - "to": "2024-01-17T17:08:09.910285Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:53:51.395811Z", "lte": "2024-01-17T17:08:51.395811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:53:51.395811Z", "lte": "2024-01-17T17:08:51.395811Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:08:51.423800Z", - "endtime": "2024-01-17T17:08:51.395811Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:53:51.395811Z", - "time_taken": 0.02793097496032715 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:08:51.423800Z", - "endtime": "2024-01-17T17:08:51.395811Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:53:51.395811Z", - "time_taken": 0.02793097496032715 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:09:09.912346Z", - "to": "2024-01-17T17:09:09.912384Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:09:09.912346Z", - "to": "2024-01-17T17:09:09.912384Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:54:54.813361Z", "lte": "2024-01-17T17:09:54.813361Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:54:54.813361Z", "lte": "2024-01-17T17:09:54.813361Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:09:54.819223Z", - "endtime": "2024-01-17T17:09:54.813361Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:54:54.813361Z", - "time_taken": 0.005825042724609375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:09:54.819223Z", - "endtime": "2024-01-17T17:09:54.813361Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:54:54.813361Z", - "time_taken": 0.005825042724609375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:10:09.913971Z", - "to": "2024-01-17T17:10:09.914010Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:10:09.913971Z", - "to": "2024-01-17T17:10:09.914010Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:55:59.489128Z", "lte": "2024-01-17T17:10:59.489128Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:55:59.489128Z", "lte": "2024-01-17T17:10:59.489128Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:10:59.511010Z", - "endtime": "2024-01-17T17:10:59.489128Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:55:59.489128Z", - "time_taken": 0.021821975708007812 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:10:59.511010Z", - "endtime": "2024-01-17T17:10:59.489128Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:55:59.489128Z", - "time_taken": 0.021821975708007812 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:11:09.913665Z", - "to": "2024-01-17T17:11:09.913704Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:11:09.913665Z", - "to": "2024-01-17T17:11:09.913704Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:57:00.768115Z", "lte": "2024-01-17T17:12:00.768115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:57:00.768115Z", "lte": "2024-01-17T17:12:00.768115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:12:00.774851Z", - "endtime": "2024-01-17T17:12:00.768115Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:57:00.768115Z", - "time_taken": 0.006698131561279297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:12:00.774851Z", - "endtime": "2024-01-17T17:12:00.768115Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:57:00.768115Z", - "time_taken": 0.006698131561279297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:12:09.913592Z", - "to": "2024-01-17T17:12:09.913630Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:12:09.913592Z", - "to": "2024-01-17T17:12:09.913630Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:58:04.284260Z", "lte": "2024-01-17T17:13:04.284260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:58:04.284260Z", "lte": "2024-01-17T17:13:04.284260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:13:04.289727Z", - "endtime": "2024-01-17T17:13:04.284260Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:58:04.284260Z", - "time_taken": 0.005439043045043945 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:13:04.289727Z", - "endtime": "2024-01-17T17:13:04.284260Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:58:04.284260Z", - "time_taken": 0.005439043045043945 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:13:09.908105Z", - "to": "2024-01-17T17:13:09.908144Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:13:09.908105Z", - "to": "2024-01-17T17:13:09.908144Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:59:04.972169Z", "lte": "2024-01-17T17:14:04.972169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T16:59:04.972169Z", "lte": "2024-01-17T17:14:04.972169Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:14:04.980398Z", - "endtime": "2024-01-17T17:14:04.972169Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:59:04.972169Z", - "time_taken": 0.008172988891601562 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:14:04.980398Z", - "endtime": "2024-01-17T17:14:04.972169Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T16:59:04.972169Z", - "time_taken": 0.008172988891601562 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:14:09.907748Z", - "to": "2024-01-17T17:14:09.907770Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:14:09.907748Z", - "to": "2024-01-17T17:14:09.907770Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:00:09.749690Z", "lte": "2024-01-17T17:15:09.749690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:00:09.749690Z", "lte": "2024-01-17T17:15:09.749690Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:15:09.757291Z", - "endtime": "2024-01-17T17:15:09.749690Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:00:09.749690Z", - "time_taken": 0.007546901702880859 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:15:09.757291Z", - "endtime": "2024-01-17T17:15:09.749690Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:00:09.749690Z", - "time_taken": 0.007546901702880859 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:15:09.913585Z", - "to": "2024-01-17T17:15:09.913623Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:15:09.913585Z", - "to": "2024-01-17T17:15:09.913623Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:16:09.910555Z", - "to": "2024-01-17T17:16:09.910578Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:16:09.910555Z", - "to": "2024-01-17T17:16:09.910578Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:01:14.675264Z", "lte": "2024-01-17T17:16:14.675264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:01:14.675264Z", "lte": "2024-01-17T17:16:14.675264Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:16:14.680221Z", - "endtime": "2024-01-17T17:16:14.675264Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:01:14.675264Z", - "time_taken": 0.004931211471557617 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:16:14.680221Z", - "endtime": "2024-01-17T17:16:14.675264Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:01:14.675264Z", - "time_taken": 0.004931211471557617 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:17:09.907005Z", - "to": "2024-01-17T17:17:09.907031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:17:09.907005Z", - "to": "2024-01-17T17:17:09.907031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:02:17.643761Z", "lte": "2024-01-17T17:17:17.643761Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:02:17.643761Z", "lte": "2024-01-17T17:17:17.643761Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:17:17.650977Z", - "endtime": "2024-01-17T17:17:17.643761Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:02:17.643761Z", - "time_taken": 0.00716090202331543 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:17:17.650977Z", - "endtime": "2024-01-17T17:17:17.643761Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:02:17.643761Z", - "time_taken": 0.00716090202331543 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:18:09.912368Z", - "to": "2024-01-17T17:18:09.912399Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:18:09.912368Z", - "to": "2024-01-17T17:18:09.912399Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:03:21.135017Z", "lte": "2024-01-17T17:18:21.135017Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:03:21.135017Z", "lte": "2024-01-17T17:18:21.135017Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:18:21.143292Z", - "endtime": "2024-01-17T17:18:21.135017Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:03:21.135017Z", - "time_taken": 0.008179903030395508 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:18:21.143292Z", - "endtime": "2024-01-17T17:18:21.135017Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:03:21.135017Z", - "time_taken": 0.008179903030395508 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:19:09.908512Z", - "to": "2024-01-17T17:19:09.908572Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:19:09.908512Z", - "to": "2024-01-17T17:19:09.908572Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:04:23.950619Z", "lte": "2024-01-17T17:19:23.950619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:04:23.950619Z", "lte": "2024-01-17T17:19:23.950619Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:19:23.956963Z", - "endtime": "2024-01-17T17:19:23.950619Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:04:23.950619Z", - "time_taken": 0.006314992904663086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:19:23.956963Z", - "endtime": "2024-01-17T17:19:23.950619Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:04:23.950619Z", - "time_taken": 0.006314992904663086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:20:09.908094Z", - "to": "2024-01-17T17:20:09.908115Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:20:09.908094Z", - "to": "2024-01-17T17:20:09.908115Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:05:24.515997Z", "lte": "2024-01-17T17:20:24.515997Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:05:24.515997Z", "lte": "2024-01-17T17:20:24.515997Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:20:24.525094Z", - "endtime": "2024-01-17T17:20:24.515997Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:05:24.515997Z", - "time_taken": 0.009055852890014648 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:20:24.525094Z", - "endtime": "2024-01-17T17:20:24.515997Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:05:24.515997Z", - "time_taken": 0.009055852890014648 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:21:09.907901Z", - "to": "2024-01-17T17:21:09.907917Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:21:09.907901Z", - "to": "2024-01-17T17:21:09.907917Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:06:26.607979Z", "lte": "2024-01-17T17:21:26.607979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:06:26.607979Z", "lte": "2024-01-17T17:21:26.607979Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:21:26.614681Z", - "endtime": "2024-01-17T17:21:26.607979Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:06:26.607979Z", - "time_taken": 0.006659984588623047 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:21:26.614681Z", - "endtime": "2024-01-17T17:21:26.607979Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:06:26.607979Z", - "time_taken": 0.006659984588623047 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:22:09.908424Z", - "to": "2024-01-17T17:22:09.908451Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:22:09.908424Z", - "to": "2024-01-17T17:22:09.908451Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:07:30.885883Z", "lte": "2024-01-17T17:22:30.885883Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:07:30.885883Z", "lte": "2024-01-17T17:22:30.885883Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:22:30.894916Z", - "endtime": "2024-01-17T17:22:30.885883Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:07:30.885883Z", - "time_taken": 0.008993864059448242 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:22:30.894916Z", - "endtime": "2024-01-17T17:22:30.885883Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:07:30.885883Z", - "time_taken": 0.008993864059448242 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:23:09.907964Z", - "to": "2024-01-17T17:23:09.907993Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:23:09.907964Z", - "to": "2024-01-17T17:23:09.907993Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:08:31.507351Z", "lte": "2024-01-17T17:23:31.507351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:08:31.507351Z", "lte": "2024-01-17T17:23:31.507351Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:23:31.515817Z", - "endtime": "2024-01-17T17:23:31.507351Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:08:31.507351Z", - "time_taken": 0.008406877517700195 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:23:31.515817Z", - "endtime": "2024-01-17T17:23:31.507351Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:08:31.507351Z", - "time_taken": 0.008406877517700195 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:24:09.907597Z", - "to": "2024-01-17T17:24:09.907616Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:24:09.907597Z", - "to": "2024-01-17T17:24:09.907616Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:09:31.743324Z", "lte": "2024-01-17T17:24:31.743324Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:09:31.743324Z", "lte": "2024-01-17T17:24:31.743324Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:24:31.749740Z", - "endtime": "2024-01-17T17:24:31.743324Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:09:31.743324Z", - "time_taken": 0.006372928619384766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:24:31.749740Z", - "endtime": "2024-01-17T17:24:31.743324Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:09:31.743324Z", - "time_taken": 0.006372928619384766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:25:09.909952Z", - "to": "2024-01-17T17:25:09.909982Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:25:09.909952Z", - "to": "2024-01-17T17:25:09.909982Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:10:32.145573Z", "lte": "2024-01-17T17:25:32.145573Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:10:32.145573Z", "lte": "2024-01-17T17:25:32.145573Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:25:32.154258Z", - "endtime": "2024-01-17T17:25:32.145573Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:10:32.145573Z", - "time_taken": 0.008616924285888672 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:25:32.154258Z", - "endtime": "2024-01-17T17:25:32.145573Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:10:32.145573Z", - "time_taken": 0.008616924285888672 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:26:09.908061Z", - "to": "2024-01-17T17:26:09.908100Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:26:09.908061Z", - "to": "2024-01-17T17:26:09.908100Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:11:34.976162Z", "lte": "2024-01-17T17:26:34.976162Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:11:34.976162Z", "lte": "2024-01-17T17:26:34.976162Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:26:34.985751Z", - "endtime": "2024-01-17T17:26:34.976162Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:11:34.976162Z", - "time_taken": 0.00954890251159668 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:26:34.985751Z", - "endtime": "2024-01-17T17:26:34.976162Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:11:34.976162Z", - "time_taken": 0.00954890251159668 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:27:09.905129Z", - "to": "2024-01-17T17:27:09.905175Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:27:09.905129Z", - "to": "2024-01-17T17:27:09.905175Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:12:39.776416Z", "lte": "2024-01-17T17:27:39.776416Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:12:39.776416Z", "lte": "2024-01-17T17:27:39.776416Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:27:39.783371Z", - "endtime": "2024-01-17T17:27:39.776416Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:12:39.776416Z", - "time_taken": 0.006925821304321289 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:27:39.783371Z", - "endtime": "2024-01-17T17:27:39.776416Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:12:39.776416Z", - "time_taken": 0.006925821304321289 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:28:09.907264Z", - "to": "2024-01-17T17:28:09.907294Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:28:09.907264Z", - "to": "2024-01-17T17:28:09.907294Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:13:44.376743Z", "lte": "2024-01-17T17:28:44.376743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:13:44.376743Z", "lte": "2024-01-17T17:28:44.376743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:28:44.384230Z", - "endtime": "2024-01-17T17:28:44.376743Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:13:44.376743Z", - "time_taken": 0.007431983947753906 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:28:44.384230Z", - "endtime": "2024-01-17T17:28:44.376743Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:13:44.376743Z", - "time_taken": 0.007431983947753906 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:29:09.906873Z", - "to": "2024-01-17T17:29:09.906895Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:29:09.906873Z", - "to": "2024-01-17T17:29:09.906895Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:14:45.345896Z", "lte": "2024-01-17T17:29:45.345896Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:14:45.345896Z", "lte": "2024-01-17T17:29:45.345896Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:29:45.353360Z", - "endtime": "2024-01-17T17:29:45.345896Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:14:45.345896Z", - "time_taken": 0.00740814208984375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:29:45.353360Z", - "endtime": "2024-01-17T17:29:45.345896Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:14:45.345896Z", - "time_taken": 0.00740814208984375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:30:09.906956Z", - "to": "2024-01-17T17:30:09.906980Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:30:09.906956Z", - "to": "2024-01-17T17:30:09.906980Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:15:48.116681Z", "lte": "2024-01-17T17:30:48.116681Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:15:48.116681Z", "lte": "2024-01-17T17:30:48.116681Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:30:48.124386Z", - "endtime": "2024-01-17T17:30:48.116681Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:15:48.116681Z", - "time_taken": 0.007664680480957031 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:30:48.124386Z", - "endtime": "2024-01-17T17:30:48.116681Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:15:48.116681Z", - "time_taken": 0.007664680480957031 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:31:09.907531Z", - "to": "2024-01-17T17:31:09.907562Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:31:09.907531Z", - "to": "2024-01-17T17:31:09.907562Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:16:49.496260Z", "lte": "2024-01-17T17:31:49.496260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:16:49.496260Z", "lte": "2024-01-17T17:31:49.496260Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:31:49.504885Z", - "endtime": "2024-01-17T17:31:49.496260Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:16:49.496260Z", - "time_taken": 0.008566141128540039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:31:49.504885Z", - "endtime": "2024-01-17T17:31:49.496260Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:16:49.496260Z", - "time_taken": 0.008566141128540039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:32:09.906556Z", - "to": "2024-01-17T17:32:09.906583Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:32:09.906556Z", - "to": "2024-01-17T17:32:09.906583Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:17:51.109615Z", "lte": "2024-01-17T17:32:51.109615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:17:51.109615Z", "lte": "2024-01-17T17:32:51.109615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:32:51.133097Z", - "endtime": "2024-01-17T17:32:51.109615Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:17:51.109615Z", - "time_taken": 0.022631168365478516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:32:51.133097Z", - "endtime": "2024-01-17T17:32:51.109615Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:17:51.109615Z", - "time_taken": 0.022631168365478516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:33:09.908144Z", - "to": "2024-01-17T17:33:09.908184Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:33:09.908144Z", - "to": "2024-01-17T17:33:09.908184Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:18:52.064668Z", "lte": "2024-01-17T17:33:52.064668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:18:52.064668Z", "lte": "2024-01-17T17:33:52.064668Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:33:52.098812Z", - "endtime": "2024-01-17T17:33:52.064668Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:18:52.064668Z", - "time_taken": 0.03410625457763672 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:33:52.098812Z", - "endtime": "2024-01-17T17:33:52.064668Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:18:52.064668Z", - "time_taken": 0.03410625457763672 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:34:09.906097Z", - "to": "2024-01-17T17:34:09.906125Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:34:09.906097Z", - "to": "2024-01-17T17:34:09.906125Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:19:55.480925Z", "lte": "2024-01-17T17:34:55.480925Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:19:55.480925Z", "lte": "2024-01-17T17:34:55.480925Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:34:55.493922Z", - "endtime": "2024-01-17T17:34:55.480925Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:19:55.480925Z", - "time_taken": 0.012956857681274414 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:34:55.493922Z", - "endtime": "2024-01-17T17:34:55.480925Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:19:55.480925Z", - "time_taken": 0.012956857681274414 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:35:09.906762Z", - "to": "2024-01-17T17:35:09.906789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:35:09.906762Z", - "to": "2024-01-17T17:35:09.906789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:20:57.839073Z", "lte": "2024-01-17T17:35:57.839073Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:20:57.839073Z", "lte": "2024-01-17T17:35:57.839073Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:35:57.863691Z", - "endtime": "2024-01-17T17:35:57.839073Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:20:57.839073Z", - "time_taken": 0.02451300621032715 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:35:57.863691Z", - "endtime": "2024-01-17T17:35:57.839073Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:20:57.839073Z", - "time_taken": 0.02451300621032715 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:36:09.904917Z", - "to": "2024-01-17T17:36:09.904947Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:36:09.904917Z", - "to": "2024-01-17T17:36:09.904947Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:22:00.087390Z", "lte": "2024-01-17T17:37:00.087390Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:22:00.087390Z", "lte": "2024-01-17T17:37:00.087390Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:37:00.098188Z", - "endtime": "2024-01-17T17:37:00.087390Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:22:00.087390Z", - "time_taken": 0.010739803314208984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:37:00.098188Z", - "endtime": "2024-01-17T17:37:00.087390Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:22:00.087390Z", - "time_taken": 0.010739803314208984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:37:09.906947Z", - "to": "2024-01-17T17:37:09.906966Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:37:09.906947Z", - "to": "2024-01-17T17:37:09.906966Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:23:04.465456Z", "lte": "2024-01-17T17:38:04.465456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:23:04.465456Z", "lte": "2024-01-17T17:38:04.465456Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:38:04.476578Z", - "endtime": "2024-01-17T17:38:04.465456Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:23:04.465456Z", - "time_taken": 0.011063098907470703 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:38:04.476578Z", - "endtime": "2024-01-17T17:38:04.465456Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:23:04.465456Z", - "time_taken": 0.011063098907470703 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:38:09.904881Z", - "to": "2024-01-17T17:38:09.904921Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:38:09.904881Z", - "to": "2024-01-17T17:38:09.904921Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:24:08.816707Z", "lte": "2024-01-17T17:39:08.816707Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:24:08.816707Z", "lte": "2024-01-17T17:39:08.816707Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:39:08.836772Z", - "endtime": "2024-01-17T17:39:08.816707Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:24:08.816707Z", - "time_taken": 0.020009756088256836 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:39:08.836772Z", - "endtime": "2024-01-17T17:39:08.816707Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:24:08.816707Z", - "time_taken": 0.020009756088256836 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:39:09.908189Z", - "to": "2024-01-17T17:39:09.908208Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:39:09.908189Z", - "to": "2024-01-17T17:39:09.908208Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:40:09.903233Z", - "to": "2024-01-17T17:40:09.903259Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:40:09.903233Z", - "to": "2024-01-17T17:40:09.903259Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:25:10.505835Z", "lte": "2024-01-17T17:40:10.505835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:25:10.505835Z", "lte": "2024-01-17T17:40:10.505835Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:40:10.513691Z", - "endtime": "2024-01-17T17:40:10.505835Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:25:10.505835Z", - "time_taken": 0.0077970027923583984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:40:10.513691Z", - "endtime": "2024-01-17T17:40:10.505835Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:25:10.505835Z", - "time_taken": 0.0077970027923583984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:41:09.904964Z", - "to": "2024-01-17T17:41:09.904987Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:41:09.904964Z", - "to": "2024-01-17T17:41:09.904987Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:26:13.678404Z", "lte": "2024-01-17T17:41:13.678404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:26:13.678404Z", "lte": "2024-01-17T17:41:13.678404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:41:13.689701Z", - "endtime": "2024-01-17T17:41:13.678404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:26:13.678404Z", - "time_taken": 0.011242151260375977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:41:13.689701Z", - "endtime": "2024-01-17T17:41:13.678404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:26:13.678404Z", - "time_taken": 0.011242151260375977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:42:09.907989Z", - "to": "2024-01-17T17:42:09.908028Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:42:09.907989Z", - "to": "2024-01-17T17:42:09.908028Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:27:18.574825Z", "lte": "2024-01-17T17:42:18.574825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:27:18.574825Z", "lte": "2024-01-17T17:42:18.574825Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:42:18.581634Z", - "endtime": "2024-01-17T17:42:18.574825Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:27:18.574825Z", - "time_taken": 0.006783008575439453 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:42:18.581634Z", - "endtime": "2024-01-17T17:42:18.574825Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:27:18.574825Z", - "time_taken": 0.006783008575439453 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:43:09.903937Z", - "to": "2024-01-17T17:43:09.903955Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:43:09.903937Z", - "to": "2024-01-17T17:43:09.903955Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:28:21.906662Z", "lte": "2024-01-17T17:43:21.906662Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:28:21.906662Z", "lte": "2024-01-17T17:43:21.906662Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:43:21.913516Z", - "endtime": "2024-01-17T17:43:21.906662Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:28:21.906662Z", - "time_taken": 0.006829977035522461 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:43:21.913516Z", - "endtime": "2024-01-17T17:43:21.906662Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:28:21.906662Z", - "time_taken": 0.006829977035522461 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:44:09.904963Z", - "to": "2024-01-17T17:44:09.904978Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:44:09.904963Z", - "to": "2024-01-17T17:44:09.904978Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:29:24.424010Z", "lte": "2024-01-17T17:44:24.424010Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:29:24.424010Z", "lte": "2024-01-17T17:44:24.424010Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:44:24.433150Z", - "endtime": "2024-01-17T17:44:24.424010Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:29:24.424010Z", - "time_taken": 0.009084224700927734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:44:24.433150Z", - "endtime": "2024-01-17T17:44:24.424010Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:29:24.424010Z", - "time_taken": 0.009084224700927734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:45:09.908208Z", - "to": "2024-01-17T17:45:09.908247Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:45:09.908208Z", - "to": "2024-01-17T17:45:09.908247Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:30:26.028625Z", "lte": "2024-01-17T17:45:26.028625Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:30:26.028625Z", "lte": "2024-01-17T17:45:26.028625Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:45:26.044966Z", - "endtime": "2024-01-17T17:45:26.028625Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:30:26.028625Z", - "time_taken": 0.01630377769470215 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:45:26.044966Z", - "endtime": "2024-01-17T17:45:26.028625Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:30:26.028625Z", - "time_taken": 0.01630377769470215 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:46:09.908565Z", - "to": "2024-01-17T17:46:09.908605Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:46:09.908565Z", - "to": "2024-01-17T17:46:09.908605Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:31:26.486836Z", "lte": "2024-01-17T17:46:26.486836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:31:26.486836Z", "lte": "2024-01-17T17:46:26.486836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:46:26.497823Z", - "endtime": "2024-01-17T17:46:26.486836Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:31:26.486836Z", - "time_taken": 0.010879039764404297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:46:26.497823Z", - "endtime": "2024-01-17T17:46:26.486836Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:31:26.486836Z", - "time_taken": 0.010879039764404297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:47:09.905242Z", - "to": "2024-01-17T17:47:09.905266Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:47:09.905242Z", - "to": "2024-01-17T17:47:09.905266Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:32:31.272972Z", "lte": "2024-01-17T17:47:31.272972Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:32:31.272972Z", "lte": "2024-01-17T17:47:31.272972Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:47:31.284333Z", - "endtime": "2024-01-17T17:47:31.272972Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:32:31.272972Z", - "time_taken": 0.011302947998046875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:47:31.284333Z", - "endtime": "2024-01-17T17:47:31.272972Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:32:31.272972Z", - "time_taken": 0.011302947998046875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:48:09.908794Z", - "to": "2024-01-17T17:48:09.908831Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:48:09.908794Z", - "to": "2024-01-17T17:48:09.908831Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:33:34.353725Z", "lte": "2024-01-17T17:48:34.353725Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:33:34.353725Z", "lte": "2024-01-17T17:48:34.353725Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:48:34.363708Z", - "endtime": "2024-01-17T17:48:34.353725Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:33:34.353725Z", - "time_taken": 0.009948968887329102 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:48:34.363708Z", - "endtime": "2024-01-17T17:48:34.353725Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:33:34.353725Z", - "time_taken": 0.009948968887329102 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:49:09.905122Z", - "to": "2024-01-17T17:49:09.905149Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:49:09.905122Z", - "to": "2024-01-17T17:49:09.905149Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:34:36.946140Z", "lte": "2024-01-17T17:49:36.946140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:34:36.946140Z", "lte": "2024-01-17T17:49:36.946140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:49:36.955798Z", - "endtime": "2024-01-17T17:49:36.946140Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:34:36.946140Z", - "time_taken": 0.009614944458007812 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:49:36.955798Z", - "endtime": "2024-01-17T17:49:36.946140Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:34:36.946140Z", - "time_taken": 0.009614944458007812 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:50:09.906338Z", - "to": "2024-01-17T17:50:09.906365Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:50:09.906338Z", - "to": "2024-01-17T17:50:09.906365Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:35:38.270218Z", "lte": "2024-01-17T17:50:38.270218Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:35:38.270218Z", "lte": "2024-01-17T17:50:38.270218Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:50:38.282886Z", - "endtime": "2024-01-17T17:50:38.270218Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:35:38.270218Z", - "time_taken": 0.012633085250854492 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:50:38.282886Z", - "endtime": "2024-01-17T17:50:38.270218Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:35:38.270218Z", - "time_taken": 0.012633085250854492 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:51:09.904478Z", - "to": "2024-01-17T17:51:09.904505Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:51:09.904478Z", - "to": "2024-01-17T17:51:09.904505Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:36:39.247101Z", "lte": "2024-01-17T17:51:39.247101Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:36:39.247101Z", "lte": "2024-01-17T17:51:39.247101Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:51:39.258609Z", - "endtime": "2024-01-17T17:51:39.247101Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:36:39.247101Z", - "time_taken": 0.011467933654785156 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:51:39.258609Z", - "endtime": "2024-01-17T17:51:39.247101Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:36:39.247101Z", - "time_taken": 0.011467933654785156 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:52:09.907297Z", - "to": "2024-01-17T17:52:09.907331Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:52:09.907297Z", - "to": "2024-01-17T17:52:09.907331Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:37:41.500358Z", "lte": "2024-01-17T17:52:41.500358Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:37:41.500358Z", "lte": "2024-01-17T17:52:41.500358Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:52:41.509681Z", - "endtime": "2024-01-17T17:52:41.500358Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:37:41.500358Z", - "time_taken": 0.009278059005737305 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:52:41.509681Z", - "endtime": "2024-01-17T17:52:41.500358Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:37:41.500358Z", - "time_taken": 0.009278059005737305 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:53:09.905687Z", - "to": "2024-01-17T17:53:09.905714Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:53:09.905687Z", - "to": "2024-01-17T17:53:09.905714Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:38:44.970959Z", "lte": "2024-01-17T17:53:44.970959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:38:44.970959Z", "lte": "2024-01-17T17:53:44.970959Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:53:44.979170Z", - "endtime": "2024-01-17T17:53:44.970959Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:38:44.970959Z", - "time_taken": 0.008174896240234375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:53:44.979170Z", - "endtime": "2024-01-17T17:53:44.970959Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:38:44.970959Z", - "time_taken": 0.008174896240234375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:54:09.906305Z", - "to": "2024-01-17T17:54:09.906345Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:54:09.906305Z", - "to": "2024-01-17T17:54:09.906345Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:39:49.701052Z", "lte": "2024-01-17T17:54:49.701052Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:39:49.701052Z", "lte": "2024-01-17T17:54:49.701052Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:54:49.709818Z", - "endtime": "2024-01-17T17:54:49.701052Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:39:49.701052Z", - "time_taken": 0.00872802734375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:54:49.709818Z", - "endtime": "2024-01-17T17:54:49.701052Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:39:49.701052Z", - "time_taken": 0.00872802734375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:55:09.905211Z", - "to": "2024-01-17T17:55:09.905226Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:55:09.905211Z", - "to": "2024-01-17T17:55:09.905226Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:40:52.525256Z", "lte": "2024-01-17T17:55:52.525256Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:40:52.525256Z", "lte": "2024-01-17T17:55:52.525256Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:55:52.537054Z", - "endtime": "2024-01-17T17:55:52.525256Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:40:52.525256Z", - "time_taken": 0.011741161346435547 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:55:52.537054Z", - "endtime": "2024-01-17T17:55:52.525256Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:40:52.525256Z", - "time_taken": 0.011741161346435547 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:56:09.905097Z", - "to": "2024-01-17T17:56:09.905136Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:56:09.905097Z", - "to": "2024-01-17T17:56:09.905136Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:41:55.525269Z", "lte": "2024-01-17T17:56:55.525269Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:41:55.525269Z", "lte": "2024-01-17T17:56:55.525269Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:56:55.538674Z", - "endtime": "2024-01-17T17:56:55.525269Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:41:55.525269Z", - "time_taken": 0.013369083404541016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:56:55.538674Z", - "endtime": "2024-01-17T17:56:55.525269Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:41:55.525269Z", - "time_taken": 0.013369083404541016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:57:09.905127Z", - "to": "2024-01-17T17:57:09.905153Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:57:09.905127Z", - "to": "2024-01-17T17:57:09.905153Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:42:57.485501Z", "lte": "2024-01-17T17:57:57.485501Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:42:57.485501Z", "lte": "2024-01-17T17:57:57.485501Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:57:57.497094Z", - "endtime": "2024-01-17T17:57:57.485501Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:42:57.485501Z", - "time_taken": 0.011548995971679688 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:57:57.497094Z", - "endtime": "2024-01-17T17:57:57.485501Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:42:57.485501Z", - "time_taken": 0.011548995971679688 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:58:09.906589Z", - "to": "2024-01-17T17:58:09.906615Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:58:09.906589Z", - "to": "2024-01-17T17:58:09.906615Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:44:02.340356Z", "lte": "2024-01-17T17:59:02.340356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:44:02.340356Z", "lte": "2024-01-17T17:59:02.340356Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:59:02.351527Z", - "endtime": "2024-01-17T17:59:02.340356Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:44:02.340356Z", - "time_taken": 0.011111021041870117 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T17:59:02.351527Z", - "endtime": "2024-01-17T17:59:02.340356Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:44:02.340356Z", - "time_taken": 0.011111021041870117 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:59:09.904030Z", - "to": "2024-01-17T17:59:09.904052Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T17:59:09.904030Z", - "to": "2024-01-17T17:59:09.904052Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:45:07.222732Z", "lte": "2024-01-17T18:00:07.222732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:45:07.222732Z", "lte": "2024-01-17T18:00:07.222732Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:00:07.235108Z", - "endtime": "2024-01-17T18:00:07.222732Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:45:07.222732Z", - "time_taken": 0.012320995330810547 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:00:07.235108Z", - "endtime": "2024-01-17T18:00:07.222732Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:45:07.222732Z", - "time_taken": 0.012320995330810547 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:00:09.907955Z", - "to": "2024-01-17T18:00:09.907970Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:00:09.907955Z", - "to": "2024-01-17T18:00:09.907970Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:01:09.905680Z", - "to": "2024-01-17T18:01:09.905936Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:01:09.905680Z", - "to": "2024-01-17T18:01:09.905936Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:46:10.809516Z", "lte": "2024-01-17T18:01:10.809516Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:46:10.809516Z", "lte": "2024-01-17T18:01:10.809516Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:01:10.825243Z", - "endtime": "2024-01-17T18:01:10.809516Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:46:10.809516Z", - "time_taken": 0.015184879302978516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:01:10.825243Z", - "endtime": "2024-01-17T18:01:10.809516Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:46:10.809516Z", - "time_taken": 0.015184879302978516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:02:09.902842Z", - "to": "2024-01-17T18:02:09.902860Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:02:09.902842Z", - "to": "2024-01-17T18:02:09.902860Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:47:15.412341Z", "lte": "2024-01-17T18:02:15.412341Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:47:15.412341Z", "lte": "2024-01-17T18:02:15.412341Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:02:15.421109Z", - "endtime": "2024-01-17T18:02:15.412341Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:47:15.412341Z", - "time_taken": 0.008733034133911133 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:02:15.421109Z", - "endtime": "2024-01-17T18:02:15.412341Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:47:15.412341Z", - "time_taken": 0.008733034133911133 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:03:09.904838Z", - "to": "2024-01-17T18:03:09.904859Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:03:09.904838Z", - "to": "2024-01-17T18:03:09.904859Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:48:19.795824Z", "lte": "2024-01-17T18:03:19.795824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:48:19.795824Z", "lte": "2024-01-17T18:03:19.795824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:03:19.806734Z", - "endtime": "2024-01-17T18:03:19.795824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:48:19.795824Z", - "time_taken": 0.010879039764404297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:03:19.806734Z", - "endtime": "2024-01-17T18:03:19.795824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:48:19.795824Z", - "time_taken": 0.010879039764404297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:04:09.905105Z", - "to": "2024-01-17T18:04:09.905127Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:04:09.905105Z", - "to": "2024-01-17T18:04:09.905127Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:49:19.829159Z", "lte": "2024-01-17T18:04:19.829159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:49:19.829159Z", "lte": "2024-01-17T18:04:19.829159Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:04:19.840305Z", - "endtime": "2024-01-17T18:04:19.829159Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:49:19.829159Z", - "time_taken": 0.011092901229858398 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:04:19.840305Z", - "endtime": "2024-01-17T18:04:19.829159Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:49:19.829159Z", - "time_taken": 0.011092901229858398 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:05:09.903288Z", - "to": "2024-01-17T18:05:09.903308Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:05:09.903288Z", - "to": "2024-01-17T18:05:09.903308Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:50:22.835559Z", "lte": "2024-01-17T18:05:22.835559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:50:22.835559Z", "lte": "2024-01-17T18:05:22.835559Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:05:22.869962Z", - "endtime": "2024-01-17T18:05:22.835559Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:50:22.835559Z", - "time_taken": 0.03434491157531738 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:05:22.869962Z", - "endtime": "2024-01-17T18:05:22.835559Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:50:22.835559Z", - "time_taken": 0.03434491157531738 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:06:09.905706Z", - "to": "2024-01-17T18:06:09.905726Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:06:09.905706Z", - "to": "2024-01-17T18:06:09.905726Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:51:24.407174Z", "lte": "2024-01-17T18:06:24.407174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:51:24.407174Z", "lte": "2024-01-17T18:06:24.407174Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:06:24.414853Z", - "endtime": "2024-01-17T18:06:24.407174Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:51:24.407174Z", - "time_taken": 0.0076520442962646484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:06:24.414853Z", - "endtime": "2024-01-17T18:06:24.407174Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:51:24.407174Z", - "time_taken": 0.0076520442962646484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:07:09.904972Z", - "to": "2024-01-17T18:07:09.904991Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:07:09.904972Z", - "to": "2024-01-17T18:07:09.904991Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:52:25.774812Z", "lte": "2024-01-17T18:07:25.774812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:52:25.774812Z", "lte": "2024-01-17T18:07:25.774812Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:07:25.783342Z", - "endtime": "2024-01-17T18:07:25.774812Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:52:25.774812Z", - "time_taken": 0.008503198623657227 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:07:25.783342Z", - "endtime": "2024-01-17T18:07:25.774812Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:52:25.774812Z", - "time_taken": 0.008503198623657227 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:08:09.902901Z", - "to": "2024-01-17T18:08:09.902922Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:08:09.902901Z", - "to": "2024-01-17T18:08:09.902922Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:53:30.510051Z", "lte": "2024-01-17T18:08:30.510051Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:53:30.510051Z", "lte": "2024-01-17T18:08:30.510051Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:08:30.518482Z", - "endtime": "2024-01-17T18:08:30.510051Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:53:30.510051Z", - "time_taken": 0.008398056030273438 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:08:30.518482Z", - "endtime": "2024-01-17T18:08:30.510051Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:53:30.510051Z", - "time_taken": 0.008398056030273438 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:09:09.903144Z", - "to": "2024-01-17T18:09:09.903184Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:09:09.903144Z", - "to": "2024-01-17T18:09:09.903184Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:54:30.912653Z", "lte": "2024-01-17T18:09:30.912653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:54:30.912653Z", "lte": "2024-01-17T18:09:30.912653Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:09:30.924386Z", - "endtime": "2024-01-17T18:09:30.912653Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:54:30.912653Z", - "time_taken": 0.011685848236083984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:09:30.924386Z", - "endtime": "2024-01-17T18:09:30.912653Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:54:30.912653Z", - "time_taken": 0.011685848236083984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:10:09.906189Z", - "to": "2024-01-17T18:10:09.906213Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:10:09.906189Z", - "to": "2024-01-17T18:10:09.906213Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:55:32.588141Z", "lte": "2024-01-17T18:10:32.588141Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:55:32.588141Z", "lte": "2024-01-17T18:10:32.588141Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:10:32.595986Z", - "endtime": "2024-01-17T18:10:32.588141Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:55:32.588141Z", - "time_taken": 0.007791042327880859 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:10:32.595986Z", - "endtime": "2024-01-17T18:10:32.588141Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:55:32.588141Z", - "time_taken": 0.007791042327880859 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:11:09.908314Z", - "to": "2024-01-17T18:11:09.908349Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:11:09.908314Z", - "to": "2024-01-17T18:11:09.908349Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:56:36.564977Z", "lte": "2024-01-17T18:11:36.564977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:56:36.564977Z", "lte": "2024-01-17T18:11:36.564977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:11:36.578352Z", - "endtime": "2024-01-17T18:11:36.564977Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:56:36.564977Z", - "time_taken": 0.012874841690063477 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:11:36.578352Z", - "endtime": "2024-01-17T18:11:36.564977Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:56:36.564977Z", - "time_taken": 0.012874841690063477 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:12:09.905366Z", - "to": "2024-01-17T18:12:09.905433Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:12:09.905366Z", - "to": "2024-01-17T18:12:09.905433Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:57:39.210474Z", "lte": "2024-01-17T18:12:39.210474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:57:39.210474Z", "lte": "2024-01-17T18:12:39.210474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:12:39.225338Z", - "endtime": "2024-01-17T18:12:39.210474Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:57:39.210474Z", - "time_taken": 0.014832019805908203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:12:39.225338Z", - "endtime": "2024-01-17T18:12:39.210474Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:57:39.210474Z", - "time_taken": 0.014832019805908203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:13:09.903279Z", - "to": "2024-01-17T18:13:09.903309Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:13:09.903279Z", - "to": "2024-01-17T18:13:09.903309Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:58:41.324682Z", "lte": "2024-01-17T18:13:41.324682Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:58:41.324682Z", "lte": "2024-01-17T18:13:41.324682Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:13:41.337695Z", - "endtime": "2024-01-17T18:13:41.324682Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:58:41.324682Z", - "time_taken": 0.012955188751220703 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:13:41.337695Z", - "endtime": "2024-01-17T18:13:41.324682Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:58:41.324682Z", - "time_taken": 0.012955188751220703 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:14:09.906217Z", - "to": "2024-01-17T18:14:09.906257Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:14:09.906217Z", - "to": "2024-01-17T18:14:09.906257Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:59:44.812444Z", "lte": "2024-01-17T18:14:44.812444Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T17:59:44.812444Z", "lte": "2024-01-17T18:14:44.812444Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:14:44.822943Z", - "endtime": "2024-01-17T18:14:44.812444Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:59:44.812444Z", - "time_taken": 0.010430097579956055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:14:44.822943Z", - "endtime": "2024-01-17T18:14:44.812444Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T17:59:44.812444Z", - "time_taken": 0.010430097579956055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:15:09.906245Z", - "to": "2024-01-17T18:15:09.906272Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:15:09.906245Z", - "to": "2024-01-17T18:15:09.906272Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:00:47.597615Z", "lte": "2024-01-17T18:15:47.597615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:00:47.597615Z", "lte": "2024-01-17T18:15:47.597615Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:15:47.609294Z", - "endtime": "2024-01-17T18:15:47.597615Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:00:47.597615Z", - "time_taken": 0.011622905731201172 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:15:47.609294Z", - "endtime": "2024-01-17T18:15:47.597615Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:00:47.597615Z", - "time_taken": 0.011622905731201172 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:16:09.904578Z", - "to": "2024-01-17T18:16:09.904616Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:16:09.904578Z", - "to": "2024-01-17T18:16:09.904616Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:01:50.763223Z", "lte": "2024-01-17T18:16:50.763223Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:01:50.763223Z", "lte": "2024-01-17T18:16:50.763223Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:16:50.779757Z", - "endtime": "2024-01-17T18:16:50.763223Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:01:50.763223Z", - "time_taken": 0.01647496223449707 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:16:50.779757Z", - "endtime": "2024-01-17T18:16:50.763223Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:01:50.763223Z", - "time_taken": 0.01647496223449707 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:17:09.904088Z", - "to": "2024-01-17T18:17:09.904111Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:17:09.904088Z", - "to": "2024-01-17T18:17:09.904111Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:02:55.016841Z", "lte": "2024-01-17T18:17:55.016841Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:02:55.016841Z", "lte": "2024-01-17T18:17:55.016841Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:17:55.049345Z", - "endtime": "2024-01-17T18:17:55.016841Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:02:55.016841Z", - "time_taken": 0.03245186805725098 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:17:55.049345Z", - "endtime": "2024-01-17T18:17:55.016841Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:02:55.016841Z", - "time_taken": 0.03245186805725098 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:18:09.903569Z", - "to": "2024-01-17T18:18:09.903593Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:18:09.903569Z", - "to": "2024-01-17T18:18:09.903593Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:03:55.855374Z", "lte": "2024-01-17T18:18:55.855374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:03:55.855374Z", "lte": "2024-01-17T18:18:55.855374Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:18:55.873510Z", - "endtime": "2024-01-17T18:18:55.855374Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:03:55.855374Z", - "time_taken": 0.018078088760375977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:18:55.873510Z", - "endtime": "2024-01-17T18:18:55.855374Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:03:55.855374Z", - "time_taken": 0.018078088760375977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:19:09.906159Z", - "to": "2024-01-17T18:19:09.906180Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:19:09.906159Z", - "to": "2024-01-17T18:19:09.906180Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:04:57.714658Z", "lte": "2024-01-17T18:19:57.714658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:04:57.714658Z", "lte": "2024-01-17T18:19:57.714658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:19:57.727983Z", - "endtime": "2024-01-17T18:19:57.714658Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:04:57.714658Z", - "time_taken": 0.013283252716064453 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:19:57.727983Z", - "endtime": "2024-01-17T18:19:57.714658Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:04:57.714658Z", - "time_taken": 0.013283252716064453 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:20:09.906620Z", - "to": "2024-01-17T18:20:09.906647Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:20:09.906620Z", - "to": "2024-01-17T18:20:09.906647Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:06:00.743276Z", "lte": "2024-01-17T18:21:00.743276Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:06:00.743276Z", "lte": "2024-01-17T18:21:00.743276Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:21:00.755995Z", - "endtime": "2024-01-17T18:21:00.743276Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:06:00.743276Z", - "time_taken": 0.012664079666137695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:21:00.755995Z", - "endtime": "2024-01-17T18:21:00.743276Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:06:00.743276Z", - "time_taken": 0.012664079666137695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:21:09.906017Z", - "to": "2024-01-17T18:21:09.906055Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:21:09.906017Z", - "to": "2024-01-17T18:21:09.906055Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:07:03.769536Z", "lte": "2024-01-17T18:22:03.769536Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:07:03.769536Z", "lte": "2024-01-17T18:22:03.769536Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:22:03.795830Z", - "endtime": "2024-01-17T18:22:03.769536Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:07:03.769536Z", - "time_taken": 0.025573015213012695 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:22:03.795830Z", - "endtime": "2024-01-17T18:22:03.769536Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:07:03.769536Z", - "time_taken": 0.025573015213012695 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:22:09.905941Z", - "to": "2024-01-17T18:22:09.905971Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:22:09.905941Z", - "to": "2024-01-17T18:22:09.905971Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:08:06.159155Z", "lte": "2024-01-17T18:23:06.159155Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:08:06.159155Z", "lte": "2024-01-17T18:23:06.159155Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:23:06.168502Z", - "endtime": "2024-01-17T18:23:06.159155Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:08:06.159155Z", - "time_taken": 0.009319782257080078 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:23:06.168502Z", - "endtime": "2024-01-17T18:23:06.159155Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:08:06.159155Z", - "time_taken": 0.009319782257080078 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:23:09.906742Z", - "to": "2024-01-17T18:23:09.906762Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:23:09.906742Z", - "to": "2024-01-17T18:23:09.906762Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:09:07.966474Z", "lte": "2024-01-17T18:24:07.966474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:09:07.966474Z", "lte": "2024-01-17T18:24:07.966474Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:24:07.976466Z", - "endtime": "2024-01-17T18:24:07.966474Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:09:07.966474Z", - "time_taken": 0.009938240051269531 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:24:07.976466Z", - "endtime": "2024-01-17T18:24:07.966474Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:09:07.966474Z", - "time_taken": 0.009938240051269531 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:24:09.907940Z", - "to": "2024-01-17T18:24:09.907979Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:24:09.907940Z", - "to": "2024-01-17T18:24:09.907979Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:25:09.903522Z", - "to": "2024-01-17T18:25:09.903561Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:25:09.903522Z", - "to": "2024-01-17T18:25:09.903561Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:10:11.249176Z", "lte": "2024-01-17T18:25:11.249176Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:10:11.249176Z", "lte": "2024-01-17T18:25:11.249176Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:25:11.262050Z", - "endtime": "2024-01-17T18:25:11.249176Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:10:11.249176Z", - "time_taken": 0.012817859649658203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:25:11.262050Z", - "endtime": "2024-01-17T18:25:11.249176Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:10:11.249176Z", - "time_taken": 0.012817859649658203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:26:09.905557Z", - "to": "2024-01-17T18:26:09.905582Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:26:09.905557Z", - "to": "2024-01-17T18:26:09.905582Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:11:14.496114Z", "lte": "2024-01-17T18:26:14.496114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:11:14.496114Z", "lte": "2024-01-17T18:26:14.496114Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:26:14.506551Z", - "endtime": "2024-01-17T18:26:14.496114Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:11:14.496114Z", - "time_taken": 0.010380983352661133 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:26:14.506551Z", - "endtime": "2024-01-17T18:26:14.496114Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:11:14.496114Z", - "time_taken": 0.010380983352661133 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:27:09.904064Z", - "to": "2024-01-17T18:27:09.904086Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:27:09.904064Z", - "to": "2024-01-17T18:27:09.904086Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:12:19.157100Z", "lte": "2024-01-17T18:27:19.157100Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:12:19.157100Z", "lte": "2024-01-17T18:27:19.157100Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:27:19.168939Z", - "endtime": "2024-01-17T18:27:19.157100Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:12:19.157100Z", - "time_taken": 0.01178121566772461 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:27:19.168939Z", - "endtime": "2024-01-17T18:27:19.157100Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:12:19.157100Z", - "time_taken": 0.01178121566772461 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:28:09.978621Z", - "to": "2024-01-17T18:28:09.978637Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:28:09.978621Z", - "to": "2024-01-17T18:28:09.978637Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:13:20.428874Z", "lte": "2024-01-17T18:28:20.428874Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:13:20.428874Z", "lte": "2024-01-17T18:28:20.428874Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:28:20.439761Z", - "endtime": "2024-01-17T18:28:20.428874Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:13:20.428874Z", - "time_taken": 0.01085519790649414 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:28:20.439761Z", - "endtime": "2024-01-17T18:28:20.428874Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:13:20.428874Z", - "time_taken": 0.01085519790649414 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:29:09.905689Z", - "to": "2024-01-17T18:29:09.905715Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:29:09.905689Z", - "to": "2024-01-17T18:29:09.905715Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:14:25.258482Z", "lte": "2024-01-17T18:29:25.258482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:14:25.258482Z", "lte": "2024-01-17T18:29:25.258482Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:29:25.268618Z", - "endtime": "2024-01-17T18:29:25.258482Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:14:25.258482Z", - "time_taken": 0.010079145431518555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:29:25.268618Z", - "endtime": "2024-01-17T18:29:25.258482Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:14:25.258482Z", - "time_taken": 0.010079145431518555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:30:09.907507Z", - "to": "2024-01-17T18:30:09.907546Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:30:09.907507Z", - "to": "2024-01-17T18:30:09.907546Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:15:26.180609Z", "lte": "2024-01-17T18:30:26.180609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:15:26.180609Z", "lte": "2024-01-17T18:30:26.180609Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:30:26.190066Z", - "endtime": "2024-01-17T18:30:26.180609Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:15:26.180609Z", - "time_taken": 0.009425163269042969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:30:26.190066Z", - "endtime": "2024-01-17T18:30:26.180609Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:15:26.180609Z", - "time_taken": 0.009425163269042969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:31:09.905129Z", - "to": "2024-01-17T18:31:09.905193Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:31:09.905129Z", - "to": "2024-01-17T18:31:09.905193Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:16:29.547731Z", "lte": "2024-01-17T18:31:29.547731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:16:29.547731Z", "lte": "2024-01-17T18:31:29.547731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:31:29.557238Z", - "endtime": "2024-01-17T18:31:29.547731Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:16:29.547731Z", - "time_taken": 0.009425163269042969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:31:29.557238Z", - "endtime": "2024-01-17T18:31:29.547731Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:16:29.547731Z", - "time_taken": 0.009425163269042969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:32:09.907451Z", - "to": "2024-01-17T18:32:09.907478Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:32:09.907451Z", - "to": "2024-01-17T18:32:09.907478Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:17:32.808740Z", "lte": "2024-01-17T18:32:32.808740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:17:32.808740Z", "lte": "2024-01-17T18:32:32.808740Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:32:32.820707Z", - "endtime": "2024-01-17T18:32:32.808740Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:17:32.808740Z", - "time_taken": 0.011929035186767578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:32:32.820707Z", - "endtime": "2024-01-17T18:32:32.808740Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:17:32.808740Z", - "time_taken": 0.011929035186767578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:33:09.909045Z", - "to": "2024-01-17T18:33:09.909085Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:33:09.909045Z", - "to": "2024-01-17T18:33:09.909085Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:18:36.389261Z", "lte": "2024-01-17T18:33:36.389261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:18:36.389261Z", "lte": "2024-01-17T18:33:36.389261Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:33:36.397208Z", - "endtime": "2024-01-17T18:33:36.389261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:18:36.389261Z", - "time_taken": 0.007916927337646484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:33:36.397208Z", - "endtime": "2024-01-17T18:33:36.389261Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:18:36.389261Z", - "time_taken": 0.007916927337646484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:34:09.906229Z", - "to": "2024-01-17T18:34:09.906247Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:34:09.906229Z", - "to": "2024-01-17T18:34:09.906247Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:19:40.540930Z", "lte": "2024-01-17T18:34:40.540930Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:19:40.540930Z", "lte": "2024-01-17T18:34:40.540930Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:34:40.550533Z", - "endtime": "2024-01-17T18:34:40.540930Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:19:40.540930Z", - "time_taken": 0.009546995162963867 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:34:40.550533Z", - "endtime": "2024-01-17T18:34:40.540930Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:19:40.540930Z", - "time_taken": 0.009546995162963867 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:35:09.908101Z", - "to": "2024-01-17T18:35:09.908157Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:35:09.908101Z", - "to": "2024-01-17T18:35:09.908157Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:20:41.786148Z", "lte": "2024-01-17T18:35:41.786148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:20:41.786148Z", "lte": "2024-01-17T18:35:41.786148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:35:41.797453Z", - "endtime": "2024-01-17T18:35:41.786148Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:20:41.786148Z", - "time_taken": 0.01098179817199707 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:35:41.797453Z", - "endtime": "2024-01-17T18:35:41.786148Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:20:41.786148Z", - "time_taken": 0.01098179817199707 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:36:09.907477Z", - "to": "2024-01-17T18:36:09.907518Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:36:09.907477Z", - "to": "2024-01-17T18:36:09.907518Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:21:44.975816Z", "lte": "2024-01-17T18:36:44.975816Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:21:44.975816Z", "lte": "2024-01-17T18:36:44.975816Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:36:44.987110Z", - "endtime": "2024-01-17T18:36:44.975816Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:21:44.975816Z", - "time_taken": 0.011261940002441406 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:36:44.987110Z", - "endtime": "2024-01-17T18:36:44.975816Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:21:44.975816Z", - "time_taken": 0.011261940002441406 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:37:09.906812Z", - "to": "2024-01-17T18:37:09.906854Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:37:09.906812Z", - "to": "2024-01-17T18:37:09.906854Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:22:45.230167Z", "lte": "2024-01-17T18:37:45.230167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:22:45.230167Z", "lte": "2024-01-17T18:37:45.230167Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:37:45.242288Z", - "endtime": "2024-01-17T18:37:45.230167Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:22:45.230167Z", - "time_taken": 0.012060165405273438 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:37:45.242288Z", - "endtime": "2024-01-17T18:37:45.230167Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:22:45.230167Z", - "time_taken": 0.012060165405273438 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:38:09.907908Z", - "to": "2024-01-17T18:38:09.907933Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:38:09.907908Z", - "to": "2024-01-17T18:38:09.907933Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:23:47.777945Z", "lte": "2024-01-17T18:38:47.777945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:23:47.777945Z", "lte": "2024-01-17T18:38:47.777945Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:38:47.786642Z", - "endtime": "2024-01-17T18:38:47.777945Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:23:47.777945Z", - "time_taken": 0.008652925491333008 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:38:47.786642Z", - "endtime": "2024-01-17T18:38:47.777945Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:23:47.777945Z", - "time_taken": 0.008652925491333008 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:39:09.906806Z", - "to": "2024-01-17T18:39:09.906828Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:39:09.906806Z", - "to": "2024-01-17T18:39:09.906828Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:24:49.343504Z", "lte": "2024-01-17T18:39:49.343504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:24:49.343504Z", "lte": "2024-01-17T18:39:49.343504Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:39:49.353938Z", - "endtime": "2024-01-17T18:39:49.343504Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:24:49.343504Z", - "time_taken": 0.010396242141723633 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:39:49.353938Z", - "endtime": "2024-01-17T18:39:49.343504Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:24:49.343504Z", - "time_taken": 0.010396242141723633 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:40:09.907041Z", - "to": "2024-01-17T18:40:09.907068Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:40:09.907041Z", - "to": "2024-01-17T18:40:09.907068Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:25:49.529719Z", "lte": "2024-01-17T18:40:49.529719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:25:49.529719Z", "lte": "2024-01-17T18:40:49.529719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:40:49.540774Z", - "endtime": "2024-01-17T18:40:49.529719Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:25:49.529719Z", - "time_taken": 0.011014223098754883 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:40:49.540774Z", - "endtime": "2024-01-17T18:40:49.529719Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:25:49.529719Z", - "time_taken": 0.011014223098754883 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:41:09.904860Z", - "to": "2024-01-17T18:41:09.904882Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:41:09.904860Z", - "to": "2024-01-17T18:41:09.904882Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:26:54.431719Z", "lte": "2024-01-17T18:41:54.431719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:26:54.431719Z", "lte": "2024-01-17T18:41:54.431719Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:41:54.439976Z", - "endtime": "2024-01-17T18:41:54.431719Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:26:54.431719Z", - "time_taken": 0.00822591781616211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:41:54.439976Z", - "endtime": "2024-01-17T18:41:54.431719Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:26:54.431719Z", - "time_taken": 0.00822591781616211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:42:09.904258Z", - "to": "2024-01-17T18:42:09.904285Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:42:09.904258Z", - "to": "2024-01-17T18:42:09.904285Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:27:55.725034Z", "lte": "2024-01-17T18:42:55.725034Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:27:55.725034Z", "lte": "2024-01-17T18:42:55.725034Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:42:55.733294Z", - "endtime": "2024-01-17T18:42:55.725034Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:27:55.725034Z", - "time_taken": 0.008196830749511719 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:42:55.733294Z", - "endtime": "2024-01-17T18:42:55.725034Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:27:55.725034Z", - "time_taken": 0.008196830749511719 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:43:09.908892Z", - "to": "2024-01-17T18:43:09.908919Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:43:09.908892Z", - "to": "2024-01-17T18:43:09.908919Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:28:56.714202Z", "lte": "2024-01-17T18:43:56.714202Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:28:56.714202Z", "lte": "2024-01-17T18:43:56.714202Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:43:56.731583Z", - "endtime": "2024-01-17T18:43:56.714202Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:28:56.714202Z", - "time_taken": 0.0173342227935791 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:43:56.731583Z", - "endtime": "2024-01-17T18:43:56.714202Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:28:56.714202Z", - "time_taken": 0.0173342227935791 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:44:09.903554Z", - "to": "2024-01-17T18:44:09.903601Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:44:09.903554Z", - "to": "2024-01-17T18:44:09.903601Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:29:59.915360Z", "lte": "2024-01-17T18:44:59.915360Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:29:59.915360Z", "lte": "2024-01-17T18:44:59.915360Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:44:59.925137Z", - "endtime": "2024-01-17T18:44:59.915360Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:29:59.915360Z", - "time_taken": 0.009741067886352539 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:44:59.925137Z", - "endtime": "2024-01-17T18:44:59.915360Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:29:59.915360Z", - "time_taken": 0.009741067886352539 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:45:09.903013Z", - "to": "2024-01-17T18:45:09.903033Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:45:09.903013Z", - "to": "2024-01-17T18:45:09.903033Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:31:01.614485Z", "lte": "2024-01-17T18:46:01.614485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:31:01.614485Z", "lte": "2024-01-17T18:46:01.614485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:46:01.625176Z", - "endtime": "2024-01-17T18:46:01.614485Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:31:01.614485Z", - "time_taken": 0.010653972625732422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:46:01.625176Z", - "endtime": "2024-01-17T18:46:01.614485Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:31:01.614485Z", - "time_taken": 0.010653972625732422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:46:09.905618Z", - "to": "2024-01-17T18:46:09.905639Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:46:09.905618Z", - "to": "2024-01-17T18:46:09.905639Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:32:02.184168Z", "lte": "2024-01-17T18:47:02.184168Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:32:02.184168Z", "lte": "2024-01-17T18:47:02.184168Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:47:02.193315Z", - "endtime": "2024-01-17T18:47:02.184168Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:32:02.184168Z", - "time_taken": 0.009092092514038086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:47:02.193315Z", - "endtime": "2024-01-17T18:47:02.184168Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:32:02.184168Z", - "time_taken": 0.009092092514038086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:47:09.907140Z", - "to": "2024-01-17T18:47:09.907178Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:47:09.907140Z", - "to": "2024-01-17T18:47:09.907178Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:33:03.029602Z", "lte": "2024-01-17T18:48:03.029602Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:33:03.029602Z", "lte": "2024-01-17T18:48:03.029602Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:48:03.039280Z", - "endtime": "2024-01-17T18:48:03.029602Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:33:03.029602Z", - "time_taken": 0.00963902473449707 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:48:03.039280Z", - "endtime": "2024-01-17T18:48:03.029602Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:33:03.029602Z", - "time_taken": 0.00963902473449707 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:48:09.907026Z", - "to": "2024-01-17T18:48:09.907053Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:48:09.907026Z", - "to": "2024-01-17T18:48:09.907053Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:34:07.760894Z", "lte": "2024-01-17T18:49:07.760894Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:34:07.760894Z", "lte": "2024-01-17T18:49:07.760894Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:49:07.772804Z", - "endtime": "2024-01-17T18:49:07.760894Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:34:07.760894Z", - "time_taken": 0.011852025985717773 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:49:07.772804Z", - "endtime": "2024-01-17T18:49:07.760894Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:34:07.760894Z", - "time_taken": 0.011852025985717773 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:49:09.903262Z", - "to": "2024-01-17T18:49:09.903283Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:49:09.903262Z", - "to": "2024-01-17T18:49:09.903283Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:35:08.563427Z", "lte": "2024-01-17T18:50:08.563427Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:35:08.563427Z", "lte": "2024-01-17T18:50:08.563427Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:50:08.569646Z", - "endtime": "2024-01-17T18:50:08.563427Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:35:08.563427Z", - "time_taken": 0.006193876266479492 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:50:08.569646Z", - "endtime": "2024-01-17T18:50:08.563427Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:35:08.563427Z", - "time_taken": 0.006193876266479492 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:50:09.904434Z", - "to": "2024-01-17T18:50:09.904456Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:50:09.904434Z", - "to": "2024-01-17T18:50:09.904456Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:51:09.906171Z", - "to": "2024-01-17T18:51:09.906198Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T18:51:09.906171Z", - "to": "2024-01-17T18:51:09.906198Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:36:10.019160Z", "lte": "2024-01-17T18:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:36:10.019160Z", "lte": "2024-01-17T18:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:51:10.032079Z", - "endtime": "2024-01-17T18:51:10.019160Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:36:10.019160Z", - "time_taken": 0.012855052947998047 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T18:51:10.032079Z", - "endtime": "2024-01-17T18:51:10.019160Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:36:10.019160Z", - "time_taken": 0.012855052947998047 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:51:10.019160Z", "lte": "2024-01-17T19:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T18:51:10.019160Z", "lte": "2024-01-17T19:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:06:10.019160Z", "lte": "2024-01-17T19:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:06:10.019160Z", "lte": "2024-01-17T19:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:21:10.019160Z", "lte": "2024-01-17T19:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:21:10.019160Z", "lte": "2024-01-17T19:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:36:10.019160Z", "lte": "2024-01-17T19:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:36:10.019160Z", "lte": "2024-01-17T19:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:51:10.019160Z", "lte": "2024-01-17T20:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T19:51:10.019160Z", "lte": "2024-01-17T20:06:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:06:10.019160Z", "lte": "2024-01-17T20:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:06:10.019160Z", "lte": "2024-01-17T20:21:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:21:10.019160Z", "lte": "2024-01-17T20:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:21:10.019160Z", "lte": "2024-01-17T20:36:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:36:10.019160Z", "lte": "2024-01-17T20:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:36:10.019160Z", "lte": "2024-01-17T20:51:10.019160Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:51:10.019160Z", "lte": "2024-01-17T20:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:51:10.019160Z", "lte": "2024-01-17T20:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T20:59:05.220218Z", - "endtime": "2024-01-17T20:59:04.313675Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:51:10.019160Z", - "time_taken": 0.9044721126556396 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-17T20:59:05.220218Z", - "endtime": "2024-01-17T20:59:04.313675Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T18:51:10.019160Z", - "time_taken": 0.9044721126556396 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T20:59:10.261421Z", - "to": "2024-01-17T20:59:10.261438Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-15T20:59:10.261421Z", - "to": "2024-01-17T20:59:10.261438Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:59:04.313675Z", "lte": "2024-01-17T21:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T20:59:04.313675Z", "lte": "2024-01-17T21:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:14:04.313675Z", "lte": "2024-01-17T21:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:14:04.313675Z", "lte": "2024-01-17T21:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:29:04.313675Z", "lte": "2024-01-17T21:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:29:04.313675Z", "lte": "2024-01-17T21:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:44:04.313675Z", "lte": "2024-01-17T21:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:44:04.313675Z", "lte": "2024-01-17T21:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:59:04.313675Z", "lte": "2024-01-17T22:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T21:59:04.313675Z", "lte": "2024-01-17T22:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:14:04.313675Z", "lte": "2024-01-17T22:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:14:04.313675Z", "lte": "2024-01-17T22:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:29:04.313675Z", "lte": "2024-01-17T22:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:29:04.313675Z", "lte": "2024-01-17T22:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:44:04.313675Z", "lte": "2024-01-17T22:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:44:04.313675Z", "lte": "2024-01-17T22:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:59:04.313675Z", "lte": "2024-01-17T23:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T22:59:04.313675Z", "lte": "2024-01-17T23:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:14:04.313675Z", "lte": "2024-01-17T23:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:14:04.313675Z", "lte": "2024-01-17T23:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:29:04.313675Z", "lte": "2024-01-17T23:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:29:04.313675Z", "lte": "2024-01-17T23:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:44:04.313675Z", "lte": "2024-01-17T23:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:44:04.313675Z", "lte": "2024-01-17T23:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:59:04.313675Z", "lte": "2024-01-18T00:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-17T23:59:04.313675Z", "lte": "2024-01-18T00:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:14:04.313675Z", "lte": "2024-01-18T00:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:14:04.313675Z", "lte": "2024-01-18T00:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:29:04.313675Z", "lte": "2024-01-18T00:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:29:04.313675Z", "lte": "2024-01-18T00:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:44:04.313675Z", "lte": "2024-01-18T00:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:44:04.313675Z", "lte": "2024-01-18T00:59:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:59:04.313675Z", "lte": "2024-01-18T01:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T00:59:04.313675Z", "lte": "2024-01-18T01:14:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:14:04.313675Z", "lte": "2024-01-18T01:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:14:04.313675Z", "lte": "2024-01-18T01:29:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:29:04.313675Z", "lte": "2024-01-18T01:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:29:04.313675Z", "lte": "2024-01-18T01:44:04.313675Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:44:04.313675Z", "lte": "2024-01-18T01:51:39.704126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:44:04.313675Z", "lte": "2024-01-18T01:51:39.704126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T01:51:39.808469Z", - "endtime": "2024-01-18T01:51:39.704126Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T20:59:04.313675Z", - "time_taken": 0.10351705551147461 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T01:51:39.808469Z", - "endtime": "2024-01-18T01:51:39.704126Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-17T20:59:04.313675Z", - "time_taken": 0.10351705551147461 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T01:52:09.907544Z", - "to": "2024-01-18T01:52:09.907564Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T01:52:09.907544Z", - "to": "2024-01-18T01:52:09.907564Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:37:41.132048Z", "lte": "2024-01-18T01:52:41.132048Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:37:41.132048Z", "lte": "2024-01-18T01:52:41.132048Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T01:52:41.144100Z", - "endtime": "2024-01-18T01:52:41.132048Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T01:37:41.132048Z", - "time_taken": 0.012010812759399414 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T01:52:41.144100Z", - "endtime": "2024-01-18T01:52:41.132048Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T01:37:41.132048Z", - "time_taken": 0.012010812759399414 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T01:53:09.906658Z", - "to": "2024-01-18T01:53:09.906678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T01:53:09.906658Z", - "to": "2024-01-18T01:53:09.906678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:38:42.102987Z", "lte": "2024-01-18T01:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:38:42.102987Z", "lte": "2024-01-18T01:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T01:53:42.123072Z", - "endtime": "2024-01-18T01:53:42.102987Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T01:38:42.102987Z", - "time_taken": 0.02003002166748047 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T01:53:42.123072Z", - "endtime": "2024-01-18T01:53:42.102987Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T01:38:42.102987Z", - "time_taken": 0.02003002166748047 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T01:54:09.909686Z", - "to": "2024-01-18T01:54:09.909725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T01:54:09.909686Z", - "to": "2024-01-18T01:54:09.909725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:46:09.922655Z", - "to": "2024-01-18T04:46:09.922699Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:46:09.922655Z", - "to": "2024-01-18T04:46:09.922699Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:53:42.102987Z", "lte": "2024-01-18T02:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T01:53:42.102987Z", "lte": "2024-01-18T02:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:08:42.102987Z", "lte": "2024-01-18T02:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:08:42.102987Z", "lte": "2024-01-18T02:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:23:42.102987Z", "lte": "2024-01-18T02:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:23:42.102987Z", "lte": "2024-01-18T02:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:38:42.102987Z", "lte": "2024-01-18T02:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:38:42.102987Z", "lte": "2024-01-18T02:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:53:42.102987Z", "lte": "2024-01-18T03:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T02:53:42.102987Z", "lte": "2024-01-18T03:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:08:42.102987Z", "lte": "2024-01-18T03:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:08:42.102987Z", "lte": "2024-01-18T03:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:23:42.102987Z", "lte": "2024-01-18T03:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:23:42.102987Z", "lte": "2024-01-18T03:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:38:42.102987Z", "lte": "2024-01-18T03:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:38:42.102987Z", "lte": "2024-01-18T03:53:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:53:42.102987Z", "lte": "2024-01-18T04:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T03:53:42.102987Z", "lte": "2024-01-18T04:08:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:08:42.102987Z", "lte": "2024-01-18T04:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:08:42.102987Z", "lte": "2024-01-18T04:23:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:23:42.102987Z", "lte": "2024-01-18T04:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:23:42.102987Z", "lte": "2024-01-18T04:38:42.102987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:42.102987Z", "lte": "2024-01-18T04:46:40.082770Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:42.102987Z", "lte": "2024-01-18T04:46:40.082770Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:46:40.160184Z", - "endtime": "2024-01-18T04:46:40.082770Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T01:53:42.102987Z", - "time_taken": 0.07735705375671387 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:46:40.160184Z", - "endtime": "2024-01-18T04:46:40.082770Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T01:53:42.102987Z", - "time_taken": 0.07735705375671387 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:47:09.906037Z", - "to": "2024-01-18T04:47:09.906065Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:47:09.906037Z", - "to": "2024-01-18T04:47:09.906065Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:32:43.844496Z", "lte": "2024-01-18T04:47:43.844496Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:32:43.844496Z", "lte": "2024-01-18T04:47:43.844496Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:47:43.856268Z", - "endtime": "2024-01-18T04:47:43.844496Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:32:43.844496Z", - "time_taken": 0.011716842651367188 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:47:43.856268Z", - "endtime": "2024-01-18T04:47:43.844496Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:32:43.844496Z", - "time_taken": 0.011716842651367188 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:48:09.903942Z", - "to": "2024-01-18T04:48:09.903964Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:48:09.903942Z", - "to": "2024-01-18T04:48:09.903964Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:33:46.031722Z", "lte": "2024-01-18T04:48:46.031722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:33:46.031722Z", "lte": "2024-01-18T04:48:46.031722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:48:46.040711Z", - "endtime": "2024-01-18T04:48:46.031722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:33:46.031722Z", - "time_taken": 0.008931159973144531 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:48:46.040711Z", - "endtime": "2024-01-18T04:48:46.031722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:33:46.031722Z", - "time_taken": 0.008931159973144531 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:49:09.907007Z", - "to": "2024-01-18T04:49:09.907045Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:49:09.907007Z", - "to": "2024-01-18T04:49:09.907045Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:34:48.073659Z", "lte": "2024-01-18T04:49:48.073659Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:34:48.073659Z", "lte": "2024-01-18T04:49:48.073659Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:49:48.084938Z", - "endtime": "2024-01-18T04:49:48.073659Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:34:48.073659Z", - "time_taken": 0.011210203170776367 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:49:48.084938Z", - "endtime": "2024-01-18T04:49:48.073659Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:34:48.073659Z", - "time_taken": 0.011210203170776367 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:50:09.903700Z", - "to": "2024-01-18T04:50:09.903724Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:50:09.903700Z", - "to": "2024-01-18T04:50:09.903724Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:35:48.628243Z", "lte": "2024-01-18T04:50:48.628243Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:35:48.628243Z", "lte": "2024-01-18T04:50:48.628243Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:50:48.637275Z", - "endtime": "2024-01-18T04:50:48.628243Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:35:48.628243Z", - "time_taken": 0.008974075317382812 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:50:48.637275Z", - "endtime": "2024-01-18T04:50:48.628243Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:35:48.628243Z", - "time_taken": 0.008974075317382812 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:51:09.905159Z", - "to": "2024-01-18T04:51:09.905189Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:51:09.905159Z", - "to": "2024-01-18T04:51:09.905189Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:36:48.745503Z", "lte": "2024-01-18T04:51:48.745503Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:36:48.745503Z", "lte": "2024-01-18T04:51:48.745503Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:51:48.752902Z", - "endtime": "2024-01-18T04:51:48.745503Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:36:48.745503Z", - "time_taken": 0.007343292236328125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:51:48.752902Z", - "endtime": "2024-01-18T04:51:48.745503Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:36:48.745503Z", - "time_taken": 0.007343292236328125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:52:09.904989Z", - "to": "2024-01-18T04:52:09.905015Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:52:09.904989Z", - "to": "2024-01-18T04:52:09.905015Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:37:53.183655Z", "lte": "2024-01-18T04:52:53.183655Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:37:53.183655Z", "lte": "2024-01-18T04:52:53.183655Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:52:53.190448Z", - "endtime": "2024-01-18T04:52:53.183655Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:37:53.183655Z", - "time_taken": 0.006752967834472656 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:52:53.190448Z", - "endtime": "2024-01-18T04:52:53.183655Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:37:53.183655Z", - "time_taken": 0.006752967834472656 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:53:09.906026Z", - "to": "2024-01-18T04:53:09.906047Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:53:09.906026Z", - "to": "2024-01-18T04:53:09.906047Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:57.953322Z", "lte": "2024-01-18T04:53:57.953322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:38:57.953322Z", "lte": "2024-01-18T04:53:57.953322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:53:57.995228Z", - "endtime": "2024-01-18T04:53:57.953322Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:38:57.953322Z", - "time_taken": 0.041869163513183594 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:53:57.995228Z", - "endtime": "2024-01-18T04:53:57.953322Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:38:57.953322Z", - "time_taken": 0.041869163513183594 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:54:09.903407Z", - "to": "2024-01-18T04:54:09.903434Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:54:09.903407Z", - "to": "2024-01-18T04:54:09.903434Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:39:59.159123Z", "lte": "2024-01-18T04:54:59.159123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:39:59.159123Z", "lte": "2024-01-18T04:54:59.159123Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:54:59.167452Z", - "endtime": "2024-01-18T04:54:59.159123Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:39:59.159123Z", - "time_taken": 0.008274078369140625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:54:59.167452Z", - "endtime": "2024-01-18T04:54:59.159123Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:39:59.159123Z", - "time_taken": 0.008274078369140625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:55:09.904077Z", - "to": "2024-01-18T04:55:09.904099Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:55:09.904077Z", - "to": "2024-01-18T04:55:09.904099Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:40:59.753790Z", "lte": "2024-01-18T04:55:59.753790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:40:59.753790Z", "lte": "2024-01-18T04:55:59.753790Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:55:59.761831Z", - "endtime": "2024-01-18T04:55:59.753790Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:40:59.753790Z", - "time_taken": 0.007996082305908203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:55:59.761831Z", - "endtime": "2024-01-18T04:55:59.753790Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:40:59.753790Z", - "time_taken": 0.007996082305908203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:56:09.906704Z", - "to": "2024-01-18T04:56:09.906726Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:56:09.906704Z", - "to": "2024-01-18T04:56:09.906726Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:42:00.290809Z", "lte": "2024-01-18T04:57:00.290809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:42:00.290809Z", "lte": "2024-01-18T04:57:00.290809Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:57:00.299131Z", - "endtime": "2024-01-18T04:57:00.290809Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:42:00.290809Z", - "time_taken": 0.008260250091552734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:57:00.299131Z", - "endtime": "2024-01-18T04:57:00.290809Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:42:00.290809Z", - "time_taken": 0.008260250091552734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:57:09.913106Z", - "to": "2024-01-18T04:57:09.913134Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:57:09.913106Z", - "to": "2024-01-18T04:57:09.913134Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:43:03.740539Z", "lte": "2024-01-18T04:58:03.740539Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:43:03.740539Z", "lte": "2024-01-18T04:58:03.740539Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:58:03.749052Z", - "endtime": "2024-01-18T04:58:03.740539Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:43:03.740539Z", - "time_taken": 0.008472919464111328 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:58:03.749052Z", - "endtime": "2024-01-18T04:58:03.740539Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:43:03.740539Z", - "time_taken": 0.008472919464111328 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:58:09.912427Z", - "to": "2024-01-18T04:58:09.912455Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:58:09.912427Z", - "to": "2024-01-18T04:58:09.912455Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:44:08.405868Z", "lte": "2024-01-18T04:59:08.405868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:44:08.405868Z", "lte": "2024-01-18T04:59:08.405868Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:59:08.414984Z", - "endtime": "2024-01-18T04:59:08.405868Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:44:08.405868Z", - "time_taken": 0.009073972702026367 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T04:59:08.414984Z", - "endtime": "2024-01-18T04:59:08.405868Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:44:08.405868Z", - "time_taken": 0.009073972702026367 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:59:09.907612Z", - "to": "2024-01-18T04:59:09.907639Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T04:59:09.907612Z", - "to": "2024-01-18T04:59:09.907639Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:00:09.903996Z", - "to": "2024-01-18T05:00:09.904035Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:00:09.903996Z", - "to": "2024-01-18T05:00:09.904035Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:45:11.247517Z", "lte": "2024-01-18T05:00:11.247517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:45:11.247517Z", "lte": "2024-01-18T05:00:11.247517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:00:11.254899Z", - "endtime": "2024-01-18T05:00:11.247517Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:45:11.247517Z", - "time_taken": 0.00732421875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:00:11.254899Z", - "endtime": "2024-01-18T05:00:11.247517Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:45:11.247517Z", - "time_taken": 0.00732421875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:01:09.906232Z", - "to": "2024-01-18T05:01:09.906251Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:01:09.906232Z", - "to": "2024-01-18T05:01:09.906251Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:46:13.578273Z", "lte": "2024-01-18T05:01:13.578273Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:46:13.578273Z", "lte": "2024-01-18T05:01:13.578273Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:01:13.586025Z", - "endtime": "2024-01-18T05:01:13.578273Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:46:13.578273Z", - "time_taken": 0.007696866989135742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:01:13.586025Z", - "endtime": "2024-01-18T05:01:13.578273Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:46:13.578273Z", - "time_taken": 0.007696866989135742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:02:09.905046Z", - "to": "2024-01-18T05:02:09.905128Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:02:09.905046Z", - "to": "2024-01-18T05:02:09.905128Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:47:18.289592Z", "lte": "2024-01-18T05:02:18.289592Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:47:18.289592Z", "lte": "2024-01-18T05:02:18.289592Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:02:18.297786Z", - "endtime": "2024-01-18T05:02:18.289592Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:47:18.289592Z", - "time_taken": 0.008138895034790039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:02:18.297786Z", - "endtime": "2024-01-18T05:02:18.289592Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:47:18.289592Z", - "time_taken": 0.008138895034790039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:03:09.906761Z", - "to": "2024-01-18T05:03:09.906789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:03:09.906761Z", - "to": "2024-01-18T05:03:09.906789Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:48:19.320889Z", "lte": "2024-01-18T05:03:19.320889Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:48:19.320889Z", "lte": "2024-01-18T05:03:19.320889Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:03:19.328156Z", - "endtime": "2024-01-18T05:03:19.320889Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:48:19.320889Z", - "time_taken": 0.007213115692138672 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:03:19.328156Z", - "endtime": "2024-01-18T05:03:19.320889Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:48:19.320889Z", - "time_taken": 0.007213115692138672 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:04:09.905001Z", - "to": "2024-01-18T05:04:09.905042Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:04:09.905001Z", - "to": "2024-01-18T05:04:09.905042Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:49:21.592417Z", "lte": "2024-01-18T05:04:21.592417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:49:21.592417Z", "lte": "2024-01-18T05:04:21.592417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:04:21.599655Z", - "endtime": "2024-01-18T05:04:21.592417Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:49:21.592417Z", - "time_taken": 0.007179975509643555 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:04:21.599655Z", - "endtime": "2024-01-18T05:04:21.592417Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:49:21.592417Z", - "time_taken": 0.007179975509643555 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:05:09.903486Z", - "to": "2024-01-18T05:05:09.903512Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:05:09.903486Z", - "to": "2024-01-18T05:05:09.903512Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:50:21.732541Z", "lte": "2024-01-18T05:05:21.732541Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:50:21.732541Z", "lte": "2024-01-18T05:05:21.732541Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:05:21.741152Z", - "endtime": "2024-01-18T05:05:21.732541Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:50:21.732541Z", - "time_taken": 0.008569717407226562 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:05:21.741152Z", - "endtime": "2024-01-18T05:05:21.732541Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:50:21.732541Z", - "time_taken": 0.008569717407226562 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:06:09.912069Z", - "to": "2024-01-18T05:06:09.912097Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:06:09.912069Z", - "to": "2024-01-18T05:06:09.912097Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:51:24.805654Z", "lte": "2024-01-18T05:06:24.805654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:51:24.805654Z", "lte": "2024-01-18T05:06:24.805654Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:06:24.813122Z", - "endtime": "2024-01-18T05:06:24.805654Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:51:24.805654Z", - "time_taken": 0.0074079036712646484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:06:24.813122Z", - "endtime": "2024-01-18T05:06:24.805654Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:51:24.805654Z", - "time_taken": 0.0074079036712646484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:07:09.911673Z", - "to": "2024-01-18T05:07:09.911700Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:07:09.911673Z", - "to": "2024-01-18T05:07:09.911700Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:52:26.477393Z", "lte": "2024-01-18T05:07:26.477393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:52:26.477393Z", "lte": "2024-01-18T05:07:26.477393Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:07:26.484268Z", - "endtime": "2024-01-18T05:07:26.477393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:52:26.477393Z", - "time_taken": 0.006834983825683594 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:07:26.484268Z", - "endtime": "2024-01-18T05:07:26.477393Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:52:26.477393Z", - "time_taken": 0.006834983825683594 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:08:09.911387Z", - "to": "2024-01-18T05:08:09.911415Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:08:09.911387Z", - "to": "2024-01-18T05:08:09.911415Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:53:26.679987Z", "lte": "2024-01-18T05:08:26.679987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:53:26.679987Z", "lte": "2024-01-18T05:08:26.679987Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:08:26.710695Z", - "endtime": "2024-01-18T05:08:26.679987Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:53:26.679987Z", - "time_taken": 0.03065776824951172 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:08:26.710695Z", - "endtime": "2024-01-18T05:08:26.679987Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:53:26.679987Z", - "time_taken": 0.03065776824951172 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:09:09.911306Z", - "to": "2024-01-18T05:09:09.911326Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:09:09.911306Z", - "to": "2024-01-18T05:09:09.911326Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:54:26.806126Z", "lte": "2024-01-18T05:09:26.806126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:54:26.806126Z", "lte": "2024-01-18T05:09:26.806126Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:09:26.814403Z", - "endtime": "2024-01-18T05:09:26.806126Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:54:26.806126Z", - "time_taken": 0.008214950561523438 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:09:26.814403Z", - "endtime": "2024-01-18T05:09:26.806126Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:54:26.806126Z", - "time_taken": 0.008214950561523438 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:10:09.910699Z", - "to": "2024-01-18T05:10:09.910725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:10:09.910699Z", - "to": "2024-01-18T05:10:09.910725Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:55:31.391291Z", "lte": "2024-01-18T05:10:31.391291Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:55:31.391291Z", "lte": "2024-01-18T05:10:31.391291Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:10:31.398880Z", - "endtime": "2024-01-18T05:10:31.391291Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:55:31.391291Z", - "time_taken": 0.007545948028564453 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:10:31.398880Z", - "endtime": "2024-01-18T05:10:31.391291Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:55:31.391291Z", - "time_taken": 0.007545948028564453 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:11:09.910637Z", - "to": "2024-01-18T05:11:09.910674Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:11:09.910637Z", - "to": "2024-01-18T05:11:09.910674Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:56:34.613931Z", "lte": "2024-01-18T05:11:34.613931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:56:34.613931Z", "lte": "2024-01-18T05:11:34.613931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:11:34.620262Z", - "endtime": "2024-01-18T05:11:34.613931Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:56:34.613931Z", - "time_taken": 0.006290912628173828 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:11:34.620262Z", - "endtime": "2024-01-18T05:11:34.613931Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:56:34.613931Z", - "time_taken": 0.006290912628173828 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:12:09.910476Z", - "to": "2024-01-18T05:12:09.910513Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:12:09.910476Z", - "to": "2024-01-18T05:12:09.910513Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:57:35.745489Z", "lte": "2024-01-18T05:12:35.745489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:57:35.745489Z", "lte": "2024-01-18T05:12:35.745489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:12:35.758980Z", - "endtime": "2024-01-18T05:12:35.745489Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:57:35.745489Z", - "time_taken": 0.013443946838378906 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:12:35.758980Z", - "endtime": "2024-01-18T05:12:35.745489Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:57:35.745489Z", - "time_taken": 0.013443946838378906 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:13:09.909503Z", - "to": "2024-01-18T05:13:09.909541Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:13:09.909503Z", - "to": "2024-01-18T05:13:09.909541Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:58:37.201786Z", "lte": "2024-01-18T05:13:37.201786Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:58:37.201786Z", "lte": "2024-01-18T05:13:37.201786Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:13:37.207539Z", - "endtime": "2024-01-18T05:13:37.201786Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:58:37.201786Z", - "time_taken": 0.005687236785888672 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:13:37.207539Z", - "endtime": "2024-01-18T05:13:37.201786Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:58:37.201786Z", - "time_taken": 0.005687236785888672 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:14:09.912077Z", - "to": "2024-01-18T05:14:09.912115Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:14:09.912077Z", - "to": "2024-01-18T05:14:09.912115Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:59:40.258111Z", "lte": "2024-01-18T05:14:40.258111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T04:59:40.258111Z", "lte": "2024-01-18T05:14:40.258111Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:14:40.265417Z", - "endtime": "2024-01-18T05:14:40.258111Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:59:40.258111Z", - "time_taken": 0.007261037826538086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:14:40.265417Z", - "endtime": "2024-01-18T05:14:40.258111Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T04:59:40.258111Z", - "time_taken": 0.007261037826538086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:15:09.908136Z", - "to": "2024-01-18T05:15:09.908161Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:15:09.908136Z", - "to": "2024-01-18T05:15:09.908161Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:00:42.011726Z", "lte": "2024-01-18T05:15:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:00:42.011726Z", "lte": "2024-01-18T05:15:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:15:42.019926Z", - "endtime": "2024-01-18T05:15:42.011726Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:00:42.011726Z", - "time_taken": 0.008142948150634766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:15:42.019926Z", - "endtime": "2024-01-18T05:15:42.011726Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:00:42.011726Z", - "time_taken": 0.008142948150634766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:51:09.914250Z", - "to": "2024-01-18T05:51:09.914287Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:51:09.914250Z", - "to": "2024-01-18T05:51:09.914287Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:15:42.011726Z", "lte": "2024-01-18T05:30:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:15:42.011726Z", "lte": "2024-01-18T05:30:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:30:42.011726Z", "lte": "2024-01-18T05:45:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:30:42.011726Z", "lte": "2024-01-18T05:45:42.011726Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:42.011726Z", "lte": "2024-01-18T05:51:11.440845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:42.011726Z", "lte": "2024-01-18T05:51:11.440845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:51:11.464057Z", - "endtime": "2024-01-18T05:51:11.440845Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:15:42.011726Z", - "time_taken": 0.02315807342529297 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:51:11.464057Z", - "endtime": "2024-01-18T05:51:11.440845Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:15:42.011726Z", - "time_taken": 0.02315807342529297 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:52:09.908086Z", - "to": "2024-01-18T05:52:09.908141Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:52:09.908086Z", - "to": "2024-01-18T05:52:09.908141Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:37:14.254491Z", "lte": "2024-01-18T05:52:14.254491Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:37:14.254491Z", "lte": "2024-01-18T05:52:14.254491Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:52:14.261736Z", - "endtime": "2024-01-18T05:52:14.254491Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:37:14.254491Z", - "time_taken": 0.007200002670288086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:52:14.261736Z", - "endtime": "2024-01-18T05:52:14.254491Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:37:14.254491Z", - "time_taken": 0.007200002670288086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:53:09.909230Z", - "to": "2024-01-18T05:53:09.909258Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:53:09.909230Z", - "to": "2024-01-18T05:53:09.909258Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:38:19.179759Z", "lte": "2024-01-18T05:53:19.179759Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:38:19.179759Z", "lte": "2024-01-18T05:53:19.179759Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:53:19.188071Z", - "endtime": "2024-01-18T05:53:19.179759Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:38:19.179759Z", - "time_taken": 0.008255958557128906 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:53:19.188071Z", - "endtime": "2024-01-18T05:53:19.179759Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:38:19.179759Z", - "time_taken": 0.008255958557128906 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:54:09.910715Z", - "to": "2024-01-18T05:54:09.910754Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:54:09.910715Z", - "to": "2024-01-18T05:54:09.910754Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:39:24.010231Z", "lte": "2024-01-18T05:54:24.010231Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:39:24.010231Z", "lte": "2024-01-18T05:54:24.010231Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:54:24.017073Z", - "endtime": "2024-01-18T05:54:24.010231Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:39:24.010231Z", - "time_taken": 0.006804943084716797 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:54:24.017073Z", - "endtime": "2024-01-18T05:54:24.010231Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:39:24.010231Z", - "time_taken": 0.006804943084716797 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:55:09.905411Z", - "to": "2024-01-18T05:55:09.905437Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:55:09.905411Z", - "to": "2024-01-18T05:55:09.905437Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:40:26.974769Z", "lte": "2024-01-18T05:55:26.974769Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:40:26.974769Z", "lte": "2024-01-18T05:55:26.974769Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:55:26.984183Z", - "endtime": "2024-01-18T05:55:26.974769Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:40:26.974769Z", - "time_taken": 0.009358882904052734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:55:26.984183Z", - "endtime": "2024-01-18T05:55:26.974769Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:40:26.974769Z", - "time_taken": 0.009358882904052734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:56:09.903643Z", - "to": "2024-01-18T05:56:09.903669Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:56:09.903643Z", - "to": "2024-01-18T05:56:09.903669Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:41:31.629531Z", "lte": "2024-01-18T05:56:31.629531Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:41:31.629531Z", "lte": "2024-01-18T05:56:31.629531Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:56:31.638526Z", - "endtime": "2024-01-18T05:56:31.629531Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:41:31.629531Z", - "time_taken": 0.008936882019042969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:56:31.638526Z", - "endtime": "2024-01-18T05:56:31.629531Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:41:31.629531Z", - "time_taken": 0.008936882019042969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:57:09.904275Z", - "to": "2024-01-18T05:57:09.904294Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:57:09.904275Z", - "to": "2024-01-18T05:57:09.904294Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:42:32.121760Z", "lte": "2024-01-18T05:57:32.121760Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:42:32.121760Z", "lte": "2024-01-18T05:57:32.121760Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:57:32.131456Z", - "endtime": "2024-01-18T05:57:32.121760Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:42:32.121760Z", - "time_taken": 0.009638309478759766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:57:32.131456Z", - "endtime": "2024-01-18T05:57:32.121760Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:42:32.121760Z", - "time_taken": 0.009638309478759766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:58:09.912326Z", - "to": "2024-01-18T05:58:09.912345Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:58:09.912326Z", - "to": "2024-01-18T05:58:09.912345Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:43:34.250080Z", "lte": "2024-01-18T05:58:34.250080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:43:34.250080Z", "lte": "2024-01-18T05:58:34.250080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:58:34.261875Z", - "endtime": "2024-01-18T05:58:34.250080Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:43:34.250080Z", - "time_taken": 0.011738061904907227 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:58:34.261875Z", - "endtime": "2024-01-18T05:58:34.250080Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:43:34.250080Z", - "time_taken": 0.011738061904907227 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:59:09.904979Z", - "to": "2024-01-18T05:59:09.905006Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T05:59:09.904979Z", - "to": "2024-01-18T05:59:09.905006Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:44:36.438517Z", "lte": "2024-01-18T05:59:36.438517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:44:36.438517Z", "lte": "2024-01-18T05:59:36.438517Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:59:36.445091Z", - "endtime": "2024-01-18T05:59:36.438517Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:44:36.438517Z", - "time_taken": 0.0065348148345947266 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T05:59:36.445091Z", - "endtime": "2024-01-18T05:59:36.438517Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:44:36.438517Z", - "time_taken": 0.0065348148345947266 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:00:09.904415Z", - "to": "2024-01-18T06:00:09.904439Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:00:09.904415Z", - "to": "2024-01-18T06:00:09.904439Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:38.778369Z", "lte": "2024-01-18T06:00:38.778369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:45:38.778369Z", "lte": "2024-01-18T06:00:38.778369Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:00:38.785590Z", - "endtime": "2024-01-18T06:00:38.778369Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:45:38.778369Z", - "time_taken": 0.007141828536987305 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:00:38.785590Z", - "endtime": "2024-01-18T06:00:38.778369Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:45:38.778369Z", - "time_taken": 0.007141828536987305 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:01:09.905120Z", - "to": "2024-01-18T06:01:09.905164Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:01:09.905120Z", - "to": "2024-01-18T06:01:09.905164Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:46:41.942028Z", "lte": "2024-01-18T06:01:41.942028Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:46:41.942028Z", "lte": "2024-01-18T06:01:41.942028Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:01:41.948831Z", - "endtime": "2024-01-18T06:01:41.942028Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:46:41.942028Z", - "time_taken": 0.006747722625732422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:01:41.948831Z", - "endtime": "2024-01-18T06:01:41.942028Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:46:41.942028Z", - "time_taken": 0.006747722625732422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:02:09.905116Z", - "to": "2024-01-18T06:02:09.905144Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:02:09.905116Z", - "to": "2024-01-18T06:02:09.905144Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:47:46.093696Z", "lte": "2024-01-18T06:02:46.093696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:47:46.093696Z", "lte": "2024-01-18T06:02:46.093696Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:02:46.099903Z", - "endtime": "2024-01-18T06:02:46.093696Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:47:46.093696Z", - "time_taken": 0.006170034408569336 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:02:46.099903Z", - "endtime": "2024-01-18T06:02:46.093696Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:47:46.093696Z", - "time_taken": 0.006170034408569336 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:03:09.903426Z", - "to": "2024-01-18T06:03:09.903453Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:03:09.903426Z", - "to": "2024-01-18T06:03:09.903453Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:48:50.536646Z", "lte": "2024-01-18T06:03:50.536646Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:48:50.536646Z", "lte": "2024-01-18T06:03:50.536646Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:03:50.543562Z", - "endtime": "2024-01-18T06:03:50.536646Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:48:50.536646Z", - "time_taken": 0.006847381591796875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:03:50.543562Z", - "endtime": "2024-01-18T06:03:50.536646Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:48:50.536646Z", - "time_taken": 0.006847381591796875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:04:09.903963Z", - "to": "2024-01-18T06:04:09.903989Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:04:09.903963Z", - "to": "2024-01-18T06:04:09.903989Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:49:51.815729Z", "lte": "2024-01-18T06:04:51.815729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:49:51.815729Z", "lte": "2024-01-18T06:04:51.815729Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:04:51.822204Z", - "endtime": "2024-01-18T06:04:51.815729Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:49:51.815729Z", - "time_taken": 0.0064351558685302734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:04:51.822204Z", - "endtime": "2024-01-18T06:04:51.815729Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:49:51.815729Z", - "time_taken": 0.0064351558685302734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:05:09.903796Z", - "to": "2024-01-18T06:05:09.903834Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:05:09.903796Z", - "to": "2024-01-18T06:05:09.903834Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:50:54.727485Z", "lte": "2024-01-18T06:05:54.727485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:50:54.727485Z", "lte": "2024-01-18T06:05:54.727485Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:05:54.734736Z", - "endtime": "2024-01-18T06:05:54.727485Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:50:54.727485Z", - "time_taken": 0.0071947574615478516 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:05:54.734736Z", - "endtime": "2024-01-18T06:05:54.727485Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:50:54.727485Z", - "time_taken": 0.0071947574615478516 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:06:09.902579Z", - "to": "2024-01-18T06:06:09.902594Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:06:09.902579Z", - "to": "2024-01-18T06:06:09.902594Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:51:55.359323Z", "lte": "2024-01-18T06:06:55.359323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:51:55.359323Z", "lte": "2024-01-18T06:06:55.359323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:06:55.368057Z", - "endtime": "2024-01-18T06:06:55.359323Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:51:55.359323Z", - "time_taken": 0.008678913116455078 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:06:55.368057Z", - "endtime": "2024-01-18T06:06:55.359323Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:51:55.359323Z", - "time_taken": 0.008678913116455078 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:07:09.904990Z", - "to": "2024-01-18T06:07:09.905028Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:07:09.904990Z", - "to": "2024-01-18T06:07:09.905028Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:52:59.858419Z", "lte": "2024-01-18T06:07:59.858419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:52:59.858419Z", "lte": "2024-01-18T06:07:59.858419Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:07:59.865337Z", - "endtime": "2024-01-18T06:07:59.858419Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:52:59.858419Z", - "time_taken": 0.006864070892333984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:07:59.865337Z", - "endtime": "2024-01-18T06:07:59.858419Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:52:59.858419Z", - "time_taken": 0.006864070892333984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:08:09.908399Z", - "to": "2024-01-18T06:08:09.908437Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:08:09.908399Z", - "to": "2024-01-18T06:08:09.908437Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:53:59.991312Z", "lte": "2024-01-18T06:08:59.991312Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:53:59.991312Z", "lte": "2024-01-18T06:08:59.991312Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:08:59.999244Z", - "endtime": "2024-01-18T06:08:59.991312Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:53:59.991312Z", - "time_taken": 0.007876873016357422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:08:59.999244Z", - "endtime": "2024-01-18T06:08:59.991312Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:53:59.991312Z", - "time_taken": 0.007876873016357422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:09:09.907841Z", - "to": "2024-01-18T06:09:09.907880Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:09:09.907841Z", - "to": "2024-01-18T06:09:09.907880Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:55:03.594974Z", "lte": "2024-01-18T06:10:03.594974Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:55:03.594974Z", "lte": "2024-01-18T06:10:03.594974Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:10:03.601709Z", - "endtime": "2024-01-18T06:10:03.594974Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:55:03.594974Z", - "time_taken": 0.006681203842163086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:10:03.601709Z", - "endtime": "2024-01-18T06:10:03.594974Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:55:03.594974Z", - "time_taken": 0.006681203842163086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:10:09.907599Z", - "to": "2024-01-18T06:10:09.907626Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:10:09.907599Z", - "to": "2024-01-18T06:10:09.907626Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:56:05.133266Z", "lte": "2024-01-18T06:11:05.133266Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:56:05.133266Z", "lte": "2024-01-18T06:11:05.133266Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:11:05.140077Z", - "endtime": "2024-01-18T06:11:05.133266Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:56:05.133266Z", - "time_taken": 0.006773948669433594 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:11:05.140077Z", - "endtime": "2024-01-18T06:11:05.133266Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:56:05.133266Z", - "time_taken": 0.006773948669433594 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:11:09.906733Z", - "to": "2024-01-18T06:11:09.906772Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:11:09.906733Z", - "to": "2024-01-18T06:11:09.906772Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:57:05.678483Z", "lte": "2024-01-18T06:12:05.678483Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:57:05.678483Z", "lte": "2024-01-18T06:12:05.678483Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:12:05.683740Z", - "endtime": "2024-01-18T06:12:05.678483Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:57:05.678483Z", - "time_taken": 0.0052280426025390625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:12:05.683740Z", - "endtime": "2024-01-18T06:12:05.678483Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:57:05.678483Z", - "time_taken": 0.0052280426025390625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:12:09.906235Z", - "to": "2024-01-18T06:12:09.906274Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:12:09.906235Z", - "to": "2024-01-18T06:12:09.906274Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:58:09.598069Z", "lte": "2024-01-18T06:13:09.598069Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:58:09.598069Z", "lte": "2024-01-18T06:13:09.598069Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:13:09.605077Z", - "endtime": "2024-01-18T06:13:09.598069Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:58:09.598069Z", - "time_taken": 0.006945610046386719 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:13:09.605077Z", - "endtime": "2024-01-18T06:13:09.598069Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:58:09.598069Z", - "time_taken": 0.006945610046386719 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:13:09.905681Z", - "to": "2024-01-18T06:13:09.905720Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:13:09.905681Z", - "to": "2024-01-18T06:13:09.905720Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:14:09.905055Z", - "to": "2024-01-18T06:14:09.905094Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:14:09.905055Z", - "to": "2024-01-18T06:14:09.905094Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:59:11.107083Z", "lte": "2024-01-18T06:14:11.107083Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T05:59:11.107083Z", "lte": "2024-01-18T06:14:11.107083Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:14:11.115833Z", - "endtime": "2024-01-18T06:14:11.107083Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:59:11.107083Z", - "time_taken": 0.00869607925415039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:14:11.115833Z", - "endtime": "2024-01-18T06:14:11.107083Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T05:59:11.107083Z", - "time_taken": 0.00869607925415039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:15:09.906579Z", - "to": "2024-01-18T06:15:09.906618Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:15:09.906579Z", - "to": "2024-01-18T06:15:09.906618Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:00:14.449774Z", "lte": "2024-01-18T06:15:14.449774Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:00:14.449774Z", "lte": "2024-01-18T06:15:14.449774Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:15:14.456618Z", - "endtime": "2024-01-18T06:15:14.449774Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:00:14.449774Z", - "time_taken": 0.0067899227142333984 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:15:14.456618Z", - "endtime": "2024-01-18T06:15:14.449774Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:00:14.449774Z", - "time_taken": 0.0067899227142333984 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:16:09.903993Z", - "to": "2024-01-18T06:16:09.904039Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:16:09.903993Z", - "to": "2024-01-18T06:16:09.904039Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:01:19.403806Z", "lte": "2024-01-18T06:16:19.403806Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:01:19.403806Z", "lte": "2024-01-18T06:16:19.403806Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:16:19.410723Z", - "endtime": "2024-01-18T06:16:19.403806Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:01:19.403806Z", - "time_taken": 0.006858110427856445 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:16:19.410723Z", - "endtime": "2024-01-18T06:16:19.403806Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:01:19.403806Z", - "time_taken": 0.006858110427856445 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:17:09.903586Z", - "to": "2024-01-18T06:17:09.903608Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:17:09.903586Z", - "to": "2024-01-18T06:17:09.903608Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:02:20.159779Z", "lte": "2024-01-18T06:17:20.159779Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:02:20.159779Z", "lte": "2024-01-18T06:17:20.159779Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:17:20.166633Z", - "endtime": "2024-01-18T06:17:20.159779Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:02:20.159779Z", - "time_taken": 0.006800174713134766 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:17:20.166633Z", - "endtime": "2024-01-18T06:17:20.159779Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:02:20.159779Z", - "time_taken": 0.006800174713134766 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:18:09.904625Z", - "to": "2024-01-18T06:18:09.904651Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:18:09.904625Z", - "to": "2024-01-18T06:18:09.904651Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:03:24.551397Z", "lte": "2024-01-18T06:18:24.551397Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:03:24.551397Z", "lte": "2024-01-18T06:18:24.551397Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:18:24.573443Z", - "endtime": "2024-01-18T06:18:24.551397Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:03:24.551397Z", - "time_taken": 0.02198195457458496 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:18:24.573443Z", - "endtime": "2024-01-18T06:18:24.551397Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:03:24.551397Z", - "time_taken": 0.02198195457458496 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:19:09.903446Z", - "to": "2024-01-18T06:19:09.903484Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:19:09.903446Z", - "to": "2024-01-18T06:19:09.903484Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:04:26.474191Z", "lte": "2024-01-18T06:19:26.474191Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:04:26.474191Z", "lte": "2024-01-18T06:19:26.474191Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:19:26.480100Z", - "endtime": "2024-01-18T06:19:26.474191Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:04:26.474191Z", - "time_taken": 0.005875110626220703 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:19:26.480100Z", - "endtime": "2024-01-18T06:19:26.474191Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:04:26.474191Z", - "time_taken": 0.005875110626220703 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:20:09.906653Z", - "to": "2024-01-18T06:20:09.906678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:20:09.906653Z", - "to": "2024-01-18T06:20:09.906678Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:05:27.468518Z", "lte": "2024-01-18T06:20:27.468518Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:05:27.468518Z", "lte": "2024-01-18T06:20:27.468518Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:20:27.478791Z", - "endtime": "2024-01-18T06:20:27.468518Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:05:27.468518Z", - "time_taken": 0.01023721694946289 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:20:27.478791Z", - "endtime": "2024-01-18T06:20:27.468518Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:05:27.468518Z", - "time_taken": 0.01023721694946289 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:21:09.918146Z", - "to": "2024-01-18T06:21:09.918173Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:21:09.918146Z", - "to": "2024-01-18T06:21:09.918173Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:06:31.587221Z", "lte": "2024-01-18T06:21:31.587221Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:06:31.587221Z", "lte": "2024-01-18T06:21:31.587221Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:21:31.594323Z", - "endtime": "2024-01-18T06:21:31.587221Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:06:31.587221Z", - "time_taken": 0.0070650577545166016 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:21:31.594323Z", - "endtime": "2024-01-18T06:21:31.587221Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:06:31.587221Z", - "time_taken": 0.0070650577545166016 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:22:09.908036Z", - "to": "2024-01-18T06:22:09.908075Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:22:09.908036Z", - "to": "2024-01-18T06:22:09.908075Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:07:34.524611Z", "lte": "2024-01-18T06:22:34.524611Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:07:34.524611Z", "lte": "2024-01-18T06:22:34.524611Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:22:34.532263Z", - "endtime": "2024-01-18T06:22:34.524611Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:07:34.524611Z", - "time_taken": 0.00759124755859375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:22:34.532263Z", - "endtime": "2024-01-18T06:22:34.524611Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:07:34.524611Z", - "time_taken": 0.00759124755859375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:23:09.907823Z", - "to": "2024-01-18T06:23:09.907878Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:23:09.907823Z", - "to": "2024-01-18T06:23:09.907878Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:08:38.264344Z", "lte": "2024-01-18T06:23:38.264344Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:08:38.264344Z", "lte": "2024-01-18T06:23:38.264344Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:23:38.272815Z", - "endtime": "2024-01-18T06:23:38.264344Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:08:38.264344Z", - "time_taken": 0.008372068405151367 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:23:38.272815Z", - "endtime": "2024-01-18T06:23:38.264344Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:08:38.264344Z", - "time_taken": 0.008372068405151367 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:24:09.903436Z", - "to": "2024-01-18T06:24:09.903460Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:24:09.903436Z", - "to": "2024-01-18T06:24:09.903460Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:09:39.526152Z", "lte": "2024-01-18T06:24:39.526152Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:09:39.526152Z", "lte": "2024-01-18T06:24:39.526152Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:24:39.533052Z", - "endtime": "2024-01-18T06:24:39.526152Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:09:39.526152Z", - "time_taken": 0.006807088851928711 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:24:39.533052Z", - "endtime": "2024-01-18T06:24:39.526152Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:09:39.526152Z", - "time_taken": 0.006807088851928711 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:25:09.908399Z", - "to": "2024-01-18T06:25:09.908436Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:25:09.908399Z", - "to": "2024-01-18T06:25:09.908436Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:10:42.867213Z", "lte": "2024-01-18T06:25:42.867213Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:10:42.867213Z", "lte": "2024-01-18T06:25:42.867213Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:25:42.872167Z", - "endtime": "2024-01-18T06:25:42.867213Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:10:42.867213Z", - "time_taken": 0.004925966262817383 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:25:42.872167Z", - "endtime": "2024-01-18T06:25:42.867213Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:10:42.867213Z", - "time_taken": 0.004925966262817383 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:26:09.908165Z", - "to": "2024-01-18T06:26:09.908203Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:26:09.908165Z", - "to": "2024-01-18T06:26:09.908203Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:11:43.085211Z", "lte": "2024-01-18T06:26:43.085211Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:11:43.085211Z", "lte": "2024-01-18T06:26:43.085211Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:26:43.091863Z", - "endtime": "2024-01-18T06:26:43.085211Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:11:43.085211Z", - "time_taken": 0.006613016128540039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:26:43.091863Z", - "endtime": "2024-01-18T06:26:43.085211Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:11:43.085211Z", - "time_taken": 0.006613016128540039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:27:09.907949Z", - "to": "2024-01-18T06:27:09.907988Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:27:09.907949Z", - "to": "2024-01-18T06:27:09.907988Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:12:46.603367Z", "lte": "2024-01-18T06:27:46.603367Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:12:46.603367Z", "lte": "2024-01-18T06:27:46.603367Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:27:46.611272Z", - "endtime": "2024-01-18T06:27:46.603367Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:12:46.603367Z", - "time_taken": 0.007847309112548828 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:27:46.611272Z", - "endtime": "2024-01-18T06:27:46.603367Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:12:46.603367Z", - "time_taken": 0.007847309112548828 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:28:09.908044Z", - "to": "2024-01-18T06:28:09.908083Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:28:09.908044Z", - "to": "2024-01-18T06:28:09.908083Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:13:48.055182Z", "lte": "2024-01-18T06:28:48.055182Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:13:48.055182Z", "lte": "2024-01-18T06:28:48.055182Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:28:48.061997Z", - "endtime": "2024-01-18T06:28:48.055182Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:13:48.055182Z", - "time_taken": 0.006760835647583008 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:28:48.061997Z", - "endtime": "2024-01-18T06:28:48.055182Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:13:48.055182Z", - "time_taken": 0.006760835647583008 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:29:09.906891Z", - "to": "2024-01-18T06:29:09.906930Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:29:09.906891Z", - "to": "2024-01-18T06:29:09.906930Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:14:48.550706Z", "lte": "2024-01-18T06:29:48.550706Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:14:48.550706Z", "lte": "2024-01-18T06:29:48.550706Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:29:48.583527Z", - "endtime": "2024-01-18T06:29:48.550706Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:14:48.550706Z", - "time_taken": 0.03277897834777832 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:29:48.583527Z", - "endtime": "2024-01-18T06:29:48.550706Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:14:48.550706Z", - "time_taken": 0.03277897834777832 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:30:09.905930Z", - "to": "2024-01-18T06:30:09.905968Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:30:09.905930Z", - "to": "2024-01-18T06:30:09.905968Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:15:49.195601Z", "lte": "2024-01-18T06:30:49.195601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:15:49.195601Z", "lte": "2024-01-18T06:30:49.195601Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:30:49.200917Z", - "endtime": "2024-01-18T06:30:49.195601Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:15:49.195601Z", - "time_taken": 0.0052869319915771484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:30:49.200917Z", - "endtime": "2024-01-18T06:30:49.195601Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:15:49.195601Z", - "time_taken": 0.0052869319915771484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:31:09.906818Z", - "to": "2024-01-18T06:31:09.906856Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:31:09.906818Z", - "to": "2024-01-18T06:31:09.906856Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:16:51.448623Z", "lte": "2024-01-18T06:31:51.448623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:16:51.448623Z", "lte": "2024-01-18T06:31:51.448623Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:31:51.455344Z", - "endtime": "2024-01-18T06:31:51.448623Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:16:51.448623Z", - "time_taken": 0.006665945053100586 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:31:51.455344Z", - "endtime": "2024-01-18T06:31:51.448623Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:16:51.448623Z", - "time_taken": 0.006665945053100586 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:32:09.908109Z", - "to": "2024-01-18T06:32:09.908148Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:32:09.908109Z", - "to": "2024-01-18T06:32:09.908148Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:17:52.923824Z", "lte": "2024-01-18T06:32:52.923824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:17:52.923824Z", "lte": "2024-01-18T06:32:52.923824Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:32:52.932828Z", - "endtime": "2024-01-18T06:32:52.923824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:17:52.923824Z", - "time_taken": 0.008966207504272461 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:32:52.932828Z", - "endtime": "2024-01-18T06:32:52.923824Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:17:52.923824Z", - "time_taken": 0.008966207504272461 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:33:09.908306Z", - "to": "2024-01-18T06:33:09.908344Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:33:09.908306Z", - "to": "2024-01-18T06:33:09.908344Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:18:57.244400Z", "lte": "2024-01-18T06:33:57.244400Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:18:57.244400Z", "lte": "2024-01-18T06:33:57.244400Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:33:57.281815Z", - "endtime": "2024-01-18T06:33:57.244400Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:18:57.244400Z", - "time_taken": 0.03736686706542969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:33:57.281815Z", - "endtime": "2024-01-18T06:33:57.244400Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:18:57.244400Z", - "time_taken": 0.03736686706542969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:34:09.904583Z", - "to": "2024-01-18T06:34:09.904622Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:34:09.904583Z", - "to": "2024-01-18T06:34:09.904622Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:20:01.478869Z", "lte": "2024-01-18T06:35:01.478869Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:20:01.478869Z", "lte": "2024-01-18T06:35:01.478869Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:35:01.486552Z", - "endtime": "2024-01-18T06:35:01.478869Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:20:01.478869Z", - "time_taken": 0.007629871368408203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:35:01.486552Z", - "endtime": "2024-01-18T06:35:01.478869Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:20:01.478869Z", - "time_taken": 0.007629871368408203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:35:09.903826Z", - "to": "2024-01-18T06:35:09.903865Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:35:09.903826Z", - "to": "2024-01-18T06:35:09.903865Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:21:04.983175Z", "lte": "2024-01-18T06:36:04.983175Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:21:04.983175Z", "lte": "2024-01-18T06:36:04.983175Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:36:04.989745Z", - "endtime": "2024-01-18T06:36:04.983175Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:21:04.983175Z", - "time_taken": 0.0065460205078125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:36:04.989745Z", - "endtime": "2024-01-18T06:36:04.983175Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:21:04.983175Z", - "time_taken": 0.0065460205078125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:36:09.908538Z", - "to": "2024-01-18T06:36:09.908557Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:36:09.908538Z", - "to": "2024-01-18T06:36:09.908557Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:22:05.088110Z", "lte": "2024-01-18T06:37:05.088110Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:22:05.088110Z", "lte": "2024-01-18T06:37:05.088110Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:37:05.093739Z", - "endtime": "2024-01-18T06:37:05.088110Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:22:05.088110Z", - "time_taken": 0.0055959224700927734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:37:05.093739Z", - "endtime": "2024-01-18T06:37:05.088110Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:22:05.088110Z", - "time_taken": 0.0055959224700927734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:37:09.906302Z", - "to": "2024-01-18T06:37:09.906340Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:37:09.906302Z", - "to": "2024-01-18T06:37:09.906340Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:23:06.191428Z", "lte": "2024-01-18T06:38:06.191428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:23:06.191428Z", "lte": "2024-01-18T06:38:06.191428Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:38:06.199293Z", - "endtime": "2024-01-18T06:38:06.191428Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:23:06.191428Z", - "time_taken": 0.00780797004699707 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:38:06.199293Z", - "endtime": "2024-01-18T06:38:06.191428Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:23:06.191428Z", - "time_taken": 0.00780797004699707 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:38:09.903635Z", - "to": "2024-01-18T06:38:09.903675Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:38:09.903635Z", - "to": "2024-01-18T06:38:09.903675Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:24:06.932866Z", "lte": "2024-01-18T06:39:06.932866Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:24:06.932866Z", "lte": "2024-01-18T06:39:06.932866Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:39:06.940097Z", - "endtime": "2024-01-18T06:39:06.932866Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:24:06.932866Z", - "time_taken": 0.007164955139160156 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:39:06.940097Z", - "endtime": "2024-01-18T06:39:06.932866Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:24:06.932866Z", - "time_taken": 0.007164955139160156 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:39:09.905105Z", - "to": "2024-01-18T06:39:09.905142Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:39:09.905105Z", - "to": "2024-01-18T06:39:09.905142Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:25:07.154242Z", "lte": "2024-01-18T06:40:07.154242Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:25:07.154242Z", "lte": "2024-01-18T06:40:07.154242Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:40:07.160762Z", - "endtime": "2024-01-18T06:40:07.154242Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:25:07.154242Z", - "time_taken": 0.00648188591003418 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:40:07.160762Z", - "endtime": "2024-01-18T06:40:07.154242Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:25:07.154242Z", - "time_taken": 0.00648188591003418 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:40:09.908017Z", - "to": "2024-01-18T06:40:09.908055Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:40:09.908017Z", - "to": "2024-01-18T06:40:09.908055Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:26:09.149953Z", "lte": "2024-01-18T06:41:09.149953Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:26:09.149953Z", "lte": "2024-01-18T06:41:09.149953Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:41:09.157005Z", - "endtime": "2024-01-18T06:41:09.149953Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:26:09.149953Z", - "time_taken": 0.006999015808105469 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:41:09.157005Z", - "endtime": "2024-01-18T06:41:09.149953Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:26:09.149953Z", - "time_taken": 0.006999015808105469 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:41:09.904992Z", - "to": "2024-01-18T06:41:09.905031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:41:09.904992Z", - "to": "2024-01-18T06:41:09.905031Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:27:09.776386Z", "lte": "2024-01-18T06:42:09.776386Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:27:09.776386Z", "lte": "2024-01-18T06:42:09.776386Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:42:09.782934Z", - "endtime": "2024-01-18T06:42:09.776386Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:27:09.776386Z", - "time_taken": 0.006508827209472656 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:42:09.782934Z", - "endtime": "2024-01-18T06:42:09.776386Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:27:09.776386Z", - "time_taken": 0.006508827209472656 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:42:09.904270Z", - "to": "2024-01-18T06:42:09.904297Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:42:09.904270Z", - "to": "2024-01-18T06:42:09.904297Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:43:09.904889Z", - "to": "2024-01-18T06:43:09.904926Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:43:09.904889Z", - "to": "2024-01-18T06:43:09.904926Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:28:11.038148Z", "lte": "2024-01-18T06:43:11.038148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:28:11.038148Z", "lte": "2024-01-18T06:43:11.038148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:43:11.045178Z", - "endtime": "2024-01-18T06:43:11.038148Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:28:11.038148Z", - "time_taken": 0.006974935531616211 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:43:11.045178Z", - "endtime": "2024-01-18T06:43:11.038148Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:28:11.038148Z", - "time_taken": 0.006974935531616211 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:44:09.907863Z", - "to": "2024-01-18T06:44:09.907883Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:44:09.907863Z", - "to": "2024-01-18T06:44:09.907883Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:29:15.014489Z", "lte": "2024-01-18T06:44:15.014489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:29:15.014489Z", "lte": "2024-01-18T06:44:15.014489Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:44:15.021404Z", - "endtime": "2024-01-18T06:44:15.014489Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:29:15.014489Z", - "time_taken": 0.006860017776489258 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:44:15.021404Z", - "endtime": "2024-01-18T06:44:15.014489Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:29:15.014489Z", - "time_taken": 0.006860017776489258 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:45:09.907748Z", - "to": "2024-01-18T06:45:09.907786Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:45:09.907748Z", - "to": "2024-01-18T06:45:09.907786Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:30:16.757250Z", "lte": "2024-01-18T06:45:16.757250Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:30:16.757250Z", "lte": "2024-01-18T06:45:16.757250Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:45:16.763287Z", - "endtime": "2024-01-18T06:45:16.757250Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:30:16.757250Z", - "time_taken": 0.006007194519042969 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:45:16.763287Z", - "endtime": "2024-01-18T06:45:16.757250Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:30:16.757250Z", - "time_taken": 0.006007194519042969 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:46:09.906892Z", - "to": "2024-01-18T06:46:09.906908Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:46:09.906892Z", - "to": "2024-01-18T06:46:09.906908Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:31:17.933080Z", "lte": "2024-01-18T06:46:17.933080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:31:17.933080Z", "lte": "2024-01-18T06:46:17.933080Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:46:17.965485Z", - "endtime": "2024-01-18T06:46:17.933080Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:31:17.933080Z", - "time_taken": 0.03236508369445801 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:46:17.965485Z", - "endtime": "2024-01-18T06:46:17.933080Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:31:17.933080Z", - "time_taken": 0.03236508369445801 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:47:09.907080Z", - "to": "2024-01-18T06:47:09.907118Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:47:09.907080Z", - "to": "2024-01-18T06:47:09.907118Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:32:18.372591Z", "lte": "2024-01-18T06:47:18.372591Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:32:18.372591Z", "lte": "2024-01-18T06:47:18.372591Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:47:18.379617Z", - "endtime": "2024-01-18T06:47:18.372591Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:32:18.372591Z", - "time_taken": 0.006970882415771484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:47:18.379617Z", - "endtime": "2024-01-18T06:47:18.372591Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:32:18.372591Z", - "time_taken": 0.006970882415771484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:48:09.906662Z", - "to": "2024-01-18T06:48:09.906700Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:48:09.906662Z", - "to": "2024-01-18T06:48:09.906700Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:33:21.072723Z", "lte": "2024-01-18T06:48:21.072723Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:33:21.072723Z", "lte": "2024-01-18T06:48:21.072723Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:48:21.078087Z", - "endtime": "2024-01-18T06:48:21.072723Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:33:21.072723Z", - "time_taken": 0.005333900451660156 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:48:21.078087Z", - "endtime": "2024-01-18T06:48:21.072723Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:33:21.072723Z", - "time_taken": 0.005333900451660156 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:49:09.906048Z", - "to": "2024-01-18T06:49:09.906074Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:49:09.906048Z", - "to": "2024-01-18T06:49:09.906074Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:34:24.412183Z", "lte": "2024-01-18T06:49:24.412183Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:34:24.412183Z", "lte": "2024-01-18T06:49:24.412183Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:49:24.443250Z", - "endtime": "2024-01-18T06:49:24.412183Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:34:24.412183Z", - "time_taken": 0.031008005142211914 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:49:24.443250Z", - "endtime": "2024-01-18T06:49:24.412183Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:34:24.412183Z", - "time_taken": 0.031008005142211914 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:50:09.905577Z", - "to": "2024-01-18T06:50:09.905596Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:50:09.905577Z", - "to": "2024-01-18T06:50:09.905596Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:35:26.622089Z", "lte": "2024-01-18T06:50:26.622089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:35:26.622089Z", "lte": "2024-01-18T06:50:26.622089Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:50:26.628836Z", - "endtime": "2024-01-18T06:50:26.622089Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:35:26.622089Z", - "time_taken": 0.0067059993743896484 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:50:26.628836Z", - "endtime": "2024-01-18T06:50:26.622089Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:35:26.622089Z", - "time_taken": 0.0067059993743896484 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:51:09.907780Z", - "to": "2024-01-18T06:51:09.907825Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:51:09.907780Z", - "to": "2024-01-18T06:51:09.907825Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:36:30.017702Z", "lte": "2024-01-18T06:51:30.017702Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:36:30.017702Z", "lte": "2024-01-18T06:51:30.017702Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:51:30.025427Z", - "endtime": "2024-01-18T06:51:30.017702Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:36:30.017702Z", - "time_taken": 0.007681608200073242 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:51:30.025427Z", - "endtime": "2024-01-18T06:51:30.017702Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:36:30.017702Z", - "time_taken": 0.007681608200073242 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:52:09.907210Z", - "to": "2024-01-18T06:52:09.907248Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:52:09.907210Z", - "to": "2024-01-18T06:52:09.907248Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:37:33.050164Z", "lte": "2024-01-18T06:52:33.050164Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:37:33.050164Z", "lte": "2024-01-18T06:52:33.050164Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:52:33.057978Z", - "endtime": "2024-01-18T06:52:33.050164Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:37:33.050164Z", - "time_taken": 0.007757902145385742 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:52:33.057978Z", - "endtime": "2024-01-18T06:52:33.050164Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:37:33.050164Z", - "time_taken": 0.007757902145385742 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:53:09.904932Z", - "to": "2024-01-18T06:53:09.904971Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:53:09.904932Z", - "to": "2024-01-18T06:53:09.904971Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:38:36.709468Z", "lte": "2024-01-18T06:53:36.709468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:38:36.709468Z", "lte": "2024-01-18T06:53:36.709468Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:53:36.716386Z", - "endtime": "2024-01-18T06:53:36.709468Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:38:36.709468Z", - "time_taken": 0.006879091262817383 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:53:36.716386Z", - "endtime": "2024-01-18T06:53:36.709468Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:38:36.709468Z", - "time_taken": 0.006879091262817383 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:54:09.905051Z", - "to": "2024-01-18T06:54:09.905079Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:54:09.905051Z", - "to": "2024-01-18T06:54:09.905079Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:39:36.765049Z", "lte": "2024-01-18T06:54:36.765049Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:39:36.765049Z", "lte": "2024-01-18T06:54:36.765049Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:54:36.772017Z", - "endtime": "2024-01-18T06:54:36.765049Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:39:36.765049Z", - "time_taken": 0.006913185119628906 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:54:36.772017Z", - "endtime": "2024-01-18T06:54:36.765049Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:39:36.765049Z", - "time_taken": 0.006913185119628906 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:55:09.904453Z", - "to": "2024-01-18T06:55:09.904492Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:55:09.904453Z", - "to": "2024-01-18T06:55:09.904492Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:40:40.313214Z", "lte": "2024-01-18T06:55:40.313214Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:40:40.313214Z", "lte": "2024-01-18T06:55:40.313214Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:55:40.319085Z", - "endtime": "2024-01-18T06:55:40.313214Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:40:40.313214Z", - "time_taken": 0.00584101676940918 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:55:40.319085Z", - "endtime": "2024-01-18T06:55:40.313214Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:40:40.313214Z", - "time_taken": 0.00584101676940918 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:56:09.904465Z", - "to": "2024-01-18T06:56:09.904487Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:56:09.904465Z", - "to": "2024-01-18T06:56:09.904487Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:41:42.778404Z", "lte": "2024-01-18T06:56:42.778404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:41:42.778404Z", "lte": "2024-01-18T06:56:42.778404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:56:42.786022Z", - "endtime": "2024-01-18T06:56:42.778404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:41:42.778404Z", - "time_taken": 0.007578134536743164 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:56:42.786022Z", - "endtime": "2024-01-18T06:56:42.778404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:41:42.778404Z", - "time_taken": 0.007578134536743164 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:57:09.905685Z", - "to": "2024-01-18T06:57:09.905723Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:57:09.905685Z", - "to": "2024-01-18T06:57:09.905723Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:42:47.576977Z", "lte": "2024-01-18T06:57:47.576977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:42:47.576977Z", "lte": "2024-01-18T06:57:47.576977Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:57:47.585172Z", - "endtime": "2024-01-18T06:57:47.576977Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:42:47.576977Z", - "time_taken": 0.008136749267578125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:57:47.585172Z", - "endtime": "2024-01-18T06:57:47.576977Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:42:47.576977Z", - "time_taken": 0.008136749267578125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:58:09.906360Z", - "to": "2024-01-18T06:58:09.906396Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:58:09.906360Z", - "to": "2024-01-18T06:58:09.906396Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:43:50.525247Z", "lte": "2024-01-18T06:58:50.525247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:43:50.525247Z", "lte": "2024-01-18T06:58:50.525247Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:58:50.532148Z", - "endtime": "2024-01-18T06:58:50.525247Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:43:50.525247Z", - "time_taken": 0.0068569183349609375 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:58:50.532148Z", - "endtime": "2024-01-18T06:58:50.525247Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:43:50.525247Z", - "time_taken": 0.0068569183349609375 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:59:09.905814Z", - "to": "2024-01-18T06:59:09.905835Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T06:59:09.905814Z", - "to": "2024-01-18T06:59:09.905835Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:44:51.947088Z", "lte": "2024-01-18T06:59:51.947088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:44:51.947088Z", "lte": "2024-01-18T06:59:51.947088Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:59:51.954241Z", - "endtime": "2024-01-18T06:59:51.947088Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:44:51.947088Z", - "time_taken": 0.007113933563232422 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T06:59:51.954241Z", - "endtime": "2024-01-18T06:59:51.947088Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:44:51.947088Z", - "time_taken": 0.007113933563232422 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:00:09.907050Z", - "to": "2024-01-18T07:00:09.907090Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:00:09.907050Z", - "to": "2024-01-18T07:00:09.907090Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:45:53.996722Z", "lte": "2024-01-18T07:00:53.996722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:45:53.996722Z", "lte": "2024-01-18T07:00:53.996722Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:00:54.004107Z", - "endtime": "2024-01-18T07:00:53.996722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:45:53.996722Z", - "time_taken": 0.007345914840698242 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:00:54.004107Z", - "endtime": "2024-01-18T07:00:53.996722Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:45:53.996722Z", - "time_taken": 0.007345914840698242 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:01:09.905624Z", - "to": "2024-01-18T07:01:09.905661Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:01:09.905624Z", - "to": "2024-01-18T07:01:09.905661Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:46:54.811322Z", "lte": "2024-01-18T07:01:54.811322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:46:54.811322Z", "lte": "2024-01-18T07:01:54.811322Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:01:54.818276Z", - "endtime": "2024-01-18T07:01:54.811322Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:46:54.811322Z", - "time_taken": 0.00690007209777832 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:01:54.818276Z", - "endtime": "2024-01-18T07:01:54.811322Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:46:54.811322Z", - "time_taken": 0.00690007209777832 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:02:09.904161Z", - "to": "2024-01-18T07:02:09.904200Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:02:09.904161Z", - "to": "2024-01-18T07:02:09.904200Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:47:58.402658Z", "lte": "2024-01-18T07:02:58.402658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:47:58.402658Z", "lte": "2024-01-18T07:02:58.402658Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:02:58.409597Z", - "endtime": "2024-01-18T07:02:58.402658Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:47:58.402658Z", - "time_taken": 0.0069010257720947266 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:02:58.409597Z", - "endtime": "2024-01-18T07:02:58.402658Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:47:58.402658Z", - "time_taken": 0.0069010257720947266 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:03:09.908118Z", - "to": "2024-01-18T07:03:09.908156Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:03:09.908118Z", - "to": "2024-01-18T07:03:09.908156Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:48:58.425867Z", "lte": "2024-01-18T07:03:58.425867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:48:58.425867Z", "lte": "2024-01-18T07:03:58.425867Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:03:58.434195Z", - "endtime": "2024-01-18T07:03:58.425867Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:48:58.425867Z", - "time_taken": 0.008270025253295898 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:03:58.434195Z", - "endtime": "2024-01-18T07:03:58.425867Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:48:58.425867Z", - "time_taken": 0.008270025253295898 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:04:09.908187Z", - "to": "2024-01-18T07:04:09.908224Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:04:09.908187Z", - "to": "2024-01-18T07:04:09.908224Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:50:02.266334Z", "lte": "2024-01-18T07:05:02.266334Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:50:02.266334Z", "lte": "2024-01-18T07:05:02.266334Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:05:02.287093Z", - "endtime": "2024-01-18T07:05:02.266334Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:50:02.266334Z", - "time_taken": 0.020696163177490234 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:05:02.287093Z", - "endtime": "2024-01-18T07:05:02.266334Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:50:02.266334Z", - "time_taken": 0.020696163177490234 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:05:09.908203Z", - "to": "2024-01-18T07:05:09.908241Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:05:09.908203Z", - "to": "2024-01-18T07:05:09.908241Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:51:06.964712Z", "lte": "2024-01-18T07:06:06.964712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:51:06.964712Z", "lte": "2024-01-18T07:06:06.964712Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:06:06.971893Z", - "endtime": "2024-01-18T07:06:06.964712Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:51:06.964712Z", - "time_taken": 0.007124900817871094 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:06:06.971893Z", - "endtime": "2024-01-18T07:06:06.964712Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:51:06.964712Z", - "time_taken": 0.007124900817871094 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:06:09.908115Z", - "to": "2024-01-18T07:06:09.908154Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:06:09.908115Z", - "to": "2024-01-18T07:06:09.908154Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:07:09.906800Z", - "to": "2024-01-18T07:07:09.906858Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:07:09.906800Z", - "to": "2024-01-18T07:07:09.906858Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:52:10.669044Z", "lte": "2024-01-18T07:07:10.669044Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:52:10.669044Z", "lte": "2024-01-18T07:07:10.669044Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:07:10.677085Z", - "endtime": "2024-01-18T07:07:10.669044Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:52:10.669044Z", - "time_taken": 0.00798797607421875 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:07:10.677085Z", - "endtime": "2024-01-18T07:07:10.669044Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:52:10.669044Z", - "time_taken": 0.00798797607421875 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:08:09.903098Z", - "to": "2024-01-18T07:08:09.903116Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:08:09.903098Z", - "to": "2024-01-18T07:08:09.903116Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:53:11.957296Z", "lte": "2024-01-18T07:08:11.957296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:53:11.957296Z", "lte": "2024-01-18T07:08:11.957296Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:08:11.965632Z", - "endtime": "2024-01-18T07:08:11.957296Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:53:11.957296Z", - "time_taken": 0.008278846740722656 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:08:11.965632Z", - "endtime": "2024-01-18T07:08:11.957296Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:53:11.957296Z", - "time_taken": 0.008278846740722656 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:09:09.906030Z", - "to": "2024-01-18T07:09:09.906068Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:09:09.906030Z", - "to": "2024-01-18T07:09:09.906068Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:54:16.226607Z", "lte": "2024-01-18T07:09:16.226607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:54:16.226607Z", "lte": "2024-01-18T07:09:16.226607Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:09:16.234549Z", - "endtime": "2024-01-18T07:09:16.226607Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:54:16.226607Z", - "time_taken": 0.007886886596679688 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:09:16.234549Z", - "endtime": "2024-01-18T07:09:16.226607Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:54:16.226607Z", - "time_taken": 0.007886886596679688 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:10:09.906558Z", - "to": "2024-01-18T07:10:09.906596Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:10:09.906558Z", - "to": "2024-01-18T07:10:09.906596Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:55:17.352124Z", "lte": "2024-01-18T07:10:17.352124Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:55:17.352124Z", "lte": "2024-01-18T07:10:17.352124Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:10:17.360476Z", - "endtime": "2024-01-18T07:10:17.352124Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:55:17.352124Z", - "time_taken": 0.008311986923217773 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:10:17.360476Z", - "endtime": "2024-01-18T07:10:17.352124Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:55:17.352124Z", - "time_taken": 0.008311986923217773 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:11:09.905066Z", - "to": "2024-01-18T07:11:09.905087Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:11:09.905066Z", - "to": "2024-01-18T07:11:09.905087Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:56:19.228027Z", "lte": "2024-01-18T07:11:19.228027Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:56:19.228027Z", "lte": "2024-01-18T07:11:19.228027Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:11:19.233012Z", - "endtime": "2024-01-18T07:11:19.228027Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:56:19.228027Z", - "time_taken": 0.0049457550048828125 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:11:19.233012Z", - "endtime": "2024-01-18T07:11:19.228027Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:56:19.228027Z", - "time_taken": 0.0049457550048828125 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:12:09.906028Z", - "to": "2024-01-18T07:12:09.906066Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:12:09.906028Z", - "to": "2024-01-18T07:12:09.906066Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:57:24.078115Z", "lte": "2024-01-18T07:12:24.078115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:57:24.078115Z", "lte": "2024-01-18T07:12:24.078115Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:12:24.106497Z", - "endtime": "2024-01-18T07:12:24.078115Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:57:24.078115Z", - "time_taken": 0.028342008590698242 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:12:24.106497Z", - "endtime": "2024-01-18T07:12:24.078115Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:57:24.078115Z", - "time_taken": 0.028342008590698242 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:13:09.905289Z", - "to": "2024-01-18T07:13:09.905328Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:13:09.905289Z", - "to": "2024-01-18T07:13:09.905328Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:58:24.767093Z", "lte": "2024-01-18T07:13:24.767093Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:58:24.767093Z", "lte": "2024-01-18T07:13:24.767093Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:13:24.774004Z", - "endtime": "2024-01-18T07:13:24.767093Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:58:24.767093Z", - "time_taken": 0.006857872009277344 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:13:24.774004Z", - "endtime": "2024-01-18T07:13:24.767093Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:58:24.767093Z", - "time_taken": 0.006857872009277344 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:14:09.905722Z", - "to": "2024-01-18T07:14:09.905746Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:14:09.905722Z", - "to": "2024-01-18T07:14:09.905746Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:59:26.389688Z", "lte": "2024-01-18T07:14:26.389688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T06:59:26.389688Z", "lte": "2024-01-18T07:14:26.389688Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:14:26.394655Z", - "endtime": "2024-01-18T07:14:26.389688Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:59:26.389688Z", - "time_taken": 0.004941701889038086 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:14:26.394655Z", - "endtime": "2024-01-18T07:14:26.389688Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T06:59:26.389688Z", - "time_taken": 0.004941701889038086 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:15:09.905397Z", - "to": "2024-01-18T07:15:09.905416Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:15:09.905397Z", - "to": "2024-01-18T07:15:09.905416Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:00:31.311781Z", "lte": "2024-01-18T07:15:31.311781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:00:31.311781Z", "lte": "2024-01-18T07:15:31.311781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:15:31.316553Z", - "endtime": "2024-01-18T07:15:31.311781Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:00:31.311781Z", - "time_taken": 0.00474858283996582 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:15:31.316553Z", - "endtime": "2024-01-18T07:15:31.311781Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:00:31.311781Z", - "time_taken": 0.00474858283996582 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:16:09.905743Z", - "to": "2024-01-18T07:16:09.905782Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:16:09.905743Z", - "to": "2024-01-18T07:16:09.905782Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:01:34.836895Z", "lte": "2024-01-18T07:16:34.836895Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:01:34.836895Z", "lte": "2024-01-18T07:16:34.836895Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:16:34.846904Z", - "endtime": "2024-01-18T07:16:34.836895Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:01:34.836895Z", - "time_taken": 0.009965181350708008 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:16:34.846904Z", - "endtime": "2024-01-18T07:16:34.836895Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:01:34.836895Z", - "time_taken": 0.009965181350708008 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:17:09.903174Z", - "to": "2024-01-18T07:17:09.903200Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:17:09.903174Z", - "to": "2024-01-18T07:17:09.903200Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:02:39.186144Z", "lte": "2024-01-18T07:17:39.186144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:02:39.186144Z", "lte": "2024-01-18T07:17:39.186144Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:17:39.192263Z", - "endtime": "2024-01-18T07:17:39.186144Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:02:39.186144Z", - "time_taken": 0.00608515739440918 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:17:39.192263Z", - "endtime": "2024-01-18T07:17:39.186144Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:02:39.186144Z", - "time_taken": 0.00608515739440918 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:18:09.905846Z", - "to": "2024-01-18T07:18:09.905868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:18:09.905846Z", - "to": "2024-01-18T07:18:09.905868Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:19:26.359043Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:19:26.359043Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:19:26.459862Z", - "endtime": "2024-01-18T07:19:26.359043Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:17:39.186144Z", - "time_taken": 0.10072994232177734 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:19:26.459862Z", - "endtime": "2024-01-18T07:19:26.359043Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:17:39.186144Z", - "time_taken": 0.10072994232177734 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:20:16.361690Z", - "to": "2024-01-18T07:20:16.361741Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:20:16.361690Z", - "to": "2024-01-18T07:20:16.361741Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:20:26.979743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:17:39.186144Z", "lte": "2024-01-18T07:20:26.979743Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "*", "wc"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:20:26.989866Z", - "endtime": "2024-01-18T07:20:26.979743Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:17:39.186144Z", - "time_taken": 0.010063886642456055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:20:26.989866Z", - "endtime": "2024-01-18T07:20:26.979743Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:17:39.186144Z", - "time_taken": 0.010063886642456055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:21:16.361045Z", - "to": "2024-01-18T07:21:16.361070Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:21:16.361045Z", - "to": "2024-01-18T07:21:16.361070Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:20:26.979743Z", "lte": "2024-01-18T07:24:05.065227Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:20:26.979743Z", "lte": "2024-01-18T07:24:05.065227Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["@timestamp", "wc", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-18T07:24:05.124459Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-18T07:25:05.124452Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-18T07:24:05.124459Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-18T07:25:05.124452Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:06:39.831Z", "lte": "2024-01-18T07:31:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "wc", "*"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:06:39.831Z", "lte": "2024-01-18T07:31:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["@timestamp", "wc", "*"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-18T07:24:05.205580Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-18T07:24:05.172070Z", - "match_body": { - "@timestamp": "2024-01-18T07:21:39.831Z", - "_id": "KqhxG40BVwXaWimFVW87", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 4, - "num_matches": 4, - "top_events_wc": { - "bcd": 1, - "bvscd": 1, - "dfg": 1, - "dsds": 1 - }, - "wc": "bcd" - }, - "match_time": "2024-01-18T07:21:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-18T07:24:05.205580Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-18T07:24:05.172070Z", - "match_body": { - "@timestamp": "2024-01-18T07:21:39.831Z", - "_id": "KqhxG40BVwXaWimFVW87", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 4, - "num_matches": 4, - "top_events_wc": { - "bcd": 1, - "bvscd": 1, - "dfg": 1, - "dsds": 1 - }, - "wc": "bcd" - }, - "match_time": "2024-01-18T07:21:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:24:05.266087Z", - "endtime": "2024-01-18T07:24:05.065227Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:20:26.979743Z", - "time_taken": 0.20078516006469727 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:24:05.266087Z", - "endtime": "2024-01-18T07:24:05.065227Z", - "hits": 4, - "matches": 4, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:20:26.979743Z", - "time_taken": 0.20078516006469727 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_status/elastalert_status/_search?pretty&_source_include=endtime%2Crule_name&size=1' -d '{ - "query": { - "bool": { - "filter": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - } - } - }, - "sort": { - "@timestamp": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:25:10.330781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:25:10.330781Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:25:10.363864Z", - "endtime": "2024-01-18T07:25:10.330781Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.03299093246459961 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:25:10.363864Z", - "endtime": "2024-01-18T07:25:10.330781Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.03299093246459961 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:25:58.334888Z", - "to": "2024-01-18T07:25:58.334919Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:25:58.334888Z", - "to": "2024-01-18T07:25:58.334919Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:26:10.734643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:26:10.734643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:26:10.743530Z", - "endtime": "2024-01-18T07:26:10.734643Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008820056915283203 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:26:10.743530Z", - "endtime": "2024-01-18T07:26:10.734643Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008820056915283203 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:26:58.333804Z", - "to": "2024-01-18T07:26:58.333857Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:26:58.333804Z", - "to": "2024-01-18T07:26:58.333857Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:27:12.150931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:27:12.150931Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:27:12.159767Z", - "endtime": "2024-01-18T07:27:12.150931Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.00878286361694336 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:27:12.159767Z", - "endtime": "2024-01-18T07:27:12.150931Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.00878286361694336 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:27:58.334390Z", - "to": "2024-01-18T07:27:58.334428Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:27:58.334390Z", - "to": "2024-01-18T07:27:58.334428Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:28:15.512323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:28:15.512323Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:28:15.524516Z", - "endtime": "2024-01-18T07:28:15.512323Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.012145042419433594 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:28:15.524516Z", - "endtime": "2024-01-18T07:28:15.512323Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.012145042419433594 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:28:58.332151Z", - "to": "2024-01-18T07:28:58.332173Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:28:58.332151Z", - "to": "2024-01-18T07:28:58.332173Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:29:16.030140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:29:16.030140Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:29:16.046285Z", - "endtime": "2024-01-18T07:29:16.030140Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.01610088348388672 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:29:16.046285Z", - "endtime": "2024-01-18T07:29:16.030140Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.01610088348388672 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:29:58.330818Z", - "to": "2024-01-18T07:29:58.330843Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:29:58.330818Z", - "to": "2024-01-18T07:29:58.330843Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:30:17.995566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:30:17.995566Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:30:18.014790Z", - "endtime": "2024-01-18T07:30:17.995566Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.01917886734008789 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:30:18.014790Z", - "endtime": "2024-01-18T07:30:17.995566Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.01917886734008789 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:30:58.333787Z", - "to": "2024-01-18T07:30:58.333812Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:30:58.333787Z", - "to": "2024-01-18T07:30:58.333812Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:31:18.774661Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:31:18.774661Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:31:18.782971Z", - "endtime": "2024-01-18T07:31:18.774661Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008254766464233398 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:31:18.782971Z", - "endtime": "2024-01-18T07:31:18.774661Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008254766464233398 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:31:58.330815Z", - "to": "2024-01-18T07:31:58.330841Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:31:58.330815Z", - "to": "2024-01-18T07:31:58.330841Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:32:19.882404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:32:19.882404Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:32:19.891814Z", - "endtime": "2024-01-18T07:32:19.882404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.009372711181640625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:32:19.891814Z", - "endtime": "2024-01-18T07:32:19.882404Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.009372711181640625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:32:58.335038Z", - "to": "2024-01-18T07:32:58.335064Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:32:58.335038Z", - "to": "2024-01-18T07:32:58.335064Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:33:24.447417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:33:24.447417Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:33:24.455484Z", - "endtime": "2024-01-18T07:33:24.447417Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008029937744140625 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:33:24.455484Z", - "endtime": "2024-01-18T07:33:24.447417Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008029937744140625 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:33:58.331003Z", - "to": "2024-01-18T07:33:58.331034Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:33:58.331003Z", - "to": "2024-01-18T07:33:58.331034Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:34:26.529007Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:34:26.529007Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:34:26.537724Z", - "endtime": "2024-01-18T07:34:26.529007Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008662939071655273 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:34:26.537724Z", - "endtime": "2024-01-18T07:34:26.529007Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008662939071655273 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:34:58.331816Z", - "to": "2024-01-18T07:34:58.331854Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:34:58.331816Z", - "to": "2024-01-18T07:34:58.331854Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:35:30.578703Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:35:30.578703Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:35:30.587050Z", - "endtime": "2024-01-18T07:35:30.578703Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008293867111206055 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:35:30.587050Z", - "endtime": "2024-01-18T07:35:30.578703Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008293867111206055 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:35:58.335389Z", - "to": "2024-01-18T07:35:58.335415Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:35:58.335389Z", - "to": "2024-01-18T07:35:58.335415Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:36:35.073605Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:36:35.073605Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:36:35.083314Z", - "endtime": "2024-01-18T07:36:35.073605Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.009655237197875977 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:36:35.083314Z", - "endtime": "2024-01-18T07:36:35.073605Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.009655237197875977 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:36:58.434943Z", - "to": "2024-01-18T07:36:58.434983Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:36:58.434943Z", - "to": "2024-01-18T07:36:58.434983Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:37:39.397563Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:37:39.397563Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:37:39.404956Z", - "endtime": "2024-01-18T07:37:39.397563Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.007356166839599609 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:37:39.404956Z", - "endtime": "2024-01-18T07:37:39.397563Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.007356166839599609 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:37:58.335813Z", - "to": "2024-01-18T07:37:58.335841Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:37:58.335813Z", - "to": "2024-01-18T07:37:58.335841Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:38:43.449426Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:05.065227Z", "lte": "2024-01-18T07:38:43.449426Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:38:43.458293Z", - "endtime": "2024-01-18T07:38:43.449426Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008813142776489258 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:38:43.458293Z", - "endtime": "2024-01-18T07:38:43.449426Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:05.065227Z", - "time_taken": 0.008813142776489258 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:38:58.333505Z", - "to": "2024-01-18T07:38:58.333526Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:38:58.333505Z", - "to": "2024-01-18T07:38:58.333526Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:48.302497Z", "lte": "2024-01-18T07:39:48.302497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:24:48.302497Z", "lte": "2024-01-18T07:39:48.302497Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:39:48.308446Z", - "endtime": "2024-01-18T07:39:48.302497Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:48.302497Z", - "time_taken": 0.005924701690673828 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:39:48.308446Z", - "endtime": "2024-01-18T07:39:48.302497Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:24:48.302497Z", - "time_taken": 0.005924701690673828 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:39:58.333216Z", - "to": "2024-01-18T07:39:58.333243Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:39:58.333216Z", - "to": "2024-01-18T07:39:58.333243Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:25:51.964198Z", "lte": "2024-01-18T07:40:51.964198Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:25:51.964198Z", "lte": "2024-01-18T07:40:51.964198Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:40:51.972786Z", - "endtime": "2024-01-18T07:40:51.964198Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:25:51.964198Z", - "time_taken": 0.008535146713256836 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:40:51.972786Z", - "endtime": "2024-01-18T07:40:51.964198Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:25:51.964198Z", - "time_taken": 0.008535146713256836 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:40:58.332865Z", - "to": "2024-01-18T07:40:58.332907Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:40:58.332865Z", - "to": "2024-01-18T07:40:58.332907Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:26:54.619396Z", "lte": "2024-01-18T07:41:54.619396Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:26:54.619396Z", "lte": "2024-01-18T07:41:54.619396Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:41:54.627184Z", - "endtime": "2024-01-18T07:41:54.619396Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:26:54.619396Z", - "time_taken": 0.007750988006591797 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:41:54.627184Z", - "endtime": "2024-01-18T07:41:54.619396Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:26:54.619396Z", - "time_taken": 0.007750988006591797 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:41:58.334870Z", - "to": "2024-01-18T07:41:58.334893Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:41:58.334870Z", - "to": "2024-01-18T07:41:58.334893Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:27:55.731643Z", "lte": "2024-01-18T07:42:55.731643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:27:55.731643Z", "lte": "2024-01-18T07:42:55.731643Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:42:55.739990Z", - "endtime": "2024-01-18T07:42:55.731643Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:27:55.731643Z", - "time_taken": 0.008292913436889648 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:42:55.739990Z", - "endtime": "2024-01-18T07:42:55.731643Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:27:55.731643Z", - "time_taken": 0.008292913436889648 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:42:58.334499Z", - "to": "2024-01-18T07:42:58.334521Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:42:58.334499Z", - "to": "2024-01-18T07:42:58.334521Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:28:56.158031Z", "lte": "2024-01-18T07:43:56.158031Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:28:56.158031Z", "lte": "2024-01-18T07:43:56.158031Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:43:56.166680Z", - "endtime": "2024-01-18T07:43:56.158031Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:28:56.158031Z", - "time_taken": 0.008610010147094727 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:43:56.166680Z", - "endtime": "2024-01-18T07:43:56.158031Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:28:56.158031Z", - "time_taken": 0.008610010147094727 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:43:58.333381Z", - "to": "2024-01-18T07:43:58.333408Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:43:58.333381Z", - "to": "2024-01-18T07:43:58.333408Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:44:58.334490Z", - "to": "2024-01-18T07:44:58.334531Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:44:58.334490Z", - "to": "2024-01-18T07:44:58.334531Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:59.037845Z", "lte": "2024-01-18T07:44:59.037845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:59.037845Z", "lte": "2024-01-18T07:44:59.037845Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:44:59.046475Z", - "endtime": "2024-01-18T07:44:59.037845Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:29:59.037845Z", - "time_taken": 0.00857400894165039 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:44:59.046475Z", - "endtime": "2024-01-18T07:44:59.037845Z", - "hits": 0, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:29:59.037845Z", - "time_taken": 0.00857400894165039 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:45:58.333811Z", - "to": "2024-01-18T07:45:58.333851Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:45:58.333811Z", - "to": "2024-01-18T07:45:58.333851Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:31:00.950277Z", "lte": "2024-01-18T07:46:00.950277Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:31:00.950277Z", "lte": "2024-01-18T07:46:00.950277Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-18T07:46:00.995599Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-18T07:47:00.995572Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-18T07:46:00.995599Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-18T07:47:00.995572Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:39.831Z", "lte": "2024-01-18T07:54:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:29:39.831Z", "lte": "2024-01-18T07:54:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-18T07:46:01.050806Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-18T07:46:01.040727Z", - "match_body": { - "@timestamp": "2024-01-18T07:44:39.831Z", - "_id": "RKiHG40BVwXaWimFGW90", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 8, - "num_matches": 8, - "top_events_wc": { - "bcd": 2, - "bvscd": 2, - "dfg": 2, - "dsds": 2 - }, - "wc": "bcd" - }, - "match_time": "2024-01-18T07:44:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-18T07:46:01.050806Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-18T07:46:01.040727Z", - "match_body": { - "@timestamp": "2024-01-18T07:44:39.831Z", - "_id": "RKiHG40BVwXaWimFGW90", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 8, - "num_matches": 8, - "top_events_wc": { - "bcd": 2, - "bvscd": 2, - "dfg": 2, - "dsds": 2 - }, - "wc": "bcd" - }, - "match_time": "2024-01-18T07:44:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:46:01.130036Z", - "endtime": "2024-01-18T07:46:00.950277Z", - "hits": 8, - "matches": 8, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:31:00.950277Z", - "time_taken": 0.17971515655517578 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:46:01.130036Z", - "endtime": "2024-01-18T07:46:00.950277Z", - "hits": 8, - "matches": 8, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:31:00.950277Z", - "time_taken": 0.17971515655517578 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:46:58.334409Z", - "to": "2024-01-18T07:46:58.334435Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:46:58.334409Z", - "to": "2024-01-18T07:46:58.334435Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:32:01.168836Z", "lte": "2024-01-18T07:47:01.168836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:32:01.168836Z", "lte": "2024-01-18T07:47:01.168836Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:47:01.179280Z", - "endtime": "2024-01-18T07:47:01.168836Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:32:01.168836Z", - "time_taken": 0.010411977767944336 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:47:01.179280Z", - "endtime": "2024-01-18T07:47:01.168836Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:32:01.168836Z", - "time_taken": 0.010411977767944336 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:47:58.331022Z", - "to": "2024-01-18T07:47:58.331054Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:47:58.331022Z", - "to": "2024-01-18T07:47:58.331054Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:33:05.901148Z", "lte": "2024-01-18T07:48:05.901148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:33:05.901148Z", "lte": "2024-01-18T07:48:05.901148Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:48:05.911713Z", - "endtime": "2024-01-18T07:48:05.901148Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:33:05.901148Z", - "time_taken": 0.010533809661865234 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:48:05.911713Z", - "endtime": "2024-01-18T07:48:05.901148Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:33:05.901148Z", - "time_taken": 0.010533809661865234 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:48:58.335002Z", - "to": "2024-01-18T07:48:58.335028Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:48:58.335002Z", - "to": "2024-01-18T07:48:58.335028Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:10.642237Z", "lte": "2024-01-18T07:49:10.642237Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:10.642237Z", "lte": "2024-01-18T07:49:10.642237Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:49:10.651701Z", - "endtime": "2024-01-18T07:49:10.642237Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:34:10.642237Z", - "time_taken": 0.009433984756469727 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:49:10.651701Z", - "endtime": "2024-01-18T07:49:10.642237Z", - "hits": 8, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:34:10.642237Z", - "time_taken": 0.009433984756469727 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:49:58.331728Z", - "to": "2024-01-18T07:49:58.331751Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:49:58.331728Z", - "to": "2024-01-18T07:49:58.331751Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:35:13.266731Z", "lte": "2024-01-18T07:50:13.266731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:35:13.266731Z", "lte": "2024-01-18T07:50:13.266731Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-18T07:50:13.291452Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-18T07:51:13.291445Z" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_silence/silence?pretty' -d '{ - "@timestamp": "2024-01-18T07:50:13.291452Z", - "exponent": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "until": "2024-01-18T07:51:13.291445Z" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:39.831Z", "lte": "2024-01-18T07:59:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:34:39.831Z", "lte": "2024-01-18T07:59:39.831Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "aggs": {"counts": {"terms": {"field": "wc", "size": 5, "min_doc_count": 1}}}, "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-18T07:50:13.351305Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-18T07:50:13.338729Z", - "match_body": { - "@timestamp": "2024-01-18T07:49:39.831Z", - "_id": "UqiLG40BVwXaWimFRm9m", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 10, - "num_matches": 2, - "top_events_wc": { - "bcd": 4, - "bvscd": 4, - "dfg": 4, - "dsds": 4 - }, - "wc": "bcd" - }, - "match_time": "2024-01-18T07:49:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status/elastalert?pretty' -d '{ - "@timestamp": "2024-01-18T07:50:13.351305Z", - "alert_info": { - "type": "alertmanager" - }, - "alert_sent": true, - "alert_time": "2024-01-18T07:50:13.338729Z", - "match_body": { - "@timestamp": "2024-01-18T07:49:39.831Z", - "_id": "UqiLG40BVwXaWimFRm9m", - "_index": "test-index", - "_type": "doc", - "group": "dfsvs", - "message": "aravind", - "name": "aravind", - "num_hits": 10, - "num_matches": 2, - "top_events_wc": { - "bcd": 4, - "bvscd": 4, - "dfg": 4, - "dsds": 4 - }, - "wc": "bcd" - }, - "match_time": "2024-01-18T07:49:39.831Z", - "rule_name": "freshdesk_sqs_retry_count_is_high" -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status_silence/silence/_search?pretty&_source_include=until%2Cexponent&size=1' -d '{ - "query": { - "term": { - "rule_name": "freshdesk_sqs_retry_count_is_high._silence" - } - }, - "sort": { - "until": { - "order": "desc" - } - } -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:50:13.404482Z", - "endtime": "2024-01-18T07:50:13.266731Z", - "hits": 10, - "matches": 2, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:35:13.266731Z", - "time_taken": 0.1377110481262207 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:50:13.404482Z", - "endtime": "2024-01-18T07:50:13.266731Z", - "hits": 10, - "matches": 2, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:35:13.266731Z", - "time_taken": 0.1377110481262207 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:50:58.333156Z", - "to": "2024-01-18T07:50:58.333181Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:50:58.333156Z", - "to": "2024-01-18T07:50:58.333181Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:36:14.015029Z", "lte": "2024-01-18T07:51:14.015029Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:36:14.015029Z", "lte": "2024-01-18T07:51:14.015029Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:51:14.027501Z", - "endtime": "2024-01-18T07:51:14.015029Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:36:14.015029Z", - "time_taken": 0.012412071228027344 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:51:14.027501Z", - "endtime": "2024-01-18T07:51:14.015029Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:36:14.015029Z", - "time_taken": 0.012412071228027344 -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:51:58.335207Z", - "to": "2024-01-18T07:51:58.335245Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/elastalert_status/elastalert/_search?pretty&size=1000' -d '{ - "query": { - "bool": { - "filter": { - "range": { - "alert_time": { - "from": "2024-01-16T07:51:58.335207Z", - "to": "2024-01-18T07:51:58.335245Z" - } - } - }, - "must": { - "query_string": { - "query": "!_exists_:aggregate_id AND alert_sent:false" - } - } - } - }, - "sort": { - "alert_time": { - "order": "asc" - } - } -}' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:37:17.485412Z", "lte": "2024-01-18T07:52:17.485412Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_msearch?pretty' -d '{"index": ["test-index*"]} -{"query": {"bool": {"filter": {"bool": {"must": [{"range": {"@timestamp": {"gt": "2024-01-18T07:37:17.485412Z", "lte": "2024-01-18T07:52:17.485412Z"}}}, {"query_string": {"query": "name: aravind", "default_operator": "AND"}}]}}}}, "sort": [{"@timestamp": {"order": "asc"}}], "_source": {"includes": ["wc", "*", "@timestamp"]}} -' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:52:17.496600Z", - "endtime": "2024-01-18T07:52:17.485412Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:37:17.485412Z", - "time_taken": 0.011134862899780273 -}' -curl -H 'Content-Type: application/json' -XPOST 'http://localhost:9200/elastalert_status_status/elastalert_status?pretty' -d '{ - "@timestamp": "2024-01-18T07:52:17.496600Z", - "endtime": "2024-01-18T07:52:17.485412Z", - "hits": 10, - "matches": 0, - "rule_name": "freshdesk_sqs_retry_count_is_high", - "starttime": "2024-01-18T07:37:17.485412Z", - "time_taken": 0.011134862899780273 -}' diff --git a/output.yaml b/output.yaml deleted file mode 100644 index 8fdb7fa77..000000000 --- a/output.yaml +++ /dev/null @@ -1,25 +0,0 @@ -alert_params: - rum_metrics_indexing_error: - aggregation: - minutes: 5 - aggregation_key: kubernetes.pod.name - alert_subject: Noticed RUM event indexing error - alerta_environment: haystack - alerta_severity: critical - filter: - - query: - query_string: - query: 'kubernetes.namespace: rum-logstash AND message: "[ERROR]"' - include: - - message - - kubernetes.pod.name - index: haystack* - labels: - noc_severity: p1 - oncall: 'No' - service: rum - query_key: kubernetes.pod.name - realert: - minutes: 1 - region: us-east-1 - type: any diff --git a/test.py b/test.py deleted file mode 100644 index c62319900..000000000 --- a/test.py +++ /dev/null @@ -1,30 +0,0 @@ -import os -import yaml -def read_yaml(): - with open("test.yaml","r") as f: - rules = yaml.safe_load(f) - rulesNameList = {"us-east-1":[],"eu-central-1":[],"ap-southeast-2":[],"ap-south-1":[]} - if 'alert_params' in rules and rules['alert_params'] is not None: - for ruleName,ruleDefinition in rules['alert_params'].items(): - if("is_enabled" in ruleDefinition and ruleDefinition["is_enabled"] == False): - continue #skiping rule if is_enabled field is false - - labels = {} - if "labels" in ruleDefinition: - labels = ruleDefinition["labels"] - del ruleDefinition["labels"] - string_labels = {key: str(val) for key, val in labels.items()} - - if string_labels and 'oncall' in string_labels: - if string_labels['oncall'] == 'True': - string_labels['oncall'] = 'Yes' - elif string_labels['oncall'] == 'False': - string_labels['oncall'] = 'No' - - ruleDefinition["labels"] = string_labels - with open('output.yaml', 'w') as outfile: - yaml.dump(rules, outfile, default_flow_style=False) - #yaml.dump(rules, "output.yaml", default_flow_style=False) - - -read_yaml() diff --git a/test.yaml b/test.yaml deleted file mode 100644 index 8e07b9827..000000000 --- a/test.yaml +++ /dev/null @@ -1,23 +0,0 @@ -alert_params: - "rum_metrics_indexing_error": - type: any - index: haystack* - region: us-east-1 - realert: - minutes: 1 - aggregation: - minutes: 5 - aggregation_key: "kubernetes.pod.name" - query_key: "kubernetes.pod.name" - filter: - - query: - query_string: - query: "kubernetes.namespace: rum-logstash AND message: \"[ERROR]\"" - alert_subject: 'Noticed RUM event indexing error' - alerta_severity: critical - alerta_environment: haystack - include: ["message", "kubernetes.pod.name"] - labels: - service: "rum" - noc_severity: p1 - oncall: "No" \ No newline at end of file diff --git a/test/config.yaml b/test/config.yaml deleted file mode 100644 index e9fea03ca..000000000 --- a/test/config.yaml +++ /dev/null @@ -1,131 +0,0 @@ -# This is the folder that contains the rule yaml files -# This can also be a list of directories -# Any .yaml file will be loaded as a rule -rules_folder: /Users/armusigumpula/projects/elastalert/test/rules - -# How often ElastAlert will query Elasticsearch -# The unit can be anything from weeks to seconds -run_every: - minutes: 1 - -# ElastAlert will buffer results from the most recent -# period of time, in case some log sources are not in real time -buffer_time: - minutes: 15 - -# The Elasticsearch hostname for metadata writeback -# Note that every rule can have its own Elasticsearch host -es_host: localhost - -# The Elasticsearch port -es_port: 9200 - -# The AWS region to use. Set this when using AWS-managed elasticsearch -#aws_region: us-east-1 - -# The AWS profile to use. Use this if you are using an aws-cli profile. -# See http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html -# for details -#profile: test - -# Optional URL prefix for Elasticsearch -#es_url_prefix: elasticsearch - -# Optional prefix for statsd metrics -#statsd_instance_tag: elastalert - -# Optional statsd host -#statsd_host: dogstatsd - -# Connect with TLS to Elasticsearch -#use_ssl: True - -# Verify TLS certificates -#verify_certs: True - -# Show TLS or certificate related warnings -#ssl_show_warn: True - -# GET request with body is the default option for Elasticsearch. -# If it fails for some reason, you can pass 'GET', 'POST' or 'source'. -# See https://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport -# for details -#es_send_get_body_as: GET - -# Option basic-auth username and password for Elasticsearch -#es_username: someusername -#es_password: somepassword - -# Use SSL authentication with client certificates client_cert must be -# a pem file containing both cert and key for client -#ca_certs: /path/to/cacert.pem -#client_cert: /path/to/client_cert.pem -#client_key: /path/to/client_key.key - -# The index on es_host which is used for metadata storage -# This can be a unmapped index, but it is recommended that you run -# elastalert-create-index to set a mapping -writeback_index: elastalert_status - -# If an alert fails for some reason, ElastAlert will retry -# sending the alert until this time period has elapsed -alert_time_limit: - days: 2 - -kibana_adapter: localhost -kibana_adapter_port: 9200 -query_endpoint: - -# Optional timestamp format. -# ElastAlert will print timestamps in alert messages and in log messages using this format. -#custom_pretty_ts_format: '%Y-%m-%d %H:%M' - -# Custom logging configuration -# If you want to setup your own logging configuration to log into -# files as well or to Logstash and/or modify log levels, use -# the configuration below and adjust to your needs. -# Note: if you run ElastAlert with --verbose/--debug, the log level of -# the "elastalert" logger is changed to INFO, if not already INFO/DEBUG. -#logging: -# version: 1 -# incremental: false -# disable_existing_loggers: false -# formatters: -# logline: -# format: '%(asctime)s %(levelname)+8s %(name)+20s %(message)s' -# -# handlers: -# console: -# class: logging.StreamHandler -# formatter: logline -# level: DEBUG -# stream: ext://sys.stderr -# -# file: -# class : logging.FileHandler -# formatter: logline -# level: DEBUG -# filename: elastalert.log -# -# loggers: -# elastalert: -# level: WARN -# handlers: [] -# propagate: true -# -# elasticsearch: -# level: WARN -# handlers: [] -# propagate: true -# -# elasticsearch.trace: -# level: WARN -# handlers: [] -# propagate: true -# -# '': # root logger -# level: WARN -# handlers: -# - console -# - file -# propagate: false diff --git a/test/rules/example_frequency.yaml b/test/rules/example_frequency.yaml deleted file mode 100755 index f344c03f0..000000000 --- a/test/rules/example_frequency.yaml +++ /dev/null @@ -1,44 +0,0 @@ -alert: alertmanager -alert_subject: 'SQS retry count is high. Please check the messages in sqs queue. - - region: us-east-1' -alerta_environment: freshdesk -alerta_severity: warning -alertmanager_annotations: - severity: warning -alertmanager_hosts: -- 'http://78bfed683e8c09a1.elb.us-east-1.amazonaws.com:10001/api/prom/alertmanager/api/v1/alerts' -alertmanager_labels: - alert_owner: Freshdesk - alert_type: app - alertname: sqs_retry_count_is_high - aws_accid: '202227476021' - job: log_alerts - notification_channel: CUGRAGN1X - oncall: 'Yes' - priority: P1 - product: Freshdesk - region: us-east-1 - severity: warning - source: log - summary: SQS retry count is high - threshold: '5' -attach_related: false -doc_type: doc -filter: -- query: - query_string: - query: 'name: aravind' -index: test-index* -is_enabled: true -name: freshdesk_sqs_retry_count_is_high -num_events: 1 -# query_key: wc -raw_count_keys: false -tenant: freshdesk -timeframe: - minutes: 15 -top_count_keys: -- wc -top_count_number: 5 -type: frequency -# use_terms_query: true \ No newline at end of file