File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Example Playbooks
7171 tags : " mytag0, mytag1"
7272 log_level : INFO
7373 apm_enabled : " true" # has to be set as a string
74+ log_enabled : true # log collection is available on agent 6
7475 datadog_config_ex :
7576 trace.config :
7677 env : dev
@@ -106,6 +107,20 @@ Example Playbooks
106107 - nginx_status_url : http://example2.com:1234/nginx_status/
107108 tags :
108109 - instance:bar
110+ # Log collection is available on agent 6
111+ logs :
112+ - type : file
113+ path : /var/log/access.log
114+ service : myapp
115+ source : nginx
116+ sourcecategory : http_web_access
117+
118+ - type : file
119+ path : /var/log/error.log
120+ service : nginx
121+ source : nginx
122+ sourcecategory : http_web_access
123+
109124```
110125
111126``` yml
You can’t perform that action at this time.
0 commit comments