# Filebeat modules purpose?

**URL:** <https://discuss.elastic.co/t/filebeat-modules-purpose/275316>\
**Category:** Beats\
**Tags:** beats-module, filebeat\
**Created:** [June 8, 2021, 3:31pm UTC](https://discuss.elastic.co/t/filebeat-modules-purpose/275316 "2021-06-08T15:31:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rebug](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rebug/32/117669_2.png) [@rebug](https://discuss.elastic.co/u/rebug)\
**Post date:** [June 8, 2021, 3:31pm UTC](https://discuss.elastic.co/t/filebeat-modules-purpose/275316/1 "2021-06-08T15:31:39Z")

</div>

I just tested for the first time a Filebeat module.  
If I'm right, the purpose of a module is to have a ready-to-use pattern and dashboard, with a little data enrichment.

So I don't undestand what is going on because the only things the modules does is to add useless information like a field host.ip with 30 différents IP.

Maybe can anyone explain me why ?

Here is a log example from my Cisco Switch:  
`<190>%AAA-I-DISCONNECT: http connection for user cisco, source X.X.X.X destination X.X.X.X TERMINATED`

Here is the document sended by Filebeat (module Cisco ASA) to elastic search via pipeline :

```auto
{
  "@timestamp": "2021-06-08T15:17:02.641Z",
  "@metadata": {
    "beat": "filebeat",
    "type": "_doc",
    "version": "7.13.1",
    "truncated": false,
    "pipeline": "filebeat-7.13.1-cisco-asa-asa-ftd-pipeline"
  },
  "message": "<190>%AAA-I-DISCONNECT: http connection for user cisco, source 10.0.0.143 destination 192.168.72.254 TERMINATED ",
  "log": {
    "source": {
      "address": "x.x.x.x:514"
    }
  },
  "fileset": {
    "name": "asa"
  },
  "input": {
    "type": "udp"
  },
  "tags": [
    "cisco-asa",
    "forwarded"
  ],
  "service": {
    "type": "cisco"
  },
  "event": {
    "dataset": "cisco.asa",
    "timezone": "+02:00",
    "module": "cisco"
  },
  "ecs": {
    "version": "1.9.0"
  },
  "agent": {
    "name": "xxxx",
    "type": "filebeat",
    "version": "7.13.1",
    "hostname": "xxxx",
    "ephemeral_id": "60a87fc8-2e92-4cc9-b987-0340aeaa6eca",
    "id": "adf817af-fe0b-4f59-9a53-fa66f88a1ee7"
  },
  "host": {
    "id": "36e18f6536cc4ce195de9a72e924637e",
    "containerized": false,
    "ip": [
     "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
       ........
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx"
    ],
    "mac": [
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx",
      "xxxxxxxxxxxxxxxx"
    ],
    "hostname": "xxx",
    "architecture": "x86_64",
    "os": {
      "kernel": "4.9.0-14-amd64",
      "codename": "stretch",
      "type": "linux",
      "platform": "debian",
      "version": "9 (stretch)",
      "family": "debian",
      "name": "Debian GNU/Linux"
    }
  }
}

```

This is the normal behavior ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2021, 5:32pm UTC](https://discuss.elastic.co/t/filebeat-modules-purpose/275316/2 "2021-07-06T17:32:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
