Kafka
Last updated
Was this helpful?
Was this helpful?
input {
kafka {
bootstrap_servers => "localhost:9092"
topics => "test_topic"
}
}output {
http {
url => "https://ascent-dns-or-ip/v1/json_batch"
headers => { "Authorization" => "Bearer <Auth token>" }
http_method => "post"
format => "json_batch"
content_type => "json_batch"
pool_max => 300
pool_max_per_route => 100
socket_timeout => 60
}
}filter {
mutate {
add_field => { "cluster_id" => "demo-http-test" }
add_field => { "namespace" => "namespace_name" }
add_field => { "app_name" => "application_name" }
}
}