# Redis

## CentOS <a href="#id-1" id="id-1"></a>

### 1. redis.conf 수정 <a href="#id-1-1" id="id-1-1"></a>

<pre><code><strong>> 사전 Syslog 설치 필요
</strong>> Config 위치 확인

loglevel notice
syslog-enabled yes
syslog-facility local7
</code></pre>

### 2. Redis 데몬 재시작 <a href="#id-1-2" id="id-1-2"></a>

```bash
service redis restart
```

### 3. 로그확인 <a href="#id-1-3" id="id-1-3"></a>

* 로그 예시 : [전체로그 > 호스트](https://docs.plura.io/ko/function/common/flog/host)

<figure><img src="https://qubitsec.github.io/docs/images/Ins_G/redis_c/1.png" alt=""><figcaption></figcaption></figure>

* [x] 위 내용을 활용해서 필터를 등록하면 탐지로그를 확인할 수 있습니다.

> [https://docs.plura.io/ko/fn/comm/filter/syslog](https://docs.plura.io/ko/function/common/filter/syslog)

***

## Ubuntu <a href="#id-2" id="id-2"></a>

### 1. redis.conf 수정 <a href="#id-2-1" id="id-2-1"></a>

<pre><code><strong>> 사전 Syslog 설치 필요
</strong>> Config 위치 확인

loglevel notice
syslog-enabled yes
syslog-facility local7
</code></pre>

### 2.  Redis 데몬 재시작 <a href="#id-2-2" id="id-2-2"></a>

```bash
service redis restart
```

### 3. 로그확인 <a href="#id-2-3" id="id-2-3"></a>

* 로그 예시 : 전체로그 > 호스트

<figure><img src="https://qubitsec.github.io/docs/images/Ins_G/redis_u/1.png" alt="" width="563"><figcaption></figcaption></figure>

* [x] 위 내용을 활용해서 필터를 등록하면 탐지로그를 확인할 수 있습니다.

> [https://docs.plura.io/ko/fn/comm/filter/syslog](https://docs.plura.io/ko/function/common/filter/syslog)


---

# Agent Instructions: 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/ko/agents/siem/uplc/redis.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.
