Skip to content

Commit 341134c

Browse files
amee-sumojpipkin1Gourav2906
authored
allow edit timezone in otel collectors edit flow (#5752)
* allow edit timezone in otel collectors edit flow * Update docs/send-data/opentelemetry-collector/remote-management/source-templates/otrm-time-reference.md Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> * updated the release date --------- Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> Co-authored-by: Gourav garg <[email protected]>
1 parent fb4e9b4 commit 341134c

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

blog-collector/2025-09-10-otel.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Remote Management for OpenTelemetry Collector (OpenTelemetry Collector)
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
4+
keywords:
5+
- collection
6+
- opentelemetry
7+
- otel
8+
- remote-management
9+
hide_table_of_contents: true
10+
---
11+
12+
import useBaseUrl from '@docusaurus/useBaseUrl';
13+
14+
We're happy to announce that Sumo Logic now enables you to remotely update the collector timezone for OpenTelemetry collectors through the UI in the OpenTelemetry collector edit flow. You can select the timezone of your choice while editing the collector. If you do not make a selection, the timezone will be set to `(UTC) Etc/UTC` by default.
15+
16+
[Learn more](/docs/send-data/opentelemetry-collector/remote-management/source-templates/otrm-time-reference/#specifying-a-custom-timestamp-format-and-time-zone).

docs/send-data/opentelemetry-collector/remote-management/source-templates/otrm-time-reference.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ OpenTelemetry Collectors can automatically parse most timestamps without any is
4646
* If you're configuring a new Source template, proceed to Step 2. Or,
4747
* To edit the timestamp settings for an existing Source template, navigate to the source template. Then click **Edit** to the right of the Source name and go to Step 2.<br/><img src={useBaseUrl('img/send-data/source-template-edit.png')} alt="Screenshot showing the editing interface for a source template in Sumo Logic, highlighting the section for editing advanced options including timestamp settings" style={{border: '1px solid gray'}} width="400"/>
4848
1. Navigate to the **Timestamp Parsing** section and select **Specify the format** and enter the below details:
49-
1. **Select Timezone**. Define the geographic location (time zone) to use while parsing a timestamp that does not include a time zone. The available locations depend on the local IANA Time Zone database. For example, `America/New_York`. For more examples, refer to the [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
49+
1. **Select Time Zone**. Select the timezone of your choice from the drop-down while parsing a timestamp. By default, the timezone is set to `(UTC) Etc/UTC`. The available locations depend on the local IANA Time Zone database. For more examples, refer to the [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).<br/><img src={useBaseUrl('img/send-data/opentelemetry-collector/otel-edit-timezone.png')} alt="edit timezone" style={{border: '1px solid gray'}} width="400" />
50+
:::note
51+
Ensure that the OpenTelemetry collector is enabled to edit the timezone.
52+
:::
5053
1. **Format**. Specify the exact layout of the timestamp to be parsed. For example, `- %Y-%m-%dT%H:%M:%S.%LZ`. To learn more about the formatting rules, refer to [this guide](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/internal/coreinternal/timeutils/internal/ctimefmt/ctimefmt.go#L68).
5154
1. **Timestamp locator**. Use a [Go regular expression](https://github.com/google/re2/wiki/Syntax) to match the timestamp in your logs. Ensure the regular expression includes a named capture group called `timestamp_field`.<br/><img src={useBaseUrl('img/send-data/st-timestamp-parsing.png')} alt="Screenshot of the Timestamp parsing section for logs in Sumo Logic, focusing on the timestamp format settings" style={{border: '1px solid gray'}} width="400" />
5255

docs/send-data/opentelemetry-collector/view-opentelemetry-collection-page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ To view details about an OpenTelemetry Collector:
2020
Dashed line indicates there was no data ingestion in last hour.
2121
:::
2222
- **Last Modified**. Timestamp when the collector was last modified.
23-
1. Click on the desired collector.<br/><img src={useBaseUrl('img/send-data/opentelemetry-collection-details-page.png')} alt="opentelemetry-collection-details-page" style={{border:'1px solid gray'}} width="400"/>
23+
1. Click on the desired collector.<br/><img src={useBaseUrl('img/send-data/opentelemetry-collector/otel-collector-details.png')} alt="opentelemetry-collection-details-page" style={{border:'1px solid gray'}} width="400"/>
2424
- **Basic Info**
2525
- **Name**. Name of the OpenTelemetry Collector.
2626
- **Collector Version**. The collector version with which the collector was created.
2727
- **Source Templates**. Displays the number of source templte
2828
- **Health**. Displays the health status of the collector.
29-
- **Time Zone**. By default, time zone is set to UTC.
29+
- **Time Zone**. Displays the selected time zone or the default timezone (`(UTC) Etc/UTC`).
3030
- **Collector Tags**. Displays the tags linked with the selected collector, which helps in searching and managing the collector. To add or edit the tags, refer to the [Collector Tags](/docs/send-data/opentelemetry-collector/remote-management/source-templates/manage-source-templates/#collector-tags).
3131
- **Data Ingested**. Displays the histogram which shows data ingested in last hour. This histogram timeline reflects the data ingestion timestamp as closely as possible, but minor variations may occur.
3232
:::note
277 KB
Loading
114 KB
Loading

0 commit comments

Comments
 (0)