Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 61a8cfd

Browse files
Merge pull request #1694 from splunk/repo-sync
Pulling refs/heads/main into main
2 parents 8a25fa3 + 3376fa2 commit 61a8cfd

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

gdi/get-data-in/connect/aws/aws-troubleshooting.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ If you experience difficulties when connecting Splunk Observability Cloud to you
1111

1212
See also the following docs:
1313

14+
* :ref:`aws-ts-polling` for issues specific to CloudWatch polling.
1415
* :ref:`aws-ts-metric-streams` for issues specific to Splunk-managed Metric Streams.
1516
* :ref:`aws-ts-ms-aws` for issues specific to AWS-managed Metric Streams.
1617

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
.. _aws-ts-polling:
2+
3+
******************************************************
4+
Troubleshoot AWS Cloudwatch polling
5+
******************************************************
6+
7+
.. meta::
8+
:description: Troubleshoot AWS Cloudwatch polling related issues.
9+
10+
See the following topics when experiencing AWS Cloudwatch polling related issues.
11+
12+
.. note:: See also :ref:`aws-troubleshooting`.
13+
14+
Calculate metric polling delay
15+
==========================================================================================================
16+
17+
Splunk Observability Cloud's CloudWatch data point sync consists of two phases:
18+
19+
1. Time series sync using the ``list-metrics`` API
20+
21+
* It syncs all time series (TS) active within the last 3 hours and stores time series info in Splunk Observability Cloud's internal storage.
22+
23+
* This sync runs every 15 minutes for each AWS integration. This interval is not configurable.
24+
25+
2. Data points sync using the ``get-metric-data`` API
26+
27+
* It syncs all data points for all time series saved in Splunk Observability Cloud's internal storage.
28+
29+
* This sync runs every 1-to-10 minutes depending on the AWS integration settings. You can configure this interval.
30+
31+
.. caution:: If Splunk Observability Cloud doesn't retrieve any data points from a specific time series for 5 hours, the TS is considered inactive and is removed from Splunk Observability Cloud's internal storage.
32+
33+
Example of delay calculation
34+
----------------------------------------------------------------------
35+
36+
For an AWS integration with a 3-minute poll rate expect the following delays:
37+
38+
* For sparse or new metrics: 15 minutes (TS sync) + 3 minutes (data point sync) + 2-3 minutes (average CloudWatch delay) -> :strong:`Total delay = 20-21 minutes`.
39+
40+
* For data points from known time series (no TS sync required): 3 minutes (data point sync) + 2-3 minutes (average CloudWatch delay) -> :strong:`Total delay = 5-6 minutes`.
41+
42+
Penalty for sparse metrics
43+
==========================================================================================================
44+
45+
To minimize the number of requests for certain sparse metrics and reduce CloudWatch API costs, Splunk Observability Cloud ignores a metric for 30 minutes if these two conditions are met:
46+
47+
* The ``get-metric-data`` response does not contain any data points for a given metric.
48+
49+
* Splunk Observability Cloud tried to retrieve data points for that specific metric using a lookback window of a maximum of 1 hour.
50+
51+
Example of sparse metrics lag
52+
----------------------------------------------------------------------
53+
54+
Let's consider the following two data points:
55+
56+
.. list-table::
57+
:header-rows: 1
58+
:widths: 40 20 40
59+
60+
* - :strong:`Data point timestamp`
61+
- :strong:`Lag`
62+
- :strong:`Ingest timestamp`
63+
64+
* - 04:39
65+
- 5 minutes
66+
- 04:44
67+
68+
* - 05:42
69+
- 37 minutes
70+
- 06:19
71+
72+
The following is happening:
73+
74+
* At 04:44 Splunk Observability Cloud retrieves the 04:39 data point.
75+
76+
* At 04:47, after a 3-minute poll rate, Splunk Observability Cloud does not get any new data points for this metric.
77+
78+
* At 05:46 Splunk Observability Cloud uses the maximum lookback window. Since there are still no new data points for this metric due to CloudWatch's internal delay, the metrics is going to be ignored for 30 minutes.
79+
80+
* By 06:16 the metric is still ignored.
81+
82+
* At 06:19 the penalty is lifted and Splunk Observability Cloud retrieves the 05:42 data point.
83+
84+
.. note:: By design sync start times might drift slightly and might not be aligned to 3-minute intervals.

gdi/get-data-in/connect/aws/get-awstoc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Connect AWS to Splunk Observability Cloud
2323
Send AWS logs to Splunk Platform <aws-logs>
2424
Next steps <aws-post-install>
2525
Troubleshoot your AWS integration <aws-troubleshooting>
26+
Troubleshoot AWS CloudWatch polling <aws-ts-polling>
2627
Troubleshoot Splunk-managed Metric Streams <aws-ts-metric-streams>
2728
Troubleshoot AWS-managed Metric Streams <aws-ts-ms-aws>
2829
aws-recommended-stats.rst

0 commit comments

Comments
 (0)