File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
crowdsec-docs/docs/data_sources Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This module allows the `Security Engine` to acquire logs from an HTTP endpoint.
1010To receive logs from an HTTP endpoint with basic auth:
1111``` yaml
1212source : http
13- port : 8080
13+ listen_addr : 127.0.0.1: 8080
1414path : /test
1515auth_type : basic_auth
1616basic_auth :
@@ -23,7 +23,7 @@ labels:
2323To receive logs from an HTTP endpoint with headers:
2424` ` ` yaml
2525source : http
26- port : 8080
26+ listen_addr : 127.0.0.1: 8080
2727path : /test
2828auth_type : headers
2929headers :
@@ -36,7 +36,7 @@ To receive logs from an HTTP endpoint with TLS and headers:
3636
3737` ` ` yaml
3838source : http
39- port : 8080
39+ listen_addr : 127.0.0.1: 8080
4040path : /test
4141auth_type : headers
4242headers :
@@ -52,7 +52,7 @@ To receive logs from an HTTP endpoint with mTLS:
5252
5353` ` ` yaml
5454source : http
55- port : 8080
55+ listen_addr : 127.0.0.1: 8080
5656path : /test
5757auth_type : mtls
5858tls :
@@ -68,9 +68,9 @@ Look at the `configuration parameters` to view all supported options.
6868# # Parameters
6969
7070
71- # ## `port `
71+ # ## `listen_addr `
7272
73- The port to listen on.
73+ The address to listen on (e.g., `1270.0.1:8088`) .
7474
7575Required.
7676
@@ -82,7 +82,7 @@ The endpoint path to listen on.
8282The request method is always `POST`.
8383:: :
8484
85- Required .
85+ Optional, default is `/` .
8686
8787# ## `auth_type`
8888
You can’t perform that action at this time.
0 commit comments