Skip to content

Commit

Permalink
removing the cop
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheMain committed Oct 8, 2024
1 parent 3efbdcf commit 7470001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jobs/ingestor_logsearch/templates/bin/ingestor_logsearch
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7470001

Please sign in to comment.