filebeat.yml 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978
  1. ######################## Filebeat Configuration ############################
  2. # This file is a full configuration example documenting all non-deprecated
  3. # options in comments. For a shorter configuration example, that contains only
  4. # the most common options, please see filebeat.yml in the same directory.
  5. #
  6. # You can find the full configuration reference here:
  7. # https://www.elastic.co/guide/en/beats/filebeat/index.html
  8. #========================== Modules configuration ============================
  9. filebeat.modules:
  10. #------------------------------- System Module -------------------------------
  11. #- module: system
  12. # Syslog
  13. #syslog:
  14. #enabled: true
  15. # Set custom paths for the log files. If left empty,
  16. # Filebeat will choose the paths depending on your OS.
  17. #var.paths:
  18. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  19. #var.convert_timezone: false
  20. # Input configuration (advanced). Any input configuration option
  21. # can be added under this section.
  22. #input:
  23. # Authorization logs
  24. #auth:
  25. #enabled: true
  26. # Set custom paths for the log files. If left empty,
  27. # Filebeat will choose the paths depending on your OS.
  28. #var.paths:
  29. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  30. #var.convert_timezone: false
  31. # Input configuration (advanced). Any input configuration option
  32. # can be added under this section.
  33. #input:
  34. #------------------------------- Apache2 Module ------------------------------
  35. #- module: apache2
  36. # Access logs
  37. #access:
  38. #enabled: true
  39. # Set custom paths for the log files. If left empty,
  40. # Filebeat will choose the paths depending on your OS.
  41. #var.paths:
  42. # Input configuration (advanced). Any input configuration option
  43. # can be added under this section.
  44. #input:
  45. # Error logs
  46. #error:
  47. #enabled: true
  48. # Set custom paths for the log files. If left empty,
  49. # Filebeat will choose the paths depending on your OS.
  50. #var.paths:
  51. # Input configuration (advanced). Any input configuration option
  52. # can be added under this section.
  53. #input:
  54. #------------------------------- Auditd Module -------------------------------
  55. #- module: auditd
  56. #log:
  57. #enabled: true
  58. # Set custom paths for the log files. If left empty,
  59. # Filebeat will choose the paths depending on your OS.
  60. #var.paths:
  61. # Input configuration (advanced). Any input configuration option
  62. # can be added under this section.
  63. #input:
  64. #---------------------------- elasticsearch Module ---------------------------
  65. - module: elasticsearch
  66. # Server log
  67. server:
  68. enabled: true
  69. # Set custom paths for the log files. If left empty,
  70. # Filebeat will choose the paths depending on your OS.
  71. #var.paths:
  72. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  73. #var.convert_timezone: false
  74. gc:
  75. enabled: true
  76. # Set custom paths for the log files. If left empty,
  77. # Filebeat will choose the paths depending on your OS.
  78. #var.paths:
  79. audit:
  80. enabled: true
  81. # Set custom paths for the log files. If left empty,
  82. # Filebeat will choose the paths depending on your OS.
  83. #var.paths:
  84. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  85. #var.convert_timezone: false
  86. slowlog:
  87. enabled: true
  88. # Set custom paths for the log files. If left empty,
  89. # Filebeat will choose the paths depending on your OS.
  90. #var.paths:
  91. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  92. #var.convert_timezone: false
  93. deprecation:
  94. enabled: true
  95. # Set custom paths for the log files. If left empty,
  96. # Filebeat will choose the paths depending on your OS.
  97. #var.paths:
  98. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  99. #var.convert_timezone: false
  100. #------------------------------- haproxy Module ------------------------------
  101. - module: haproxy
  102. # All logs
  103. log:
  104. enabled: true
  105. # Set which input to use between syslog (default) or file.
  106. #var.input:
  107. # Set custom paths for the log files. If left empty,
  108. # Filebeat will choose the paths depending on your OS.
  109. #var.paths:
  110. #------------------------------- Icinga Module -------------------------------
  111. #- module: icinga
  112. # Main logs
  113. #main:
  114. #enabled: true
  115. # Set custom paths for the log files. If left empty,
  116. # Filebeat will choose the paths depending on your OS.
  117. #var.paths:
  118. # Input configuration (advanced). Any input configuration option
  119. # can be added under this section.
  120. #input:
  121. # Debug logs
  122. #debug:
  123. #enabled: true
  124. # Set custom paths for the log files. If left empty,
  125. # Filebeat will choose the paths depending on your OS.
  126. #var.paths:
  127. # Input configuration (advanced). Any input configuration option
  128. # can be added under this section.
  129. #input:
  130. # Startup logs
  131. #startup:
  132. #enabled: true
  133. # Set custom paths for the log files. If left empty,
  134. # Filebeat will choose the paths depending on your OS.
  135. #var.paths:
  136. # Input configuration (advanced). Any input configuration option
  137. # can be added under this section.
  138. #input:
  139. #--------------------------------- IIS Module --------------------------------
  140. #- module: iis
  141. # Access logs
  142. #access:
  143. #enabled: true
  144. # Set custom paths for the log files. If left empty,
  145. # Filebeat will choose the paths depending on your OS.
  146. #var.paths:
  147. # Input configuration (advanced). Any input configuration option
  148. # can be added under this section.
  149. #input:
  150. # Error logs
  151. #error:
  152. #enabled: true
  153. # Set custom paths for the log files. If left empty,
  154. # Filebeat will choose the paths depending on your OS.
  155. #var.paths:
  156. # Input configuration (advanced). Any input configuration option
  157. # can be added under this section.
  158. #input:
  159. #-------------------------------- Kafka Module -------------------------------
  160. - module: kafka
  161. # All logs
  162. log:
  163. enabled: true
  164. # Set custom paths for Kafka. If left empty,
  165. # Filebeat will look under /opt.
  166. #var.kafka_home:
  167. # Set custom paths for the log files. If left empty,
  168. # Filebeat will choose the paths depending on your OS.
  169. #var.paths:
  170. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  171. #var.convert_timezone: false
  172. #------------------------------- kibana Module -------------------------------
  173. - module: kibana
  174. # All logs
  175. log:
  176. enabled: true
  177. # Set custom paths for the log files. If left empty,
  178. # Filebeat will choose the paths depending on your OS.
  179. #var.paths:
  180. #------------------------------ logstash Module ------------------------------
  181. #- module: logstash
  182. # logs
  183. #log:
  184. #enabled: true
  185. # Set custom paths for the log files. If left empty,
  186. # Filebeat will choose the paths depending on your OS.
  187. # var.paths:
  188. # Slow logs
  189. #slowlog:
  190. #enabled: true
  191. # Set custom paths for the log files. If left empty,
  192. # Filebeat will choose the paths depending on your OS.
  193. #var.paths:
  194. #------------------------------- mongodb Module ------------------------------
  195. #- module: mongodb
  196. # Logs
  197. #log:
  198. #enabled: true
  199. # Set custom paths for the log files. If left empty,
  200. # Filebeat will choose the paths depending on your OS.
  201. #var.paths:
  202. # Input configuration (advanced). Any input configuration option
  203. # can be added under this section.
  204. #input:
  205. #-------------------------------- MySQL Module -------------------------------
  206. #- module: mysql
  207. # Error logs
  208. #error:
  209. #enabled: true
  210. # Set custom paths for the log files. If left empty,
  211. # Filebeat will choose the paths depending on your OS.
  212. #var.paths:
  213. # Input configuration (advanced). Any input configuration option
  214. # can be added under this section.
  215. #input:
  216. # Slow logs
  217. #slowlog:
  218. #enabled: true
  219. # Set custom paths for the log files. If left empty,
  220. # Filebeat will choose the paths depending on your OS.
  221. #var.paths:
  222. # Input configuration (advanced). Any input configuration option
  223. # can be added under this section.
  224. #input:
  225. #-------------------------------- Nginx Module -------------------------------
  226. #- module: nginx
  227. # Access logs
  228. #access:
  229. #enabled: true
  230. # Set custom paths for the log files. If left empty,
  231. # Filebeat will choose the paths depending on your OS.
  232. #var.paths:
  233. # Input configuration (advanced). Any input configuration option
  234. # can be added under this section.
  235. #input:
  236. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  237. #var.convert_timezone: false
  238. # Error logs
  239. #error:
  240. #enabled: true
  241. # Set custom paths for the log files. If left empty,
  242. # Filebeat will choose the paths depending on your OS.
  243. #var.paths:
  244. # Input configuration (advanced). Any input configuration option
  245. # can be added under this section.
  246. #input:
  247. # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
  248. #var.convert_timezone: false
  249. #------------------------------- Osquery Module ------------------------------
  250. - module: osquery
  251. result:
  252. enabled: true
  253. # Set custom paths for the log files. If left empty,
  254. # Filebeat will choose the paths depending on your OS.
  255. #var.paths:
  256. # If true, all fields created by this module are prefixed with
  257. # `osquery.result`. Set to false to copy the fields in the root
  258. # of the document. The default is true.
  259. #var.use_namespace: true
  260. #----------------------------- PostgreSQL Module -----------------------------
  261. #- module: postgresql
  262. # Logs
  263. #log:
  264. #enabled: true
  265. # Set custom paths for the log files. If left empty,
  266. # Filebeat will choose the paths depending on your OS.
  267. #var.paths:
  268. # Input configuration (advanced). Any input configuration option
  269. # can be added under this section.
  270. #input:
  271. #-------------------------------- Redis Module -------------------------------
  272. #- module: redis
  273. # Main logs
  274. #log:
  275. #enabled: true
  276. # Set custom paths for the log files. If left empty,
  277. # Filebeat will choose the paths depending on your OS.
  278. #var.paths: ["/var/log/redis/redis-server.log*"]
  279. # Slow logs, retrieved via the Redis API (SLOWLOG)
  280. #slowlog:
  281. #enabled: true
  282. # The Redis hosts to connect to.
  283. #var.hosts: ["localhost:6379"]
  284. # Optional, the password to use when connecting to Redis.
  285. #var.password:
  286. #------------------------------- Traefik Module ------------------------------
  287. #- module: traefik
  288. # Access logs
  289. #access:
  290. #enabled: true
  291. # Set custom paths for the log files. If left empty,
  292. # Filebeat will choose the paths depending on your OS.
  293. #var.paths:
  294. # Input configuration (advanced). Any input configuration option
  295. # can be added under this section.
  296. #input:
  297. #=========================== Filebeat inputs =============================
  298. # List of inputs to fetch data.
  299. filebeat.inputs:
  300. # Each - is an input. Most options can be set at the input level, so
  301. # you can use different inputs for various configurations.
  302. # Below are the input specific configurations.
  303. # Type of the files. Based on this the way the file is read is decided.
  304. # The different types cannot be mixed in one input
  305. #
  306. # Possible options are:
  307. # * log: Reads every line of the log file (default)
  308. # * stdin: Reads the standard in
  309. #------------------------------ Log input --------------------------------
  310. - type: log
  311. enabled: false
  312. paths:
  313. - /var/log/*.log
  314. - type: log
  315. enabled: true
  316. paths:
  317. - /var/log/grafana/grafana.log
  318. include_lines: ['lvl=info']
  319. fields:
  320. app: grafana
  321. level: info
  322. - type: log
  323. enabled: true
  324. paths:
  325. - /var/log/grafana/grafana.log
  326. include_lines: ['lvl=eror']
  327. fields:
  328. app: grafana
  329. level: error
  330. - type: log
  331. enabled: true
  332. paths:
  333. - /var/log/grafana/grafana.log
  334. include_lines: ['lvl=warn']
  335. fields:
  336. app: grafana
  337. level: warning
  338. - type: log
  339. enabled: true
  340. paths:
  341. - /var/log/grafana/grafana.log
  342. include_lines: ['lvl=dbug']
  343. fields:
  344. app: grafana
  345. level: debug
  346. #- type: log
  347. # Change to true to enable this input configuration.
  348. #enabled: false
  349. # Paths that should be crawled and fetched. Glob based paths.
  350. # To fetch all ".log" files from a specific level of subdirectories
  351. # /var/log/*/*.log can be used.
  352. # For each file found under this path, a harvester is started.
  353. # Make sure not file is defined twice as this can lead to unexpected behaviour.
  354. #paths:
  355. #- /var/log/*.log
  356. #- c:\programdata\elasticsearch\logs\*
  357. # Configure the file encoding for reading files with international characters
  358. # following the W3C recommendation for HTML5 (http://www.w3.org/TR/encoding).
  359. # Some sample encodings:
  360. # plain, utf-8, utf-16be-bom, utf-16be, utf-16le, big5, gb18030, gbk,
  361. # hz-gb-2312, euc-kr, euc-jp, iso-2022-jp, shift-jis, ...
  362. #encoding: plain
  363. # Exclude lines. A list of regular expressions to match. It drops the lines that are
  364. # matching any regular expression from the list. The include_lines is called before
  365. # exclude_lines. By default, no lines are dropped.
  366. #exclude_lines: ['^DBG']
  367. # Include lines. A list of regular expressions to match. It exports the lines that are
  368. # matching any regular expression from the list. The include_lines is called before
  369. # exclude_lines. By default, all the lines are exported.
  370. #include_lines: ['^ERR', '^WARN']
  371. # Exclude files. A list of regular expressions to match. Filebeat drops the files that
  372. # are matching any regular expression from the list. By default, no files are dropped.
  373. #exclude_files: ['.gz$']
  374. # Optional additional fields. These fields can be freely picked
  375. # to add additional information to the crawled log files for filtering
  376. #fields:
  377. # level: debug
  378. # review: 1
  379. # Set to true to store the additional fields as top level fields instead
  380. # of under the "fields" sub-dictionary. In case of name conflicts with the
  381. # fields added by Filebeat itself, the custom fields overwrite the default
  382. # fields.
  383. #fields_under_root: false
  384. # Ignore files which were modified more then the defined timespan in the past.
  385. # ignore_older is disabled by default, so no files are ignored by setting it to 0.
  386. # Time strings like 2h (2 hours), 5m (5 minutes) can be used.
  387. #ignore_older: 0
  388. # How often the input checks for new files in the paths that are specified
  389. # for harvesting. Specify 1s to scan the directory as frequently as possible
  390. # without causing Filebeat to scan too frequently. Default: 10s.
  391. #scan_frequency: 10s
  392. # Defines the buffer size every harvester uses when fetching the file
  393. #harvester_buffer_size: 16384
  394. # Maximum number of bytes a single log event can have
  395. # All bytes after max_bytes are discarded and not sent. The default is 10MB.
  396. # This is especially useful for multiline log messages which can get large.
  397. #max_bytes: 10485760
  398. ### Recursive glob configuration
  399. # Expand "**" patterns into regular glob patterns.
  400. #recursive_glob.enabled: true
  401. ### JSON configuration
  402. # Decode JSON options. Enable this if your logs are structured in JSON.
  403. # JSON key on which to apply the line filtering and multiline settings. This key
  404. # must be top level and its value must be string, otherwise it is ignored. If
  405. # no text key is defined, the line filtering and multiline features cannot be used.
  406. #json.message_key:
  407. # By default, the decoded JSON is placed under a "json" key in the output document.
  408. # If you enable this setting, the keys are copied top level in the output document.
  409. #json.keys_under_root: false
  410. # If keys_under_root and this setting are enabled, then the values from the decoded
  411. # JSON object overwrite the fields that Filebeat normally adds (type, source, offset, etc.)
  412. # in case of conflicts.
  413. #json.overwrite_keys: false
  414. # If this setting is enabled, Filebeat adds a "error.message" and "error.key: json" key in case of JSON
  415. # unmarshaling errors or when a text key is defined in the configuration but cannot
  416. # be used.
  417. #json.add_error_key: false
  418. ### Multiline options
  419. # Multiline can be used for log messages spanning multiple lines. This is common
  420. # for Java Stack Traces or C-Line Continuation
  421. # The regexp Pattern that has to be matched. The example pattern matches all lines starting with [
  422. #multiline.pattern: ^\[
  423. # Defines if the pattern set under pattern should be negated or not. Default is false.
  424. #multiline.negate: false
  425. # Match can be set to "after" or "before". It is used to define if lines should be append to a pattern
  426. # that was (not) matched before or after or as long as a pattern is not matched based on negate.
  427. # Note: After is the equivalent to previous and before is the equivalent to to next in Logstash
  428. #multiline.match: after
  429. # The maximum number of lines that are combined to one event.
  430. # In case there are more the max_lines the additional lines are discarded.
  431. # Default is 500
  432. #multiline.max_lines: 500
  433. # After the defined timeout, an multiline event is sent even if no new pattern was found to start a new event
  434. # Default is 5s.
  435. #multiline.timeout: 5s
  436. # Setting tail_files to true means filebeat starts reading new files at the end
  437. # instead of the beginning. If this is used in combination with log rotation
  438. # this can mean that the first entries of a new file are skipped.
  439. #tail_files: false
  440. # The Ingest Node pipeline ID associated with this input. If this is set, it
  441. # overwrites the pipeline option from the Elasticsearch output.
  442. #pipeline:
  443. # If symlinks is enabled, symlinks are opened and harvested. The harvester is opening the
  444. # original for harvesting but will report the symlink name as source.
  445. #symlinks: false
  446. # Backoff values define how aggressively filebeat crawls new files for updates
  447. # The default values can be used in most cases. Backoff defines how long it is waited
  448. # to check a file again after EOF is reached. Default is 1s which means the file
  449. # is checked every second if new lines were added. This leads to a near real time crawling.
  450. # Every time a new line appears, backoff is reset to the initial value.
  451. #backoff: 1s
  452. # Max backoff defines what the maximum backoff time is. After having backed off multiple times
  453. # from checking the files, the waiting time will never exceed max_backoff independent of the
  454. # backoff factor. Having it set to 10s means in the worst case a new line can be added to a log
  455. # file after having backed off multiple times, it takes a maximum of 10s to read the new line
  456. #max_backoff: 10s
  457. # The backoff factor defines how fast the algorithm backs off. The bigger the backoff factor,
  458. # the faster the max_backoff value is reached. If this value is set to 1, no backoff will happen.
  459. # The backoff value will be multiplied each time with the backoff_factor until max_backoff is reached
  460. #backoff_factor: 2
  461. # Max number of harvesters that are started in parallel.
  462. # Default is 0 which means unlimited
  463. #harvester_limit: 0
  464. ### Harvester closing options
  465. # Close inactive closes the file handler after the predefined period.
  466. # The period starts when the last line of the file was, not the file ModTime.
  467. # Time strings like 2h (2 hours), 5m (5 minutes) can be used.
  468. #close_inactive: 5m
  469. # Close renamed closes a file handler when the file is renamed or rotated.
  470. # Note: Potential data loss. Make sure to read and understand the docs for this option.
  471. #close_renamed: false
  472. # When enabling this option, a file handler is closed immediately in case a file can't be found
  473. # any more. In case the file shows up again later, harvesting will continue at the last known position
  474. # after scan_frequency.
  475. #close_removed: true
  476. # Closes the file handler as soon as the harvesters reaches the end of the file.
  477. # By default this option is disabled.
  478. # Note: Potential data loss. Make sure to read and understand the docs for this option.
  479. #close_eof: false
  480. ### State options
  481. # Files for the modification data is older then clean_inactive the state from the registry is removed
  482. # By default this is disabled.
  483. #clean_inactive: 0
  484. # Removes the state for file which cannot be found on disk anymore immediately
  485. #clean_removed: true
  486. # Close timeout closes the harvester after the predefined time.
  487. # This is independent if the harvester did finish reading the file or not.
  488. # By default this option is disabled.
  489. # Note: Potential data loss. Make sure to read and understand the docs for this option.
  490. #close_timeout: 0
  491. # Defines if inputs is enabled
  492. #enabled: true
  493. #----------------------------- Stdin input -------------------------------
  494. # Configuration to use stdin input
  495. #- type: stdin
  496. #------------------------- Redis slowlog input ---------------------------
  497. # Experimental: Config options for the redis slow log input
  498. #- type: redis
  499. #enabled: false
  500. # List of hosts to pool to retrieve the slow log information.
  501. #hosts: ["localhost:6379"]
  502. # How often the input checks for redis slow log.
  503. #scan_frequency: 10s
  504. # Timeout after which time the input should return an error
  505. #timeout: 1s
  506. # Network type to be used for redis connection. Default: tcp
  507. #network: tcp
  508. # Max number of concurrent connections. Default: 10
  509. #maxconn: 10
  510. # Redis AUTH password. Empty by default.
  511. #password: foobared
  512. #------------------------------ Udp input --------------------------------
  513. # Experimental: Config options for the udp input
  514. #- type: udp
  515. #enabled: false
  516. # Maximum size of the message received over UDP
  517. #max_message_size: 10KiB
  518. #------------------------------ TCP input --------------------------------
  519. # Experimental: Config options for the TCP input
  520. #- type: tcp
  521. #enabled: false
  522. # The host and port to receive the new event
  523. #host: "localhost:9000"
  524. # Character used to split new message
  525. #line_delimiter: "\n"
  526. # Maximum size in bytes of the message received over TCP
  527. #max_message_size: 20MiB
  528. # The number of seconds of inactivity before a remote connection is closed.
  529. #timeout: 300s
  530. # Use SSL settings for TCP.
  531. #ssl.enabled: true
  532. # List of supported/valid TLS versions. By default all TLS versions 1.0 up to
  533. # 1.2 are enabled.
  534. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  535. # SSL configuration. By default is off.
  536. # List of root certificates for client verifications
  537. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  538. # Certificate for SSL server authentication.
  539. #ssl.certificate: "/etc/pki/client/cert.pem"
  540. # Server Certificate Key,
  541. #ssl.key: "/etc/pki/client/cert.key"
  542. # Optional passphrase for decrypting the Certificate Key.
  543. #ssl.key_passphrase: ''
  544. # Configure cipher suites to be used for SSL connections.
  545. #ssl.cipher_suites: []
  546. # Configure curve types for ECDHE based cipher suites.
  547. #ssl.curve_types: []
  548. # Configure what types of client authentication are supported. Valid options
  549. # are `none`, `optional`, and `required`. Default is required.
  550. #ssl.client_authentication: "required"
  551. #------------------------------ Syslog input --------------------------------
  552. # Experimental: Config options for the Syslog input
  553. # Accept RFC3164 formatted syslog event via UDP.
  554. #- type: syslog
  555. #enabled: false
  556. #protocol.udp:
  557. # The host and port to receive the new event
  558. #host: "localhost:9000"
  559. # Maximum size of the message received over UDP
  560. #max_message_size: 10KiB
  561. # Accept RFC3164 formatted syslog event via TCP.
  562. #- type: syslog
  563. #enabled: false
  564. #protocol.tcp:
  565. # The host and port to receive the new event
  566. #host: "localhost:9000"
  567. # Character used to split new message
  568. #line_delimiter: "\n"
  569. # Maximum size in bytes of the message received over TCP
  570. #max_message_size: 20MiB
  571. # The number of seconds of inactivity before a remote connection is closed.
  572. #timeout: 300s
  573. # Use SSL settings for TCP.
  574. #ssl.enabled: true
  575. # List of supported/valid TLS versions. By default all TLS versions 1.0 up to
  576. # 1.2 are enabled.
  577. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  578. # SSL configuration. By default is off.
  579. # List of root certificates for client verifications
  580. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  581. # Certificate for SSL server authentication.
  582. #ssl.certificate: "/etc/pki/client/cert.pem"
  583. # Server Certificate Key,
  584. #ssl.key: "/etc/pki/client/cert.key"
  585. # Optional passphrase for decrypting the Certificate Key.
  586. #ssl.key_passphrase: ''
  587. # Configure cipher suites to be used for SSL connections.
  588. #ssl.cipher_suites: []
  589. # Configure curve types for ECDHE based cipher suites.
  590. #ssl.curve_types: []
  591. # Configure what types of client authentication are supported. Valid options
  592. # are `none`, `optional`, and `required`. Default is required.
  593. #ssl.client_authentication: "required"
  594. #------------------------------ Docker input --------------------------------
  595. # Experimental: Docker input reads and parses `json-file` logs from Docker
  596. #- type: docker
  597. #enabled: false
  598. # Combine partial lines flagged by `json-file` format
  599. #combine_partials: true
  600. # Use this to read from all containers, replace * with a container id to read from one:
  601. #containers:
  602. # stream: all # can be all, stdout or stderr
  603. # ids:
  604. # - '*'
  605. #========================== Filebeat autodiscover ==============================
  606. # Autodiscover allows you to detect changes in the system and spawn new modules
  607. # or inputs as they happen.
  608. #filebeat.autodiscover:
  609. # List of enabled autodiscover providers
  610. # providers:
  611. # - type: docker
  612. # templates:
  613. # - condition:
  614. # equals.docker.container.image: busybox
  615. # config:
  616. # - type: log
  617. # paths:
  618. # - /var/lib/docker/containers/${data.docker.container.id}/*.log
  619. #========================= Filebeat global options ============================
  620. # Name of the registry file. If a relative path is used, it is considered relative to the
  621. # data path.
  622. #filebeat.registry_file: ${path.data}/registry
  623. # The permissions mask to apply on registry file. The default value is 0600.
  624. # Must be a valid Unix-style file permissions mask expressed in octal notation.
  625. # This option is not supported on Windows.
  626. #filebeat.registry_file_permissions: 0600
  627. # The timeout value that controls when registry entries are written to disk
  628. # (flushed). When an unwritten update exceeds this value, it triggers a write to
  629. # disk. When registry_flush is set to 0s, the registry is written to disk after
  630. # each batch of events has been published successfully. The default value is 0s.
  631. #filebeat.registry_flush: 0s
  632. # By default Ingest pipelines are not updated if a pipeline with the same ID
  633. # already exists. If this option is enabled Filebeat overwrites pipelines
  634. # everytime a new Elasticsearch connection is established.
  635. #filebeat.overwrite_pipelines: false
  636. # How long filebeat waits on shutdown for the publisher to finish.
  637. # Default is 0, not waiting.
  638. #filebeat.shutdown_timeout: 0
  639. # Enable filebeat config reloading
  640. #filebeat.config:
  641. #inputs:
  642. #enabled: false
  643. #path: inputs.d/*.yml
  644. #reload.enabled: true
  645. #reload.period: 10s
  646. #modules:
  647. #enabled: false
  648. #path: modules.d/*.yml
  649. #reload.enabled: true
  650. #reload.period: 10s
  651. #================================ General ======================================
  652. # The name of the shipper that publishes the network data. It can be used to group
  653. # all the transactions sent by a single shipper in the web interface.
  654. # If this options is not defined, the hostname is used.
  655. #name:
  656. # The tags of the shipper are included in their own field with each
  657. # transaction published. Tags make it easy to group servers by different
  658. # logical properties.
  659. #tags: ["service-X", "web-tier"]
  660. # Optional fields that you can specify to add additional information to the
  661. # output. Fields can be scalar values, arrays, dictionaries, or any nested
  662. # combination of these.
  663. #fields:
  664. # env: staging
  665. # If this option is set to true, the custom fields are stored as top-level
  666. # fields in the output document instead of being grouped under a fields
  667. # sub-dictionary. Default is false.
  668. #fields_under_root: false
  669. # Internal queue configuration for buffering events to be published.
  670. #queue:
  671. # Queue type by name (default 'mem')
  672. # The memory queue will present all available events (up to the outputs
  673. # bulk_max_size) to the output, the moment the output is ready to server
  674. # another batch of events.
  675. #mem:
  676. # Max number of events the queue can buffer.
  677. #events: 4096
  678. # Hints the minimum number of events stored in the queue,
  679. # before providing a batch of events to the outputs.
  680. # The default value is set to 2048.
  681. # A value of 0 ensures events are immediately available
  682. # to be sent to the outputs.
  683. #flush.min_events: 2048
  684. # Maximum duration after which events are available to the outputs,
  685. # if the number of events stored in the queue is < min_flush_events.
  686. #flush.timeout: 1s
  687. # The spool queue will store events in a local spool file, before
  688. # forwarding the events to the outputs.
  689. #
  690. # Beta: spooling to disk is currently a beta feature. Use with care.
  691. #
  692. # The spool file is a circular buffer, which blocks once the file/buffer is full.
  693. # Events are put into a write buffer and flushed once the write buffer
  694. # is full or the flush_timeout is triggered.
  695. # Once ACKed by the output, events are removed immediately from the queue,
  696. # making space for new events to be persisted.
  697. #spool:
  698. # The file namespace configures the file path and the file creation settings.
  699. # Once the file exists, the `size`, `page_size` and `prealloc` settings
  700. # will have no more effect.
  701. #file:
  702. # Location of spool file. The default value is ${path.data}/spool.dat.
  703. #path: "${path.data}/spool.dat"
  704. # Configure file permissions if file is created. The default value is 0600.
  705. #permissions: 0600
  706. # File size hint. The spool blocks, once this limit is reached. The default value is 100 MiB.
  707. #size: 100MiB
  708. # The files page size. A file is split into multiple pages of the same size. The default value is 4KiB.
  709. #page_size: 4KiB
  710. # If prealloc is set, the required space for the file is reserved using
  711. # truncate. The default value is true.
  712. #prealloc: true
  713. # Spool writer settings
  714. # Events are serialized into a write buffer. The write buffer is flushed if:
  715. # - The buffer limit has been reached.
  716. # - The configured limit of buffered events is reached.
  717. # - The flush timeout is triggered.
  718. #write:
  719. # Sets the write buffer size.
  720. #buffer_size: 1MiB
  721. # Maximum duration after which events are flushed if the write buffer
  722. # is not full yet. The default value is 1s.
  723. #flush.timeout: 1s
  724. # Number of maximum buffered events. The write buffer is flushed once the
  725. # limit is reached.
  726. #flush.events: 16384
  727. # Configure the on-disk event encoding. The encoding can be changed
  728. # between restarts.
  729. # Valid encodings are: json, ubjson, and cbor.
  730. #codec: cbor
  731. #read:
  732. # Reader flush timeout, waiting for more events to become available, so
  733. # to fill a complete batch as required by the outputs.
  734. # If flush_timeout is 0, all available events are forwarded to the
  735. # outputs immediately.
  736. # The default value is 0s.
  737. #flush.timeout: 0s
  738. # Sets the maximum number of CPUs that can be executing simultaneously. The
  739. # default is the number of logical CPUs available in the system.
  740. #max_procs:
  741. #================================ Processors ===================================
  742. # Processors are used to reduce the number of fields in the exported event or to
  743. # enhance the event with external metadata. This section defines a list of
  744. # processors that are applied one by one and the first one receives the initial
  745. # event:
  746. #
  747. # event -> filter1 -> event1 -> filter2 ->event2 ...
  748. #
  749. # The supported processors are drop_fields, drop_event, include_fields,
  750. # decode_json_fields, and add_cloud_metadata.
  751. #
  752. # For example, you can use the following processors to keep the fields that
  753. # contain CPU load percentages, but remove the fields that contain CPU ticks
  754. # values:
  755. #
  756. #processors:
  757. #- include_fields:
  758. # fields: ["cpu"]
  759. #- drop_fields:
  760. # fields: ["cpu.user", "cpu.system"]
  761. #
  762. # The following example drops the events that have the HTTP response code 200:
  763. #
  764. #processors:
  765. #- drop_event:
  766. # when:
  767. # equals:
  768. # http.code: 200
  769. #
  770. # The following example renames the field a to b:
  771. #
  772. #processors:
  773. #- rename:
  774. # fields:
  775. # - from: "a"
  776. # to: "b"
  777. #
  778. # The following example tokenizes the string into fields:
  779. #
  780. #processors:
  781. #- dissect:
  782. # tokenizer: "%{key1} - %{key2}"
  783. # field: "message"
  784. # target_prefix: "dissect"
  785. #
  786. # The following example enriches each event with metadata from the cloud
  787. # provider about the host machine. It works on EC2, GCE, DigitalOcean,
  788. # Tencent Cloud, and Alibaba Cloud.
  789. #
  790. #processors:
  791. #- add_cloud_metadata: ~
  792. #
  793. # The following example enriches each event with the machine's local time zone
  794. # offset from UTC.
  795. #
  796. #processors:
  797. #- add_locale:
  798. # format: offset
  799. #
  800. # The following example enriches each event with docker metadata, it matches
  801. # given fields to an existing container id and adds info from that container:
  802. #
  803. #processors:
  804. #- add_docker_metadata:
  805. # host: "unix:///var/run/docker.sock"
  806. # match_fields: ["system.process.cgroup.id"]
  807. # match_pids: ["process.pid", "process.ppid"]
  808. # match_source: true
  809. # match_source_index: 4
  810. # match_short_id: false
  811. # cleanup_timeout: 60
  812. # labels.dedot: false
  813. # # To connect to Docker over TLS you must specify a client and CA certificate.
  814. # #ssl:
  815. # # certificate_authority: "/etc/pki/root/ca.pem"
  816. # # certificate: "/etc/pki/client/cert.pem"
  817. # # key: "/etc/pki/client/cert.key"
  818. #
  819. # The following example enriches each event with docker metadata, it matches
  820. # container id from log path available in `source` field (by default it expects
  821. # it to be /var/lib/docker/containers/*/*.log).
  822. #
  823. #processors:
  824. #- add_docker_metadata: ~
  825. #
  826. # The following example enriches each event with host metadata.
  827. #
  828. #processors:
  829. #- add_host_metadata:
  830. # netinfo.enabled: false
  831. #
  832. # The following example enriches each event with process metadata using
  833. # process IDs included in the event.
  834. #
  835. #processors:
  836. #- add_process_metadata:
  837. # match_pids: ["system.process.ppid"]
  838. # target: system.process.parent
  839. #
  840. # The following example decodes fields containing JSON strings
  841. # and replaces the strings with valid JSON objects.
  842. #
  843. #processors:
  844. #- decode_json_fields:
  845. # fields: ["field1", "field2", ...]
  846. # process_array: false
  847. # max_depth: 1
  848. # target: ""
  849. # overwrite_keys: false
  850. #============================= Elastic Cloud ==================================
  851. # These settings simplify using filebeat with the Elastic Cloud (https://cloud.elastic.co/).
  852. # The cloud.id setting overwrites the `output.elasticsearch.hosts` and
  853. # `setup.kibana.host` options.
  854. # You can find the `cloud.id` in the Elastic Cloud web UI.
  855. #cloud.id:
  856. # The cloud.auth setting overwrites the `output.elasticsearch.username` and
  857. # `output.elasticsearch.password` settings. The format is `<user>:<pass>`.
  858. #cloud.auth:
  859. #================================ Outputs ======================================
  860. # Configure what output to use when sending the data collected by the beat.
  861. #-------------------------- Elasticsearch output -------------------------------
  862. output.elasticsearch:
  863. # Boolean flag to enable or disable the output module.
  864. #enabled: true
  865. # Array of hosts to connect to.
  866. # Scheme and port can be left out and will be set to the default (http and 9200)
  867. # In case you specify and additional path, the scheme is required: http://localhost:9200/path
  868. # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200
  869. hosts: ["elasticsearch7:9200"]
  870. # Enabled ilm (beta) to use index lifecycle management instead daily indices.
  871. #ilm.enabled: false
  872. #ilm.rollover_alias: "filebeat"
  873. #ilm.pattern: "{now/d}-000001"
  874. # Set gzip compression level.
  875. #compression_level: 0
  876. # Configure escaping HTML symbols in strings.
  877. #escape_html: true
  878. # Optional protocol and basic auth credentials.
  879. #protocol: "https"
  880. #username: "elastic"
  881. #password: "changeme"
  882. # Dictionary of HTTP parameters to pass within the URL with index operations.
  883. #parameters:
  884. #param1: value1
  885. #param2: value2
  886. # Number of workers per Elasticsearch host.
  887. #worker: 1
  888. # Optional index name. The default is "filebeat" plus date
  889. # and generates [filebeat-]YYYY.MM.DD keys.
  890. # In case you modify this pattern you must update setup.template.name and setup.template.pattern accordingly.
  891. index: "filebeat-%{+yyyy.MM.dd}"
  892. # Optional ingest node pipeline. By default no pipeline will be used.
  893. #pipeline: ""
  894. # Optional HTTP path
  895. #path: "/elasticsearch"
  896. # Custom HTTP headers to add to each request
  897. #headers:
  898. # X-My-Header: Contents of the header
  899. # Proxy server URL
  900. #proxy_url: http://proxy:3128
  901. # The number of times a particular Elasticsearch index operation is attempted. If
  902. # the indexing operation doesn't succeed after this many retries, the events are
  903. # dropped. The default is 3.
  904. #max_retries: 3
  905. # The maximum number of events to bulk in a single Elasticsearch bulk API index request.
  906. # The default is 50.
  907. #bulk_max_size: 50
  908. # The number of seconds to wait before trying to reconnect to Elasticsearch
  909. # after a network error. After waiting backoff.init seconds, the Beat
  910. # tries to reconnect. If the attempt fails, the backoff timer is increased
  911. # exponentially up to backoff.max. After a successful connection, the backoff
  912. # timer is reset. The default is 1s.
  913. #backoff.init: 1s
  914. # The maximum number of seconds to wait before attempting to connect to
  915. # Elasticsearch after a network error. The default is 60s.
  916. #backoff.max: 60s
  917. # Configure HTTP request timeout before failing a request to Elasticsearch.
  918. #timeout: 90
  919. # Use SSL settings for HTTPS.
  920. #ssl.enabled: true
  921. # Configure SSL verification mode. If `none` is configured, all server hosts
  922. # and certificates will be accepted. In this mode, SSL-based connections are
  923. # susceptible to man-in-the-middle attacks. Use only for testing. Default is
  924. # `full`.
  925. #ssl.verification_mode: full
  926. # List of supported/valid TLS versions. By default all TLS versions from 1.0 up to
  927. # 1.2 are enabled.
  928. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  929. # List of root certificates for HTTPS server verifications
  930. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  931. # Certificate for SSL client authentication
  932. #ssl.certificate: "/etc/pki/client/cert.pem"
  933. # Client certificate key
  934. #ssl.key: "/etc/pki/client/cert.key"
  935. # Optional passphrase for decrypting the certificate key.
  936. #ssl.key_passphrase: ''
  937. # Configure cipher suites to be used for SSL connections
  938. #ssl.cipher_suites: []
  939. # Configure curve types for ECDHE-based cipher suites
  940. #ssl.curve_types: []
  941. # Configure what types of renegotiation are supported. Valid options are
  942. # never, once, and freely. Default is never.
  943. #ssl.renegotiation: never
  944. #----------------------------- Logstash output ---------------------------------
  945. #output.logstash:
  946. # Boolean flag to enable or disable the output module.
  947. #enabled: true
  948. # The Logstash hosts
  949. #hosts: ["localhost:5044"]
  950. # Number of workers per Logstash host.
  951. #worker: 1
  952. # Set gzip compression level.
  953. #compression_level: 3
  954. # Configure escaping HTML symbols in strings.
  955. #escape_html: true
  956. # Optional maximum time to live for a connection to Logstash, after which the
  957. # connection will be re-established. A value of `0s` (the default) will
  958. # disable this feature.
  959. #
  960. # Not yet supported for async connections (i.e. with the "pipelining" option set)
  961. #ttl: 30s
  962. # Optionally load-balance events between Logstash hosts. Default is false.
  963. #loadbalance: false
  964. # Number of batches to be sent asynchronously to Logstash while processing
  965. # new batches.
  966. #pipelining: 2
  967. # If enabled only a subset of events in a batch of events is transferred per
  968. # transaction. The number of events to be sent increases up to `bulk_max_size`
  969. # if no error is encountered.
  970. #slow_start: false
  971. # The number of seconds to wait before trying to reconnect to Logstash
  972. # after a network error. After waiting backoff.init seconds, the Beat
  973. # tries to reconnect. If the attempt fails, the backoff timer is increased
  974. # exponentially up to backoff.max. After a successful connection, the backoff
  975. # timer is reset. The default is 1s.
  976. #backoff.init: 1s
  977. # The maximum number of seconds to wait before attempting to connect to
  978. # Logstash after a network error. The default is 60s.
  979. #backoff.max: 60s
  980. # Optional index name. The default index name is set to filebeat
  981. # in all lowercase.
  982. #index: 'filebeat'
  983. # SOCKS5 proxy server URL
  984. #proxy_url: socks5://user:password@socks5-server:2233
  985. # Resolve names locally when using a proxy server. Defaults to false.
  986. #proxy_use_local_resolver: false
  987. # Enable SSL support. SSL is automatically enabled if any SSL setting is set.
  988. #ssl.enabled: true
  989. # Configure SSL verification mode. If `none` is configured, all server hosts
  990. # and certificates will be accepted. In this mode, SSL based connections are
  991. # susceptible to man-in-the-middle attacks. Use only for testing. Default is
  992. # `full`.
  993. #ssl.verification_mode: full
  994. # List of supported/valid TLS versions. By default all TLS versions from 1.0 up to
  995. # 1.2 are enabled.
  996. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  997. # Optional SSL configuration options. SSL is off by default.
  998. # List of root certificates for HTTPS server verifications
  999. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  1000. # Certificate for SSL client authentication
  1001. #ssl.certificate: "/etc/pki/client/cert.pem"
  1002. # Client certificate key
  1003. #ssl.key: "/etc/pki/client/cert.key"
  1004. # Optional passphrase for decrypting the Certificate Key.
  1005. #ssl.key_passphrase: ''
  1006. # Configure cipher suites to be used for SSL connections
  1007. #ssl.cipher_suites: []
  1008. # Configure curve types for ECDHE-based cipher suites
  1009. #ssl.curve_types: []
  1010. # Configure what types of renegotiation are supported. Valid options are
  1011. # never, once, and freely. Default is never.
  1012. #ssl.renegotiation: never
  1013. # The number of times to retry publishing an event after a publishing failure.
  1014. # After the specified number of retries, the events are typically dropped.
  1015. # Some Beats, such as Filebeat and Winlogbeat, ignore the max_retries setting
  1016. # and retry until all events are published. Set max_retries to a value less
  1017. # than 0 to retry until all events are published. The default is 3.
  1018. #max_retries: 3
  1019. # The maximum number of events to bulk in a single Logstash request. The
  1020. # default is 2048.
  1021. #bulk_max_size: 2048
  1022. # The number of seconds to wait for responses from the Logstash server before
  1023. # timing out. The default is 30s.
  1024. #timeout: 30s
  1025. #------------------------------- Kafka output ----------------------------------
  1026. #output.kafka:
  1027. # Boolean flag to enable or disable the output module.
  1028. #enabled: true
  1029. # The list of Kafka broker addresses from which to fetch the cluster metadata.
  1030. # The cluster metadata contain the actual Kafka brokers events are published
  1031. # to.
  1032. #hosts: ["localhost:9092"]
  1033. # The Kafka topic used for produced events. The setting can be a format string
  1034. # using any event field. To set the topic from document type use `%{[type]}`.
  1035. #topic: beats
  1036. # The Kafka event key setting. Use format string to create a unique event key.
  1037. # By default no event key will be generated.
  1038. #key: ''
  1039. # The Kafka event partitioning strategy. Default hashing strategy is `hash`
  1040. # using the `output.kafka.key` setting or randomly distributes events if
  1041. # `output.kafka.key` is not configured.
  1042. #partition.hash:
  1043. # If enabled, events will only be published to partitions with reachable
  1044. # leaders. Default is false.
  1045. #reachable_only: false
  1046. # Configure alternative event field names used to compute the hash value.
  1047. # If empty `output.kafka.key` setting will be used.
  1048. # Default value is empty list.
  1049. #hash: []
  1050. # Authentication details. Password is required if username is set.
  1051. #username: ''
  1052. #password: ''
  1053. # Kafka version filebeat is assumed to run against. Defaults to the "1.0.0".
  1054. #version: '1.0.0'
  1055. # Configure JSON encoding
  1056. #codec.json:
  1057. # Pretty-print JSON event
  1058. #pretty: false
  1059. # Configure escaping HTML symbols in strings.
  1060. #escape_html: true
  1061. # Metadata update configuration. Metadata contains leader information
  1062. # used to decide which broker to use when publishing.
  1063. #metadata:
  1064. # Max metadata request retry attempts when cluster is in middle of leader
  1065. # election. Defaults to 3 retries.
  1066. #retry.max: 3
  1067. # Wait time between retries during leader elections. Default is 250ms.
  1068. #retry.backoff: 250ms
  1069. # Refresh metadata interval. Defaults to every 10 minutes.
  1070. #refresh_frequency: 10m
  1071. # The number of concurrent load-balanced Kafka output workers.
  1072. #worker: 1
  1073. # The number of times to retry publishing an event after a publishing failure.
  1074. # After the specified number of retries, events are typically dropped.
  1075. # Some Beats, such as Filebeat, ignore the max_retries setting and retry until
  1076. # all events are published. Set max_retries to a value less than 0 to retry
  1077. # until all events are published. The default is 3.
  1078. #max_retries: 3
  1079. # The maximum number of events to bulk in a single Kafka request. The default
  1080. # is 2048.
  1081. #bulk_max_size: 2048
  1082. # The number of seconds to wait for responses from the Kafka brokers before
  1083. # timing out. The default is 30s.
  1084. #timeout: 30s
  1085. # The maximum duration a broker will wait for number of required ACKs. The
  1086. # default is 10s.
  1087. #broker_timeout: 10s
  1088. # The number of messages buffered for each Kafka broker. The default is 256.
  1089. #channel_buffer_size: 256
  1090. # The keep-alive period for an active network connection. If 0s, keep-alives
  1091. # are disabled. The default is 0 seconds.
  1092. #keep_alive: 0
  1093. # Sets the output compression codec. Must be one of none, snappy and gzip. The
  1094. # default is gzip.
  1095. #compression: gzip
  1096. # Set the compression level. Currently only gzip provides a compression level
  1097. # between 0 and 9. The default value is chosen by the compression algorithm.
  1098. #compression_level: 4
  1099. # The maximum permitted size of JSON-encoded messages. Bigger messages will be
  1100. # dropped. The default value is 1000000 (bytes). This value should be equal to
  1101. # or less than the broker's message.max.bytes.
  1102. #max_message_bytes: 1000000
  1103. # The ACK reliability level required from broker. 0=no response, 1=wait for
  1104. # local commit, -1=wait for all replicas to commit. The default is 1. Note:
  1105. # If set to 0, no ACKs are returned by Kafka. Messages might be lost silently
  1106. # on error.
  1107. #required_acks: 1
  1108. # The configurable ClientID used for logging, debugging, and auditing
  1109. # purposes. The default is "beats".
  1110. #client_id: beats
  1111. # Enable SSL support. SSL is automatically enabled if any SSL setting is set.
  1112. #ssl.enabled: true
  1113. # Optional SSL configuration options. SSL is off by default.
  1114. # List of root certificates for HTTPS server verifications
  1115. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  1116. # Configure SSL verification mode. If `none` is configured, all server hosts
  1117. # and certificates will be accepted. In this mode, SSL based connections are
  1118. # susceptible to man-in-the-middle attacks. Use only for testing. Default is
  1119. # `full`.
  1120. #ssl.verification_mode: full
  1121. # List of supported/valid TLS versions. By default all TLS versions from 1.0 up to
  1122. # 1.2 are enabled.
  1123. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  1124. # Certificate for SSL client authentication
  1125. #ssl.certificate: "/etc/pki/client/cert.pem"
  1126. # Client Certificate Key
  1127. #ssl.key: "/etc/pki/client/cert.key"
  1128. # Optional passphrase for decrypting the Certificate Key.
  1129. #ssl.key_passphrase: ''
  1130. # Configure cipher suites to be used for SSL connections
  1131. #ssl.cipher_suites: []
  1132. # Configure curve types for ECDHE-based cipher suites
  1133. #ssl.curve_types: []
  1134. # Configure what types of renegotiation are supported. Valid options are
  1135. # never, once, and freely. Default is never.
  1136. #ssl.renegotiation: never
  1137. #------------------------------- Redis output ----------------------------------
  1138. #output.redis:
  1139. # Boolean flag to enable or disable the output module.
  1140. #enabled: true
  1141. # Configure JSON encoding
  1142. #codec.json:
  1143. # Pretty print json event
  1144. #pretty: false
  1145. # Configure escaping HTML symbols in strings.
  1146. #escape_html: true
  1147. # The list of Redis servers to connect to. If load-balancing is enabled, the
  1148. # events are distributed to the servers in the list. If one server becomes
  1149. # unreachable, the events are distributed to the reachable servers only.
  1150. #hosts: ["localhost:6379"]
  1151. # The name of the Redis list or channel the events are published to. The
  1152. # default is filebeat.
  1153. #key: filebeat
  1154. # The password to authenticate to Redis with. The default is no authentication.
  1155. #password:
  1156. # The Redis database number where the events are published. The default is 0.
  1157. #db: 0
  1158. # The Redis data type to use for publishing events. If the data type is list,
  1159. # the Redis RPUSH command is used. If the data type is channel, the Redis
  1160. # PUBLISH command is used. The default value is list.
  1161. #datatype: list
  1162. # The number of workers to use for each host configured to publish events to
  1163. # Redis. Use this setting along with the loadbalance option. For example, if
  1164. # you have 2 hosts and 3 workers, in total 6 workers are started (3 for each
  1165. # host).
  1166. #worker: 1
  1167. # If set to true and multiple hosts or workers are configured, the output
  1168. # plugin load balances published events onto all Redis hosts. If set to false,
  1169. # the output plugin sends all events to only one host (determined at random)
  1170. # and will switch to another host if the currently selected one becomes
  1171. # unreachable. The default value is true.
  1172. #loadbalance: true
  1173. # The Redis connection timeout in seconds. The default is 5 seconds.
  1174. #timeout: 5s
  1175. # The number of times to retry publishing an event after a publishing failure.
  1176. # After the specified number of retries, the events are typically dropped.
  1177. # Some Beats, such as Filebeat, ignore the max_retries setting and retry until
  1178. # all events are published. Set max_retries to a value less than 0 to retry
  1179. # until all events are published. The default is 3.
  1180. #max_retries: 3
  1181. # The number of seconds to wait before trying to reconnect to Redis
  1182. # after a network error. After waiting backoff.init seconds, the Beat
  1183. # tries to reconnect. If the attempt fails, the backoff timer is increased
  1184. # exponentially up to backoff.max. After a successful connection, the backoff
  1185. # timer is reset. The default is 1s.
  1186. #backoff.init: 1s
  1187. # The maximum number of seconds to wait before attempting to connect to
  1188. # Redis after a network error. The default is 60s.
  1189. #backoff.max: 60s
  1190. # The maximum number of events to bulk in a single Redis request or pipeline.
  1191. # The default is 2048.
  1192. #bulk_max_size: 2048
  1193. # The URL of the SOCKS5 proxy to use when connecting to the Redis servers. The
  1194. # value must be a URL with a scheme of socks5://.
  1195. #proxy_url:
  1196. # This option determines whether Redis hostnames are resolved locally when
  1197. # using a proxy. The default value is false, which means that name resolution
  1198. # occurs on the proxy server.
  1199. #proxy_use_local_resolver: false
  1200. # Enable SSL support. SSL is automatically enabled, if any SSL setting is set.
  1201. #ssl.enabled: true
  1202. # Configure SSL verification mode. If `none` is configured, all server hosts
  1203. # and certificates will be accepted. In this mode, SSL based connections are
  1204. # susceptible to man-in-the-middle attacks. Use only for testing. Default is
  1205. # `full`.
  1206. #ssl.verification_mode: full
  1207. # List of supported/valid TLS versions. By default all TLS versions 1.0 up to
  1208. # 1.2 are enabled.
  1209. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  1210. # Optional SSL configuration options. SSL is off by default.
  1211. # List of root certificates for HTTPS server verifications
  1212. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  1213. # Certificate for SSL client authentication
  1214. #ssl.certificate: "/etc/pki/client/cert.pem"
  1215. # Client Certificate Key
  1216. #ssl.key: "/etc/pki/client/cert.key"
  1217. # Optional passphrase for decrypting the Certificate Key.
  1218. #ssl.key_passphrase: ''
  1219. # Configure cipher suites to be used for SSL connections
  1220. #ssl.cipher_suites: []
  1221. # Configure curve types for ECDHE based cipher suites
  1222. #ssl.curve_types: []
  1223. # Configure what types of renegotiation are supported. Valid options are
  1224. # never, once, and freely. Default is never.
  1225. #ssl.renegotiation: never
  1226. #------------------------------- File output -----------------------------------
  1227. #output.file:
  1228. # Boolean flag to enable or disable the output module.
  1229. #enabled: true
  1230. # Configure JSON encoding
  1231. #codec.json:
  1232. # Pretty-print JSON event
  1233. #pretty: false
  1234. # Configure escaping HTML symbols in strings.
  1235. #escape_html: true
  1236. # Path to the directory where to save the generated files. The option is
  1237. # mandatory.
  1238. #path: "/tmp/filebeat"
  1239. # Name of the generated files. The default is `filebeat` and it generates
  1240. # files: `filebeat`, `filebeat.1`, `filebeat.2`, etc.
  1241. #filename: filebeat
  1242. # Maximum size in kilobytes of each file. When this size is reached, and on
  1243. # every filebeat restart, the files are rotated. The default value is 10240
  1244. # kB.
  1245. #rotate_every_kb: 10000
  1246. # Maximum number of files under path. When this number of files is reached,
  1247. # the oldest file is deleted and the rest are shifted from last to first. The
  1248. # default is 7 files.
  1249. #number_of_files: 7
  1250. # Permissions to use for file creation. The default is 0600.
  1251. #permissions: 0600
  1252. #----------------------------- Console output ---------------------------------
  1253. #output.console:
  1254. # Boolean flag to enable or disable the output module.
  1255. #enabled: true
  1256. # Configure JSON encoding
  1257. #codec.json:
  1258. # Pretty-print JSON event
  1259. #pretty: false
  1260. # Configure escaping HTML symbols in strings.
  1261. #escape_html: true
  1262. #================================= Paths ======================================
  1263. # The home path for the filebeat installation. This is the default base path
  1264. # for all other path settings and for miscellaneous files that come with the
  1265. # distribution (for example, the sample dashboards).
  1266. # If not set by a CLI flag or in the configuration file, the default for the
  1267. # home path is the location of the binary.
  1268. #path.home:
  1269. # The configuration path for the filebeat installation. This is the default
  1270. # base path for configuration files, including the main YAML configuration file
  1271. # and the Elasticsearch template file. If not set by a CLI flag or in the
  1272. # configuration file, the default for the configuration path is the home path.
  1273. #path.config: ${path.home}
  1274. # The data path for the filebeat installation. This is the default base path
  1275. # for all the files in which filebeat needs to store its data. If not set by a
  1276. # CLI flag or in the configuration file, the default for the data path is a data
  1277. # subdirectory inside the home path.
  1278. #path.data: ${path.home}/data
  1279. # The logs path for a filebeat installation. This is the default location for
  1280. # the Beat's log files. If not set by a CLI flag or in the configuration file,
  1281. # the default for the logs path is a logs subdirectory inside the home path.
  1282. #path.logs: ${path.home}/logs
  1283. #================================ Keystore ==========================================
  1284. # Location of the Keystore containing the keys and their sensitive values.
  1285. #keystore.path: "${path.config}/beats.keystore"
  1286. #============================== Dashboards =====================================
  1287. # These settings control loading the sample dashboards to the Kibana index. Loading
  1288. # the dashboards are disabled by default and can be enabled either by setting the
  1289. # options here, or by using the `-setup` CLI flag or the `setup` command.
  1290. #setup.dashboards.enabled: false
  1291. # The directory from where to read the dashboards. The default is the `kibana`
  1292. # folder in the home path.
  1293. #setup.dashboards.directory: ${path.home}/kibana
  1294. # The URL from where to download the dashboards archive. It is used instead of
  1295. # the directory if it has a value.
  1296. #setup.dashboards.url:
  1297. # The file archive (zip file) from where to read the dashboards. It is used instead
  1298. # of the directory when it has a value.
  1299. #setup.dashboards.file:
  1300. # In case the archive contains the dashboards from multiple Beats, this lets you
  1301. # select which one to load. You can load all the dashboards in the archive by
  1302. # setting this to the empty string.
  1303. #setup.dashboards.beat: filebeat
  1304. # The name of the Kibana index to use for setting the configuration. Default is ".kibana"
  1305. #setup.dashboards.kibana_index: .kibana
  1306. # The Elasticsearch index name. This overwrites the index name defined in the
  1307. # dashboards and index pattern. Example: testbeat-*
  1308. #setup.dashboards.index:
  1309. # Always use the Kibana API for loading the dashboards instead of autodetecting
  1310. # how to install the dashboards by first querying Elasticsearch.
  1311. #setup.dashboards.always_kibana: false
  1312. # If true and Kibana is not reachable at the time when dashboards are loaded,
  1313. # it will retry to reconnect to Kibana instead of exiting with an error.
  1314. #setup.dashboards.retry.enabled: false
  1315. # Duration interval between Kibana connection retries.
  1316. #setup.dashboards.retry.interval: 1s
  1317. # Maximum number of retries before exiting with an error, 0 for unlimited retrying.
  1318. #setup.dashboards.retry.maximum: 0
  1319. #============================== Template =====================================
  1320. # A template is used to set the mapping in Elasticsearch
  1321. # By default template loading is enabled and the template is loaded.
  1322. # These settings can be adjusted to load your own template or overwrite existing ones.
  1323. # Set to false to disable template loading.
  1324. #setup.template.enabled: true
  1325. # Template name. By default the template name is "filebeat-%{[beat.version]}"
  1326. # The template name and pattern has to be set in case the Elasticsearch index pattern is modified.
  1327. setup.template.name: "filebeat"
  1328. # Template pattern. By default the template pattern is "-%{[beat.version]}-*" to apply to the default index settings.
  1329. # The first part is the version of the beat and then -* is used to match all daily indices.
  1330. # The template name and pattern has to be set in case the Elasticsearch index pattern is modified.
  1331. setup.template.pattern: "filebeat-*"
  1332. # Path to fields.yml file to generate the template
  1333. #setup.template.fields: "${path.config}/fields.yml"
  1334. # A list of fields to be added to the template and Kibana index pattern. Also
  1335. # specify setup.template.overwrite: true to overwrite the existing template.
  1336. # This setting is experimental.
  1337. #setup.template.append_fields:
  1338. #- name: field_name
  1339. # type: field_type
  1340. # Enable JSON template loading. If this is enabled, the fields.yml is ignored.
  1341. #setup.template.json.enabled: false
  1342. # Path to the JSON template file
  1343. #setup.template.json.path: "${path.config}/template.json"
  1344. # Name under which the template is stored in Elasticsearch
  1345. #setup.template.json.name: ""
  1346. # Overwrite existing template
  1347. #setup.template.overwrite: false
  1348. # Elasticsearch template settings
  1349. setup.template.settings:
  1350. # A dictionary of settings to place into the settings.index dictionary
  1351. # of the Elasticsearch template. For more details, please check
  1352. # https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html
  1353. #index:
  1354. #number_of_shards: 1
  1355. #codec: best_compression
  1356. #number_of_routing_shards: 30
  1357. # A dictionary of settings for the _source field. For more details, please check
  1358. # https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html
  1359. #_source:
  1360. #enabled: false
  1361. #============================== Kibana =====================================
  1362. # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
  1363. # This requires a Kibana endpoint configuration.
  1364. setup.kibana:
  1365. # Kibana Host
  1366. # Scheme and port can be left out and will be set to the default (http and 5601)
  1367. # In case you specify and additional path, the scheme is required: http://localhost:5601/path
  1368. # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
  1369. #host: "localhost:5601"
  1370. # Optional protocol and basic auth credentials.
  1371. #protocol: "https"
  1372. #username: "elastic"
  1373. #password: "changeme"
  1374. # Optional HTTP path
  1375. #path: ""
  1376. # Use SSL settings for HTTPS. Default is true.
  1377. #ssl.enabled: true
  1378. # Configure SSL verification mode. If `none` is configured, all server hosts
  1379. # and certificates will be accepted. In this mode, SSL based connections are
  1380. # susceptible to man-in-the-middle attacks. Use only for testing. Default is
  1381. # `full`.
  1382. #ssl.verification_mode: full
  1383. # List of supported/valid TLS versions. By default all TLS versions from 1.0 up to
  1384. # 1.2 are enabled.
  1385. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  1386. # SSL configuration. The default is off.
  1387. # List of root certificates for HTTPS server verifications
  1388. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  1389. # Certificate for SSL client authentication
  1390. #ssl.certificate: "/etc/pki/client/cert.pem"
  1391. # Client certificate key
  1392. #ssl.key: "/etc/pki/client/cert.key"
  1393. # Optional passphrase for decrypting the certificate key.
  1394. #ssl.key_passphrase: ''
  1395. # Configure cipher suites to be used for SSL connections
  1396. #ssl.cipher_suites: []
  1397. # Configure curve types for ECDHE-based cipher suites
  1398. #ssl.curve_types: []
  1399. #================================ Logging ======================================
  1400. # There are four options for the log output: file, stderr, syslog, eventlog
  1401. # The file output is the default.
  1402. # Sets log level. The default log level is info.
  1403. # Available log levels are: error, warning, info, debug
  1404. #logging.level: info
  1405. # Enable debug output for selected components. To enable all selectors use ["*"]
  1406. # Other available selectors are "beat", "publish", "service"
  1407. # Multiple selectors can be chained.
  1408. #logging.selectors: [ ]
  1409. # Send all logging output to syslog. The default is false.
  1410. #logging.to_syslog: false
  1411. # Send all logging output to Windows Event Logs. The default is false.
  1412. #logging.to_eventlog: false
  1413. # If enabled, filebeat periodically logs its internal metrics that have changed
  1414. # in the last period. For each metric that changed, the delta from the value at
  1415. # the beginning of the period is logged. Also, the total values for
  1416. # all non-zero internal metrics are logged on shutdown. The default is true.
  1417. #logging.metrics.enabled: true
  1418. # The period after which to log the internal metrics. The default is 30s.
  1419. #logging.metrics.period: 30s
  1420. # Logging to rotating files. Set logging.to_files to false to disable logging to
  1421. # files.
  1422. logging.to_files: true
  1423. logging.files:
  1424. # Configure the path where the logs are written. The default is the logs directory
  1425. # under the home path (the binary location).
  1426. #path: /var/log/filebeat
  1427. # The name of the files where the logs are written to.
  1428. #name: filebeat
  1429. # Configure log file size limit. If limit is reached, log file will be
  1430. # automatically rotated
  1431. #rotateeverybytes: 10485760 # = 10MB
  1432. # Number of rotated log files to keep. Oldest files will be deleted first.
  1433. #keepfiles: 7
  1434. # The permissions mask to apply when rotating log files. The default value is 0600.
  1435. # Must be a valid Unix-style file permissions mask expressed in octal notation.
  1436. #permissions: 0600
  1437. # Enable log file rotation on time intervals in addition to size-based rotation.
  1438. # Intervals must be at least 1s. Values of 1m, 1h, 24h, 7*24h, 30*24h, and 365*24h
  1439. # are boundary-aligned with minutes, hours, days, weeks, months, and years as
  1440. # reported by the local system clock. All other intervals are calculated from the
  1441. # Unix epoch. Defaults to disabled.
  1442. #interval: 0
  1443. # Set to true to log messages in JSON format.
  1444. #logging.json: false
  1445. #============================== Xpack Monitoring =====================================
  1446. # filebeat can export internal metrics to a central Elasticsearch monitoring cluster.
  1447. # This requires xpack monitoring to be enabled in Elasticsearch.
  1448. # The reporting is disabled by default.
  1449. # Set to true to enable the monitoring reporter.
  1450. #xpack.monitoring.enabled: false
  1451. # Uncomment to send the metrics to Elasticsearch. Most settings from the
  1452. # Elasticsearch output are accepted here as well. Any setting that is not set is
  1453. # automatically inherited from the Elasticsearch output configuration, so if you
  1454. # have the Elasticsearch output configured, you can simply uncomment the
  1455. # following line, and leave the rest commented out.
  1456. #xpack.monitoring.elasticsearch:
  1457. # Array of hosts to connect to.
  1458. # Scheme and port can be left out and will be set to the default (http and 9200)
  1459. # In case you specify and additional path, the scheme is required: http://localhost:9200/path
  1460. # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200
  1461. #hosts: ["localhost:9200"]
  1462. # Set gzip compression level.
  1463. #compression_level: 0
  1464. # Optional protocol and basic auth credentials.
  1465. #protocol: "https"
  1466. #username: "beats_system"
  1467. #password: "changeme"
  1468. # Dictionary of HTTP parameters to pass within the URL with index operations.
  1469. #parameters:
  1470. #param1: value1
  1471. #param2: value2
  1472. # Custom HTTP headers to add to each request
  1473. #headers:
  1474. # X-My-Header: Contents of the header
  1475. # Proxy server url
  1476. #proxy_url: http://proxy:3128
  1477. # The number of times a particular Elasticsearch index operation is attempted. If
  1478. # the indexing operation doesn't succeed after this many retries, the events are
  1479. # dropped. The default is 3.
  1480. #max_retries: 3
  1481. # The maximum number of events to bulk in a single Elasticsearch bulk API index request.
  1482. # The default is 50.
  1483. #bulk_max_size: 50
  1484. # The number of seconds to wait before trying to reconnect to Elasticsearch
  1485. # after a network error. After waiting backoff.init seconds, the Beat
  1486. # tries to reconnect. If the attempt fails, the backoff timer is increased
  1487. # exponentially up to backoff.max. After a successful connection, the backoff
  1488. # timer is reset. The default is 1s.
  1489. #backoff.init: 1s
  1490. # The maximum number of seconds to wait before attempting to connect to
  1491. # Elasticsearch after a network error. The default is 60s.
  1492. #backoff.max: 60s
  1493. # Configure HTTP request timeout before failing an request to Elasticsearch.
  1494. #timeout: 90
  1495. # Use SSL settings for HTTPS.
  1496. #ssl.enabled: true
  1497. # Configure SSL verification mode. If `none` is configured, all server hosts
  1498. # and certificates will be accepted. In this mode, SSL based connections are
  1499. # susceptible to man-in-the-middle attacks. Use only for testing. Default is
  1500. # `full`.
  1501. #ssl.verification_mode: full
  1502. # List of supported/valid TLS versions. By default all TLS versions from 1.0 up to
  1503. # 1.2 are enabled.
  1504. #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]
  1505. # SSL configuration. The default is off.
  1506. # List of root certificates for HTTPS server verifications
  1507. #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  1508. # Certificate for SSL client authentication
  1509. #ssl.certificate: "/etc/pki/client/cert.pem"
  1510. # Client certificate key
  1511. #ssl.key: "/etc/pki/client/cert.key"
  1512. # Optional passphrase for decrypting the certificate key.
  1513. #ssl.key_passphrase: ''
  1514. # Configure cipher suites to be used for SSL connections
  1515. #ssl.cipher_suites: []
  1516. # Configure curve types for ECDHE-based cipher suites
  1517. #ssl.curve_types: []
  1518. # Configure what types of renegotiation are supported. Valid options are
  1519. # never, once, and freely. Default is never.
  1520. #ssl.renegotiation: never
  1521. #metrics.period: 10s
  1522. #state.period: 1m
  1523. #================================ HTTP Endpoint ======================================
  1524. # Each beat can expose internal metrics through a HTTP endpoint. For security
  1525. # reasons the endpoint is disabled by default. This feature is currently experimental.
  1526. # Stats can be access through http://localhost:5066/stats . For pretty JSON output
  1527. # append ?pretty to the URL.
  1528. # Defines if the HTTP endpoint is enabled.
  1529. #http.enabled: false
  1530. # The HTTP endpoint will bind to this hostname or IP address. It is recommended to use only localhost.
  1531. #http.host: localhost
  1532. # Port on which the HTTP endpoint will bind. Default is 5066.
  1533. #http.port: 5066
  1534. #============================= Process Security ================================
  1535. # Enable or disable seccomp system call filtering on Linux. Default is enabled.
  1536. #seccomp.enabled: true