Skip to content

Commit

Permalink
set max message size to 32765
Browse files Browse the repository at this point in the history
  • Loading branch information
markdboyd committed Nov 22, 2024
1 parent 32c72fd commit b793469
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions jobs/ingestor_syslog/spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ description: |
then forward it to opensearch cluster

packages:
- logstash
- base-logstash-filters
- cf-logstash-filters
- openjdk-17
- logstash
- base-logstash-filters
- cf-logstash-filters
- openjdk-17

templates:
bin/ingestor_syslog: bin/ingestor_syslog.sh
Expand All @@ -29,25 +29,25 @@ templates:
config/ca.erb: config/ssl/opensearch.ca

provides:
- name: ingestor
type: ingestor
properties:
- logstash_ingestor.syslog.port
- logstash_ingestor.syslog.transport
- logstash_ingestor.syslog_tls.port
- logstash_ingestor.relp.port
- name: syslog_forwarder
type: syslog_forwarder
properties:
- logstash_ingestor.syslog.port
- name: ingestor_inputs
type: ingestor_inputs
properties:
- logstash_parser.inputs
- name: ingestor
type: ingestor
properties:
- logstash_ingestor.syslog.port
- logstash_ingestor.syslog.transport
- logstash_ingestor.syslog_tls.port
- logstash_ingestor.relp.port
- name: syslog_forwarder
type: syslog_forwarder
properties:
- logstash_ingestor.syslog.port
- name: ingestor_inputs
type: ingestor_inputs
properties:
- logstash_parser.inputs
consumes:
- name: opensearch
type: opensearch
optional: true
- name: opensearch
type: opensearch
optional: true

properties:
logstash.ssl_client_authentication:
Expand All @@ -70,7 +70,7 @@ properties:
logstash.plugins:
description: "Array of hashes describing logstash plugins to install"
example:
- {name: logstash-output-cloudwatchlogs, version: 2.0.0}
- { name: logstash-output-cloudwatchlogs, version: 2.0.0 }
default: []

logstash.ecs_compatibility:
Expand Down Expand Up @@ -149,13 +149,13 @@ properties:
default: false
logstash_parser.message_max_size:
description: "Maximum log message length. Anything larger is truncated (TODO: move this to ingestor?)"
default: 1048576
default: 32765
logstash_parser.filters:
description: "The configuration to embed into the logstash filters section. Can either be a set of parsing rules as a string or a list of hashes in the form of [{name: path_to_parsing_rules.conf}]"
default: ''
default: ""
logstash_parser.deployment_dictionary:
description: "A list of files concatenated into one deployment dictionary file. Each file contains a hash of job name-deployment name keypairs for @source.deployment lookup."
default: [ "/var/vcap/packages/base-logstash-filters/deployment_lookup.yml" ]
default: ["/var/vcap/packages/base-logstash-filters/deployment_lookup.yml"]
logstash_parser.inputs:
description: |
A list of input plugins, with a hash of options for each of them. Please refer to example below.
Expand All @@ -176,7 +176,7 @@ properties:
uri: 192.168.1.1
database: logsearch
collection: logs
default: [ { plugin: "opensearch", options: {} } ]
default: [{ plugin: "opensearch", options: {} }]
logstash_parser.workers:
description: "The number of worker threads that logstash should use (default: auto = one per CPU)"
default: auto
Expand Down

0 comments on commit b793469

Please sign in to comment.