Filebeat httpjson with content type plus beat block

okay I am at a loss, I have a POST api call that has a body and absolutely requires content-type: "application/json"

without the content-type I can get the api to make the call but the json response isn't what I was expecting.

  url: https://KEY:PASS@APIURL
  interval: 1m
  content_type: "application/json"
  http_request_body:
   {
      "filter": {
     "alerted": false,
     "dateRange": "ALL",

etc.

Plus when I run:
filebeat -e

I get:

filebeat stopped.
2020-11-30T21:47:19.158Z        ERROR   instance/beat.go:956    Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).
Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).

I could really use suggestions. output should be logstash

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