Exiting: error initializing publisher: output type http undefined in filebeat.yml

Hi
I need to forward the logs to my own api, In the config, i am using Http.output which says the error
"Exiting: error initializing publisher: output type http undefined in filebeat"

output.http:
url: "https://APIXXXXXX "
method: "post"
headers:
Content-Type: "application/json"
body:
index: "security-logs-%{+yyyy.MM.dd}"
logs: "{{json .}}"

please confirm whether i need to use some other module to forward the logs

Hi @karthic welcome to the community!

Filebeat does not have an http output

The available outputs can be found here

The following topics describe how to configure each supported output. If you’ve secured the Elastic Stack, also read Secure for more about security-related configuration options.

Elasticsearch Service
Elasticsearch
Logstash
Kafka
Redis
File
Console

You will need to use something else like logstash http output

And of course you could use

Filebeat > Logstash > http output

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