Commit 0cbfa58c authored by Walter Heck's avatar Walter Heck

Making small fixes so logstash configs get properly generated

parent 392f3f54
Pipeline #348 passed with stages
in 2 minutes and 16 seconds
......@@ -108,7 +108,7 @@ class opstheater::profile::grafana (
database => '[logstash-]YYYY.MM.DD',
json_data => {
timeField => '@timestamp',
esVersion => '2',
esVersion => '5',
interval => 'Daily',
},
}
......
......@@ -22,15 +22,11 @@ class opstheater::profile::logstash (
}
logstash::configfile { 'output_header':
content => template('opstheater/logstash/output_header.erb'),
}
logstash::configfile { 'output_elasticsearch':
content => template('opstheater/logstash/output_elasticsearch.erb'),
}
logstash::configfile { 'output_footer':
content => template('opstheater/logstash/output_footer.erb'),
content => template(
'opstheater/logstash/output_header.erb',
'opstheater/logstash/output_elasticsearch.erb',
'opstheater/logstash/output_footer.erb'
),
}
if $plugins {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment