> 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/agents/siem/plc.md).

# PLC

{% hint style="info" %}
ログ収集対象サーバからsyslogへPLCへ転送、PLCから収集してPLURAへ再送信システム

1\) ログ収集対象サーバー

* syslog 転送が可能なすべてのサーバ

2\) リモート ログ コレクター サポート対象サーバー

* PLC Agent サポートオペレーティング システム\
  [https://docs.plura.io/ja/faq/comm/support\_os](https://docs.plura.io/ko/faq/common/support_os)
  {% endhint %}

{% tabs %}
{% tab title="Server" %}
**1. リモートサーバーにSyslog転送設定**

* sylog設定をサポートするすべてのサーバー

**2. ログ取り込みサーバーにPLCインストール(by root)**

* CentOS 7, Stream 8, Stream 9 志願
* Red Hat 5, 6, 7, 8, 9 志願
* Rocky Linux 8、9 対応
* Amazon Linux 2 AMI 志願
* Ubuntu 18.04, 20.04, 22.04 志願

```bash
sudo -s
curl https://repo.plura.io/v5/PLC/install.sh | bash
```

**3. ライセンス登録及び実行**

```bash
/etc/plura/plura.sh register <License_Number>
```

**4. リモートサーバー登録**

* システム > システム管理 > ログ取り込みサーバー(親)選択 > システムボタンをクリックします。

<figure><img src="/files/OEHq9pIkjvhaxaklgsOZ" alt=""><figcaption></figcaption></figure>

**5. ログコレクタの再実行**

```bash
/etc/plura/plura.sh stop
```

```bash
/etc/plura/plura.sh start
```

**6. ログコレクタ削除**

```bash
/etc/plura/plura.sh uninstall
```

{% endtab %}

{% tab title="Application" %}
**1. リモートサーバーにアプリケーション転送モジュールインストール**

* CentOS 7, Stream 8, Stream 9 志願

```bash
sudo -s
curl https://repo.plura.io/v5/agent/linux/install.sh | bash
```

```bash
/etc/plura/plura.sh fileplura <PLC-IP>
```

```bash
/etc/plura/plura.sh start
```

**2. ログ取り込みサーバーにPLCインストール(by root)**

```bash
sudo -s
curl https://repo.plura.io/v5/PLC/install.sh | bash
```

**3. ログ取り込みサーバーでインバウンドTCP 5514 ホットをオープン**

```bash
firewall-cmd --add-port=5514/tcp --permanent
firewall-cmd --reload
```

**4. ライセンス登録及び実行**

```bash
/etc/plura/plura.sh register <License_Number>
```

**5. リモートサーバー登録**

* システム > システム管理 > ログ取り込みサーバー(親)選択 > アプリケーションボタンをクリックします。

<figure><img src="/files/PV6DWly9zOJfQQU2aUTL" alt=""><figcaption></figcaption></figure>

**6. ログのコレクターリトライ**

```bash
/etc/plura/plura.sh stop
```

```bash
/etc/plura/plura.sh start
```

**7. ログコレクタ削除**

```bash
/etc/plura/plura.sh uninstall
```

{% endtab %}

{% tab title="Web" %}
**1. ログ取り込みサーバーにPLCインストール(by root)**

```bash
sudo -s
curl https://repo.plura.io/v5/PLC/install.sh | bash
```

**2. ライセンス登録及び実行**

```bash
/etc/plura/plura.sh register <License_Number>
```

**3. ウェブログモジュールインストール**

```bash
/etc/plura/plura.sh install_pluraweb
```

**4. 環境設定**

```bash
vi /etc/pluraweb/conf/pluraweb.conf
```

```
<例>
interface = eth0
logfile = /var/log/plura/weblog.log
host = 10.100.10.10
port = 80
```

```
service plurawebd start
```

**5. ログ取り込みサーバーにポットミラーリング構成**

**6. リモートサーバー登録**

* システム > システム管理 > ログ取り込みサーバー選択 > ウェブボタンをクリックします。

<figure><img src="/files/IsvLcZYARS3FnbAYRXkP" alt=""><figcaption></figcaption></figure>

**7. ログコレクタの再実行**

```bash
/etc/plura/plura.sh stop
```

```bash
/etc/plura/plura.sh start
```

**8. ログコレクタ削除**

```bash
/etc/plura/plura.sh uninstall
```

{% endtab %}

{% tab title="Network" %}
**1. リモートデバイスにSyslog転送設定。**

**2. ログ取り込みサーバーにPLCインストール(by root)**

```bash
sudo -s
curl https://repo.plura.io/v5/PLC/install.sh | bash
```

**3. ライセンス登録及び実行**

```bash
/etc/plura/plura.sh register <License_Number>
```

**4. リモートサーバー登録**

* システム > システム管理 > ログ取り込みサーバー選択 > ネットワークボタンをクリックします。

<figure><img src="/files/dafA8yoIJhjiciztsjhg" alt=""><figcaption></figcaption></figure>

**5. ログコレクタの再実行**

```bash
/etc/plura/plura.sh stop
```

```bash
/etc/plura/plura.sh start
```

**6. ログコレクタ削除**

```bash
/etc/plura/plura.sh uninstall
```

{% endtab %}
{% endtabs %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.plura.io/ja/agents/siem/plc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
