Skip to content

[linux]: Linux Metrics Pageinfo can throw illegal_argument_exception #13785

@BenB196

Description

@BenB196

Integration Name

Linux Metrics [linux]

Dataset Name

linux.pageinfo

Integration Version

0.7.1

Agent Version

8.17.1

Agent Output Type

elasticsearch

Elasticsearch Version

8.17.1

OS Version and Architecture

openSUSE Leap 15.3 (x86_64)

Software/API Version

5.3.18-150300.59.49-default

Error Message

{
  "type": "document_parsing_exception",
  "reason": "[1:2019] failed to parse field [linux.pageinfo.nodes.0] of type [keyword] in document with id 'lMZnoJYBhD7fbXwI9Lg4'. Preview of field's value: '{DMA32={HighAtomic={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, Unmovable={0=11, 1=37, 2=7, 3=18, 4=4, 5=13, 6=11, 7=0, 8=0, 9=0, 10=0}, Reclaimable={0=0, 1=17, 2=57, 3=40, 4=23, 5=18, 6=7, 7=0, 8=0, 9=0, 10=0}, CMA={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, Movable={0=1, 1=6818, 2=1970, 3=737, 4=268, 5=136, 6=57, 7=1, 8=0, 9=0, 10=0}, Isolate={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}}, DMA={HighAtomic={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, Unmovable={0=0, 1=1, 2=1, 3=0, 4=2, 5=1, 6=1, 7=1, 8=0, 9=0, 10=0}, Reclaimable={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, CMA={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, Movable={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=1, 10=3}, Isolate={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}}, Normal={HighAtomic={0=1, 1=13, 2=12, 3=13, 4=9, 5=3, 6=1, 7=0, 8=0, 9=0, 10=0}, Unmovable={0=13, 1=7, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, Reclaimable={0=54, 1=13, 2=18, 3=13, 4=9, 5=9, 6=6, 7=1, 8=1, 9=0, 10=0}, CMA={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}, Movable={0=1, 1=0, 2=572, 3=58, 4=13, 5=5, 6=1, 7=0, 8=0, 9=0, 10=0}, Isolate={0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 10=0}}, order_summary={0=81, 1=6906, 2=2637, 3=879, 4=328, 5=185, 6=84, 7=3, 8=1, 9=1, 10=3}}'",
  "caused_by": {
    "type"  : "illegal_argument_exception",
    "reason": "Expected text at 1:419 but found START_OBJECT"
  }
}
, dropping event!"

Event Original

