diff --git a/jobs/ingestor_logsearch/templates/bin/ingestor_logsearch b/jobs/ingestor_logsearch/templates/bin/ingestor_logsearch index 1795dd70..f390f0be 100644 --- a/jobs/ingestor_logsearch/templates/bin/ingestor_logsearch +++ b/jobs/ingestor_logsearch/templates/bin/ingestor_logsearch @@ -45,8 +45,8 @@ export LOGSTASH_WORKERS=`grep -c ^processor /proc/cpuinfo` <% else %> export LOGSTASH_WORKERS=<%= p('logstash_parser.workers') %> <% end %> -export TIMECOP_REJECT_GREATER_THAN_HOURS=<%= p('logstash_parser.timecop.reject_greater_than_hours') %> -export TIMECOP_REJECT_LESS_THAN_HOURS=<%= p('logstash_parser.timecop.reject_less_than_hours') %> +#export TIMECOP_REJECT_GREATER_THAN_HOURS=<%= p('logstash_parser.timecop.reject_greater_than_hours') %> +#export TIMECOP_REJECT_LESS_THAN_HOURS=<%= p('logstash_parser.timecop.reject_less_than_hours') %> export HEAP_SIZE=$((( $( cat /proc/meminfo | grep MemTotal | awk '{ print $2 }' ) * <%= p("logstash.heap_percentage") %> ) / 100 ))K <% if_p('logstash.heap_size') do |heap_size| %> HEAP_SIZE=<%= heap_size %> @@ -90,7 +90,7 @@ cat ${JOB_DIR}/config/filters_post.conf >> ${JOB_DIR}/config/logstash.conf <% if p('logstash_parser.enable_json_filter') %> cat /var/vcap/packages/logsearch-config/if_it_looks_like_json.conf >> ${JOB_DIR}/config/logstash.conf <% end %> -cat /var/vcap/packages/logsearch-config/timecop.conf >> ${JOB_DIR}/config/logstash.conf +#cat /var/vcap/packages/logsearch-config/timecop.conf >> ${JOB_DIR}/config/logstash.conf cat /var/vcap/packages/logsearch-config/deployment.conf >> ${JOB_DIR}/config/logstash.conf echo "} #close filters" >> ${JOB_DIR}/config/logstash.conf