We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is to track the adding of the Log Management Functionality into the Datadog cookbook.
I already have a working recipe that looks like this:
include_recipe 'datadog::dd-agent' # Logs Integration # # Here is the description of acceptable attributes: # default['datadog']['logs_conf'] = { # 'instances' = [ # { # 'type': 'file', # 'path': '/path/to/log', # 'service': 'service', # 'source': 'source', # 'sourcecategory': 'sourcecategory', # 'tags' = [ # '<KEY_1>:<VALUE_1>', # '<KEY_2>:<VALUE_2>', # ], # 'log_processing_rules' = { # 'type': 'multi_line', # 'pattern': '\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])', # 'name': 'new_log_start_with_date', # }, # }, # ], # } datadog_monitor 'logs_conf' do instances node['datadog']['logs_conf']['instances'] use_integration_template false action :add notifies :restart, 'service[datadog-agent]' if node['datadog']['agent_start'] end
I'm trying to figure out what other attributes I should add, those are the ones I could find on the integrations page in DD.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Adding Log Management Functionality as a Built-in
This is to track the adding of the Log Management Functionality into the Datadog cookbook.
I already have a working recipe that looks like this:
I'm trying to figure out what other attributes I should add, those are the ones I could find on the integrations page in DD.
The text was updated successfully, but these errors were encountered: