Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/docs/sources/shared/flow/reference/components/loki-server-http.md
4096 views
---
aliases: - /docs/agent/shared/flow/reference/components/loki-server-http/ headless: true
---

The http block configures the HTTP server.

The following arguments can be used to configure the http block. Any omitted fields take their default values.

NameTypeDescriptionDefaultRequired
listen_addressstringNetwork address on which the server will listen for new connections. Defaults to accepting all incoming connections.""no
listen_portintPort number on which the server will listen for new connections.8080no
conn_limitintMaximum number of simultaneous http connections. Defaults to no limit.0no
server_read_timeoutdurationRead timeout for HTTP server."30s"no
server_write_timeoutdurationWrite timeout for HTTP server."30s"no
server_idle_timeoutdurationIdle timeout for HTTP server."120s"no