﻿---
title: Redis fields
description: Redis Module Redis log files Slow logs are retrieved from Redis via a network connection. 
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/beats/filebeat/exported-fields-redis
products:
  - Beats
  - Filebeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Redis fields
Redis Module

## redis


## log

Redis log files
<definitions>
  <definition term="redis.log.role">
    The role of the Redis instance. Can be one of `master`, `slave`, `child` (for RDF/AOF writing child), or `sentinel`.
    type: keyword
  </definition>
  <definition term="redis.log.pid">
    type: alias
    alias to: process.pid
  </definition>
  <definition term="redis.log.level">
    type: alias
    alias to: log.level
  </definition>
  <definition term="redis.log.message">
    type: alias
    alias to: message
  </definition>
</definitions>


## slowlog

Slow logs are retrieved from Redis via a network connection.
<definitions>
  <definition term="redis.slowlog.cmd">
    The command executed.
    type: keyword
  </definition>
  <definition term="redis.slowlog.duration.us">
    How long it took to execute the command in microseconds.
    type: long
  </definition>
  <definition term="redis.slowlog.id">
    The ID of the query.
    type: long
  </definition>
  <definition term="redis.slowlog.key">
    The key on which the command was executed.
    type: keyword
  </definition>
  <definition term="redis.slowlog.args">
    The arguments with which the command was called.
    type: keyword
  </definition>
</definitions>