click to expand
{
  "`@timestamp`": "2025-05-05T12:24:37.397Z",
  "metricset": {"name": "pageinfo", "period": 20000},
  "service": {"type": "linux", "environment": "production"},
  "linux": {
    "pageinfo": {
      "nodes": {
        "0": {
          "Normal": {
            "Movable": {
              "0" :   1,
              "1" :   0,
              "2" : 572,
              "3" :  58,
              "4" :  13,
              "5" :   5,
              "6" :   1,
              "7" :   0,
              "8" :   0,
              "9" :   0,
              "10":   0
            },
            "Reclaimable": {
              "0" : 54,
              "1" : 13,
              "2" : 18,
              "3" : 13,
              "4" :  9,
              "5" :  9,
              "6" :  6,
              "7" :  1,
              "8" :  1,
              "9" :  0,
              "10":  0
            },
            "Unmovable": {
              "0" : 13,
              "1" :  7,
              "2" :  0,
              "3" :  0,
              "4" :  0,
              "5" :  0,
              "6" :  0,
              "7" :  0,
              "8" :  0,
              "9" :  0,
              "10":  0
            },
            "CMA": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "HighAtomic": {
              "0" :  1,
              "1" : 13,
              "2" : 12,
              "3" : 13,
              "4" :  9,
              "5" :  3,
              "6" :  1,
              "7" :  0,
              "8" :  0,
              "9" :  0,
              "10":  0
            },
            "Isolate": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            }
          },
          "order_summary": {
            "0" :   81,
            "1" : 6906,
            "2" : 2637,
            "3" :  879,
            "4" :  328,
            "5" :  185,
            "6" :   84,
            "7" :    3,
            "8" :    1,
            "9" :    1,
            "10":    3
          },
          "DMA": {
            "HighAtomic": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "Isolate": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "Movable": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 1,
              "10": 3
            },
            "Reclaimable": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "Unmovable": {
              "0" : 0,
              "1" : 1,
              "2" : 1,
              "3" : 0,
              "4" : 2,
              "5" : 1,
              "6" : 1,
              "7" : 1,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "CMA": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            }
          },
          "DMA32": {
            "HighAtomic": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "Isolate": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            },
            "Movable": {
              "0" :    1,
              "1" : 6818,
              "2" : 1970,
              "3" :  737,
              "4" :  268,
              "5" :  136,
              "6" :   57,
              "7" :    1,
              "8" :    0,
              "9" :    0,
              "10":    0
            },
            "Reclaimable": {
              "0" :  0,
              "1" : 17,
              "2" : 57,
              "3" : 40,
              "4" : 23,
              "5" : 18,
              "6" :  7,
              "7" :  0,
              "8" :  0,
              "9" :  0,
              "10":  0
            },
            "Unmovable": {
              "0" : 11,
              "1" : 37,
              "2" :  7,
              "3" : 18,
              "4" :  4,
              "5" : 13,
              "6" : 11,
              "7" :  0,
              "8" :  0,
              "9" :  0,
              "10":  0
            },
            "CMA": {
              "0" : 0,
              "1" : 0,
              "2" : 0,
              "3" : 0,
              "4" : 0,
              "5" : 0,
              "6" : 0,
              "7" : 0,
              "8" : 0,
              "9" : 0,
              "10": 0
            }
          }
        }
      },
      "buddy_info": {
        "DMA": {
          "0" : 0,
          "1" : 1,
          "2" : 1,
          "3" : 0,
          "4" : 2,
          "5" : 1,
          "6" : 1,
          "7" : 1,
          "8" : 0,
          "9" : 1,
          "10": 3
        },
        "DMA32": {
          "0" :   12,
          "1" : 6872,
          "2" : 2034,
          "3" :  795,
          "4" :  295,
          "5" :  167,
          "6" :   75,
          "7" :    1,
          "8" :    0,
          "9" :    0,
          "10":    0
        },
        "Normal": {
          "0" :  69,
          "1" :  33,
          "2" : 602,
          "3" :  84,
          "4" :  31,
          "5" :  17,
          "6" :   8,
          "7" :   1,
          "8" :   1,
          "9" :   0,
          "10":   0
        }
      }
    }
  },
  "elastic_agent": {
    "version": "8.17.1",
    "id": "c92bb9bc-780b-4ba4-9c00-2370a9fdfd48",
    "snapshot": false
  },
  "ecs": {"version": "8.0.0"},
  "event": {
    "module": "linux",
    "duration": 1310527,
    "dataset": "linux.pageinfo"
  },
  "data_stream": {
    "namespace": "private.default.production",
    "type"     : "metrics",
    "dataset"  : "linux.pageinfo"
  },
  "agent": {
    "ephemeral_id": "c5eca637-5bfe-495e-9bcc-b390b5aa2811",
    "id"          : "c92bb9bc-780b-4ba4-9c00-2370a9fdfd48",
    "name"        : "server1",
    "type"        : "metricbeat",
    "version"     : "8.17.1"
  },
  "host": {
    "architecture": "x86_64",
    "os": {
      "name"    : "openSUSE Leap",
      "kernel"  : "5.3.18-150300.59.49-default",
      "type"    : "linux",
      "platform": "opensuse-leap",
      "version" : "15.3",
      "family"  : "suse"
    },
    "id": "f23e1bf2371a4f6f9634eb0b9f5d0297",
    "containerized": false,
    "ip": ["192.168.1.1", "fe80::250:56ff:fe91:6332"],
    "mac": ["00-50-56-91-63-32"],
    "name": "server1.example.com",
    "hostname": "server1"
  }
}

What did you do?

Enabled the Linux Page info metricset

What did you see?

Error about events that couldn't be ingested

What did you expect to see?

Events being successfully generated

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions