vkhatri/chef-filebeat

how do i add this file?

Closed this issue · 2 comments

I have this in my filebeat.yml

How do I do that with this cookbook?

filebeat.prospectors:

  • type: log
    enabled: true
    paths:
    • /var/log/.

You can look at one of the examples and remove the lines that don't make sense or match your desired config. type, enabled, and paths are pretty straightforward.

https://github.com/vkhatri/chef-filebeat/blob/38ed02462f47c5c1210dbc7201921ed7b1e32194/test/cookbooks/filebeat_test/recipes/default.rb

Then test to confirm :)

Closing. Please reopen if need to.