﻿---
title: Memcached module
description: This is the Memcached module. These metricsets were tested with Memcached version 1.4.35. The default metricset is stats. The memcached module is tested...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/beats/metricbeat/metricbeat-module-memcached
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Memcached module
This is the Memcached module. These metricsets were tested with Memcached version 1.4.35.
The default metricset is `stats`.

## Compatibility

The memcached module is tested with memcached 1.4.35.

## Example configuration

The Memcached module supports the standard configuration options that are described in [Modules](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/beats/metricbeat/configuration-metricbeat). Here is an example configuration:
```yaml
metricbeat.modules:
- module: memcached
  metricsets: ["stats"]
  period: 10s
  hosts: ["localhost:11211"]
  enabled: true
```


## Metricsets

The following metricsets are available:
- [stats](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/beats/metricbeat/metricbeat-metricset-memcached-stats)