Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[filebeat][threatintel][MISP] "cannot access method/field [size] from a null def reference" #38739

Closed
righel opened this issue Apr 5, 2024 · 3 comments · Fixed by #38917
Closed
Labels
needs_team Indicates that the issue/PR needs a Team:* label

Comments

@righel
Copy link

righel commented Apr 5, 2024

Every time Elastic pulls data from MISP it requests an additional page, then it fails to parse the empty response and gives an error.

Relevant log:

{
  "@timestamp": [
    "2024-04-05T12:34:43.201Z"
  ],
  "agent.ephemeral_id": [
    "23da4333-6b6d-4808-b28c-b87c0e6b0bca"
  ],
  "agent.hostname": [
    "ab6ce874b844"
  ],
  "agent.id": [
    "0f9297be-6c84-465c-b2e8-fb8b5d4c8d4c"
  ],
  "agent.name": [
    "ab6ce874b844"
  ],
  "agent.type": [
    "filebeat"
  ],
  "agent.version": [
    "8.12.2"
  ],
  "ecs.version": [
    "1.12.0"
  ],
  "error.message": [
    "cannot access method/field [size] from a null def reference"
  ],
  "event.category": [
    "threat"
  ],
  "event.created": [
    "2024-04-05T12:34:43.201Z"
  ],
  "event.dataset": [
    "threatintel.misp"
  ],
  "event.ingested": [
    "2024-04-05T12:34:53.198Z"
  ],
  "event.kind": [
    "enrichment"
  ],
  "event.module": [
    "threatintel"
  ],
  "event.original": [
    "{\"response\":[]}"
  ],
  "event.timezone": [
    "+00:00"
  ],
  "event.type": [
    "indicator"
  ],
  "fileset.name": [
    "misp"
  ],
  "host.architecture": [
    "x86_64"
  ],
  "host.containerized": [
    false
  ],
  "host.hostname": [
    "ab6ce874b844"
  ],
  "host.ip": [
    "172.23.0.9"
  ],
  "host.mac": [
    "02-42-AC-17-00-09"
  ],
  "host.name": [
    "ab6ce874b844"
  ],
  "host.os.codename": [
    "focal"
  ],
  "host.os.family": [
    "debian"
  ],
  "host.os.kernel": [
    "5.15.49-linuxkit"
  ],
  "host.os.name": [
    "Ubuntu"
  ],
  "host.os.name.text": [
    "Ubuntu"
  ],
  "host.os.platform": [
    "ubuntu"
  ],
  "host.os.type": [
    "linux"
  ],
  "host.os.version": [
    "20.04.6 LTS (Focal Fossa)"
  ],
  "input.type": [
    "httpjson"
  ],
  "service.type": [
    "threatintel"
  ],
  "tags": [
    "threatintel-misp",
    "forwarded"
  ],
  "threat.indicator.provider": [
    "misp"
  ],
  "_id": "WUtBro4BZoTdDFnhNvST",
  "_index": ".ds-filebeat-8.12.2-2024.04.02-000001",
  "_score": null
}

Do you think its a bug @chrisberkhout ?

For confirmed bugs, please report:

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 5, 2024
@botelastic
Copy link

botelastic bot commented Apr 5, 2024

This issue doesn't have a Team:<team> label.

@chrisberkhout
Copy link
Contributor

Thanks for the report @righel. I think it is a bug. I've opened #38917 to fix it.

@righel
Copy link
Author

righel commented Apr 15, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants