MISP/MISP

MISP API - Filebeat Key not found

开放

#6,048 创建于 2020年6月23日

 (2 条评论) (0 个反应) (0 位负责人)PHP (1,306 个派生)batch import
S: needs diagnosisT: supporthelp wantedtopic: API

仓库指标

星标
 (4,600 个星标)
PR 合并指标
 (平均合并 17天 10小时) (30 天内合并 50 个 PR)

描述

Questions Answers
Type of issue Support
OS version (server) CentOS 7.7
OS version (client) CentOS 7.7
Filebeat version 7.7
MISP version / git hash MISP 2.4.127

Hi guys, i am trying to use MISP with the misp filebeat module, however i am getting error: Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.112+0300 ERROR [httpjson] httpjson/input.go:123 key not found {"url": "https://misp.localhost/attributes/restSearch"}

Making queries with curl is no problem and it works.

Filebeat config:

Journal:

Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.049+0300 INFO eslegclient/connection.go:84 elasticsearch url: http://elk.localhost:9200 Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.058+0300 INFO [esclientleg] eslegclient/connection.go:263 Attempting to connect to Elasticsearch version 7.6.2 Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.063+0300 INFO input/input.go:114 Starting input of type: httpjson; ID: 9999616162109598261 Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.063+0300 INFO cfgfile/reload.go:235 Loading of config files completed. Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.063+0300 INFO [httpjson] httpjson/input.go:118 httpjson input worker has started. {"url": "https://misp.localhost/attributes/restSearch"} Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.063+0300 WARN [tls] tlscommon/tls_config.go:83 SSL/TLS verifications disabled. Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.063+0300 WARN [tls] tlscommon/tls_config.go:83 SSL/TLS verifications disabled. Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.112+0300 ERROR [httpjson] httpjson/input.go:123 key not found {"url": "https://misp.localhost/attributes/restSearch"} Jun 23 14:03:07 misp.localhost filebeat[25521]: 2020-06-23T14:03:07.112+0300 INFO [httpjson] httpjson/input.go:124 httpjson input worker has stopped. {"url": "https://misp.localhost/attributes/restSearch"} Jun 23 14:03:10 misp.localhost filebeat[25521]: 2020-06-23T14:03:10.039+0300 INFO [add_cloud_metadata] add_cloud_metadata/add_cloud_metadata.go:89 add_cloud_metadata: hosting provider type not detected.

贡献者指南