---
name: "Search::Elasticsearch::Client::7_0::Direct::XPack"
section: "3pm"
platform: "linux"
package: "libsearch-elasticsearch-perl"
version: "7.30-1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/Search::Elasticsearch::Client::7_0::Direct::XPack"
---

# Search::Elasticsearch::Client::7\_0::Direct::XPack(3pm)

Plugin providing XPack APIs for Search::Elasticsearch v7.x

## NAME

Search::Elasticsearch::Client::7\_0::Direct::XPack - Plugin providing XPack APIs for Search::Elasticsearch v7.x

## VERSION

version 7.30

## SYNOPSIS

```
    my $response = $es->xpack->info();
```

### DESCRIPTION

This class extends the Search::Elasticsearch client with a `"xpack"` namespace.

## METHODS

### "info()"

```
    my $response = $es->xpack->info();
```

Provides general information about the installed X-Pack features.

See the info \<https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html\> for more information.

### "usage()"

```
    my $response = $es->xpack->usage();
```

Provides usage information about the installed X-Pack features.

See the usage \<https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html\> for more information.

## AUTHOR

Enrico Zimuel \<enrico.zimuel@elastic.co\>

## COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Elasticsearch BV.

This is free software, licensed under:

```
  The Apache License, Version 2.0, January 2004
```
