> For the complete documentation index, see [llms.txt](https://docs.plura.io/ja/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plura.io/ja/iaas/aws/timezone.md).

# タイムゾーン設定

{% hint style="info" %}
**すべてのロギング システムで最も重要なのは、時間の同期です。**
{% endhint %}

:hourglass\_flowing\_sand:AWSでは、Local Timeのデフォルトに「GMT」が設定されます。

### 1. LocaltimeをAsia/seoulに時間設定変更する方法 <a href="#id-1" id="id-1"></a>

```bash
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
```

### 2. rsyslog再起動 <a href="#id-2" id="id-2"></a>

* rsyslogを再起動すると時間変更が適用される

```bash
service rsyslog restart
```

**2.1 現在 Local time 確認**

```bash
date
```

<figure><img src="https://qubitsec.github.io/docs/images/Public_Cloud/timezone/01.png" alt=""><figcaption></figcaption></figure>

* [x] LocaltimeがMon Jul 602:16:00 UTC 2020に設定されています。

**2.2 現在のLocal timeをAsia/Seoulに設定変更**

```bash
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
```

<figure><img src="https://qubitsec.github.io/docs/images/Public_Cloud/timezone/02.png" alt=""><figcaption></figcaption></figure>

* [x] LocaltimeがMon Jul 6 11:16:42 KST 2020に変更されました。

**2.3 rsyslog再スタート**

```bash
service rsyslog restart
```

**2.4 Localtimeが変更済み**

```
(既存) Mon Jul 6 02:16:00 UTC 2020
→ (変更) Mon Jul 6 11:16:42 KST 2020
```

### 3. PLURAページの時間設定方法 <a href="#id-3" id="id-3"></a>

PLURA > 管理 > システム > 時間

Windowsサーバーの場合、UTC基準で時間が設定され、使用する国のローカルタイムを設定する必要があります。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plura.io/ja/iaas/aws/timezone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
