Logstash memcached plugin does not run in set mode

I am using Logstash 6.8.22 and logstash-filter-memcached-0.1.2. I cannot, for the life of me, get the memcached plugin to set any values. I checked it through the command line, and memcached itself works fine and can set values manually. From what I observe, the plugin just does not execute in set mode. Has anyone encountered this? Is there any way to fix it?

My test config:

input {
    stdin {}
}

filter {
    memcached {
        set => { "set_value" => "value2" }
        add_tag => [ "value_set" ]
    }

    memcached {
        get => { "value1" => "get_value" }
        add_tag => [ "value_get" ]
    }
}

output {
    stdout { codec => "rubydebug" }
}

Output I receive from a sample message saying "test" (value1 is set in memcached beforehand, value2 is not):

{
          "tags" => [
        [0] "value_get"
    ],
    "@timestamp" => 2021-12-24T11:52:15.577Z,
          "host" => "ukhqsv51264.bridgestone.eu",
     "get_value" => "hello!!",
      "@version" => "1",
       "message" => "test"
}

Full trace output for this config:

WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
[DEBUG] 2021-12-24 12:51:59.455 [main] scaffold - Found module {:module_name=>"fb_apache", :directory=>"/usr/share/logstash/modules/fb_apache/configuration"}
[DEBUG] 2021-12-24 12:51:59.461 [main] registry - Adding plugin to the registry {:name=>"fb_apache", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x509cf73a @directory="/usr/share/logstash/modules/fb_apache/configuration", @module_name="fb_apache", @kibana_version_parts=["6", "0", "0"]>}
[DEBUG] 2021-12-24 12:51:59.464 [main] scaffold - Found module {:module_name=>"netflow", :directory=>"/usr/share/logstash/modules/netflow/configuration"}
[DEBUG] 2021-12-24 12:51:59.464 [main] registry - Adding plugin to the registry {:name=>"netflow", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x77422a9f @directory="/usr/share/logstash/modules/netflow/configuration", @module_name="netflow", @kibana_version_parts=["6", "0", "0"]>}
[DEBUG] 2021-12-24 12:51:59.809 [LogStash::Runner] runner - -------- Logstash Settings (* means modified) ---------
[DEBUG] 2021-12-24 12:51:59.809 [LogStash::Runner] runner - node.name: "ukhqsv51264.bridgestone.eu"
[DEBUG] 2021-12-24 12:51:59.809 [LogStash::Runner] runner - *path.config: "./memcached_test.conf"
[DEBUG] 2021-12-24 12:51:59.809 [LogStash::Runner] runner - path.data: "/usr/share/logstash/data"
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - modules.cli: []
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - modules: []
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - modules_list: []
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - modules_variable_list: []
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - modules_setup: false
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - config.test_and_exit: false
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - config.reload.automatic: false
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - config.reload.interval: 3000000000
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - config.support_escapes: false
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - config.field_reference.parser: "COMPAT"
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - metric.collect: true
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.id: "main"
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.system: false
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.workers: 4
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.output.workers: 1
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.batch.size: 125
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.batch.delay: 50
[DEBUG] 2021-12-24 12:51:59.810 [LogStash::Runner] runner - pipeline.unsafe_shutdown: false
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - pipeline.java_execution: false
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - pipeline.reloadable: true
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - path.plugins: []
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - config.debug: false
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - *log.level: "trace" (default: "info")
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - version: false
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - help: false
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - log.format: "plain"
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - http.host: "127.0.0.1"
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - http.port: 9600..9700
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - http.environment: "production"
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.type: "memory"
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.drain: false
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.page_capacity: 67108864
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.max_bytes: 1073741824
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.max_events: 0
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.checkpoint.acks: 1024
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.checkpoint.writes: 1024
[DEBUG] 2021-12-24 12:51:59.811 [LogStash::Runner] runner - queue.checkpoint.interval: 1000
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - queue.checkpoint.retry: false
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - dead_letter_queue.enable: false
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - dead_letter_queue.max_bytes: 1073741824
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - slowlog.threshold.warn: -1
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - slowlog.threshold.info: -1
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - slowlog.threshold.debug: -1
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - slowlog.threshold.trace: -1
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - keystore.classname: "org.logstash.secret.store.backend.JavaKeyStore"
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - keystore.file: "/usr/share/logstash/config/logstash.keystore"
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - path.queue: "/usr/share/logstash/data/queue"
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - path.dead_letter_queue: "/usr/share/logstash/data/dead_letter_queue"
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - path.settings: "/usr/share/logstash/config"
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - path.logs: "/usr/share/logstash/logs"
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - xpack.management.enabled: false
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - xpack.management.logstash.poll_interval: 5000000000
[DEBUG] 2021-12-24 12:51:59.812 [LogStash::Runner] runner - xpack.management.pipeline.id: ["main"]
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.management.elasticsearch.username: "logstash_system"
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.management.elasticsearch.url: ["https://localhost:9200"]
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.management.elasticsearch.hosts: ["https://localhost:9200"]
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.management.elasticsearch.ssl.verification_mode: "certificate"
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.management.elasticsearch.sniffing: false
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.enabled: false
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.elasticsearch.hosts: ["http://localhost:9200"]
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.elasticsearch.url: ["http://localhost:9200"]
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.collection.interval: 10000000000
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.collection.timeout_interval: 600000000000
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.elasticsearch.username: "logstash_system"
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.elasticsearch.ssl.verification_mode: "certificate"
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.elasticsearch.sniffing: false
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.collection.pipeline.details.enabled: true
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - xpack.monitoring.collection.config.enabled: true
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - node.uuid: ""
[DEBUG] 2021-12-24 12:51:59.813 [LogStash::Runner] runner - --------------- Logstash Settings -------------------
[WARN ] 2021-12-24 12:51:59.851 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO ] 2021-12-24 12:51:59.859 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=>"6.8.22"}
[DEBUG] 2021-12-24 12:51:59.894 [LogStash::Runner] agent - Setting global FieldReference parsing mode: COMPAT
[DEBUG] 2021-12-24 12:51:59.915 [LogStash::Runner] agent - Setting up metric collection
[DEBUG] 2021-12-24 12:51:59.980 [LogStash::Runner] os - Starting {:polling_interval=>5, :polling_timeout=>120}
[DEBUG] 2021-12-24 12:52:00.218 [LogStash::Runner] jvm - Starting {:polling_interval=>5, :polling_timeout=>120}
[DEBUG] 2021-12-24 12:52:00.301 [LogStash::Runner] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2021-12-24 12:52:00.306 [LogStash::Runner] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2021-12-24 12:52:00.324 [LogStash::Runner] persistentqueue - Starting {:polling_interval=>5, :polling_timeout=>120}
[DEBUG] 2021-12-24 12:52:00.334 [LogStash::Runner] deadletterqueue - Starting {:polling_interval=>5, :polling_timeout=>120}
[TRACE] 2021-12-24 12:52:00.358 [LogStash::Runner] pipelineregisterhook - xpack.monitoring.enabled has not been defined, defaulting to default value: false
[DEBUG] 2021-12-24 12:52:00.394 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - Starting agent
[DEBUG] 2021-12-24 12:52:00.459 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] configpathloader - Skipping the following files while reading config since they don't match the specified glob pattern {:files=>["/etc/logstash/pipelines.d/tap/tap.conf"]}
[DEBUG] 2021-12-24 12:52:00.461 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] configpathloader - Reading config file {:config_file=>"/etc/logstash/pipelines.d/tap/memcached_test.conf"}
[DEBUG] 2021-12-24 12:52:00.503 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - Converging pipelines state {:actions_count=>1}
[DEBUG] 2021-12-24 12:52:00.512 [Converge PipelineAction::Create<main>] agent - Executing action {:action=>LogStash::PipelineAction::Create/pipeline_id:main}
[DEBUG] 2021-12-24 12:52:05.376 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2021-12-24 12:52:05.378 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2021-12-24 12:52:05.433 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"stdin", :type=>"input", :class=>LogStash::Inputs::Stdin}
[DEBUG] 2021-12-24 12:52:05.617 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"line", :type=>"codec", :class=>LogStash::Codecs::Line}
[DEBUG] 2021-12-24 12:52:05.638 [Converge PipelineAction::Create<main>] line - config LogStash::Codecs::Line/@id = "line_e24f3cc2-5e1d-4d1d-90af-d43dca3d17df"
[DEBUG] 2021-12-24 12:52:05.639 [Converge PipelineAction::Create<main>] line - config LogStash::Codecs::Line/@enable_metric = true
[DEBUG] 2021-12-24 12:52:05.639 [Converge PipelineAction::Create<main>] line - config LogStash::Codecs::Line/@charset = "UTF-8"
[DEBUG] 2021-12-24 12:52:05.639 [Converge PipelineAction::Create<main>] line - config LogStash::Codecs::Line/@delimiter = "\n"
[DEBUG] 2021-12-24 12:52:05.651 [Converge PipelineAction::Create<main>] stdin - config LogStash::Inputs::Stdin/@id = "696de6294f4340b6d2bed0007f6e7794da5d65d639ff458942aa2a6047f1f279"
[DEBUG] 2021-12-24 12:52:05.651 [Converge PipelineAction::Create<main>] stdin - config LogStash::Inputs::Stdin/@enable_metric = true
[DEBUG] 2021-12-24 12:52:05.657 [Converge PipelineAction::Create<main>] stdin - config LogStash::Inputs::Stdin/@codec = <LogStash::Codecs::Line id=>"line_e24f3cc2-5e1d-4d1d-90af-d43dca3d17df", enable_metric=>true, charset=>"UTF-8", delimiter=>"\n">
[DEBUG] 2021-12-24 12:52:05.658 [Converge PipelineAction::Create<main>] stdin - config LogStash::Inputs::Stdin/@add_field = {}
[DEBUG] 2021-12-24 12:52:05.673 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"memcached", :type=>"filter", :class=>LogStash::Filters::Memcached}
[INFO ] 2021-12-24 12:52:05.696 [Converge PipelineAction::Create<main>] memcached - Using version 0.1.x filter plugin 'memcached'. This plugin isn't well supported by the community and likely has no maintainer.
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@set = {"set_value"=>"value2"}
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@add_tag = ["value_set"]
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@id = "4514e4193ad709def0f0561b7944871f23cb0b3b8ad19e9130cd537af2432f36"
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@enable_metric = true
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@remove_tag = []
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@add_field = {}
[DEBUG] 2021-12-24 12:52:05.701 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@remove_field = []
[DEBUG] 2021-12-24 12:52:05.702 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@periodic_flush = false
[DEBUG] 2021-12-24 12:52:05.702 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@hosts = ["localhost"]
[DEBUG] 2021-12-24 12:52:05.702 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@ttl = 0
[DEBUG] 2021-12-24 12:52:05.714 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@get = {"value1"=>"get_value"}
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@add_tag = ["value_get"]
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@id = "75796fcccac2e1e375ab698544e6b7b93acc3402d32b9b491e2e37b1992d265f"
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@enable_metric = true
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@remove_tag = []
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@add_field = {}
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@remove_field = []
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@periodic_flush = false
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@hosts = ["localhost"]
[DEBUG] 2021-12-24 12:52:05.715 [Converge PipelineAction::Create<main>] memcached - config LogStash::Filters::Memcached/@ttl = 0
[DEBUG] 2021-12-24 12:52:05.718 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"stdout", :type=>"output", :class=>LogStash::Outputs::Stdout}
[DEBUG] 2021-12-24 12:52:05.729 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"rubydebug", :type=>"codec", :class=>LogStash::Codecs::RubyDebug}
[DEBUG] 2021-12-24 12:52:05.734 [Converge PipelineAction::Create<main>] rubydebug - config LogStash::Codecs::RubyDebug/@id = "rubydebug_99ad33f8-9bb9-49e7-a356-0868315df83f"
[DEBUG] 2021-12-24 12:52:05.734 [Converge PipelineAction::Create<main>] rubydebug - config LogStash::Codecs::RubyDebug/@enable_metric = true
[DEBUG] 2021-12-24 12:52:05.734 [Converge PipelineAction::Create<main>] rubydebug - config LogStash::Codecs::RubyDebug/@metadata = false
[DEBUG] 2021-12-24 12:52:06.600 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@codec = <LogStash::Codecs::RubyDebug id=>"rubydebug_99ad33f8-9bb9-49e7-a356-0868315df83f", enable_metric=>true, metadata=>false>
[DEBUG] 2021-12-24 12:52:06.600 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@id = "dc57132fd60437664d655c7a3eae7a1ea0a171c4f6c319ee04dc1103a69d933e"
[DEBUG] 2021-12-24 12:52:06.601 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@enable_metric = true
[DEBUG] 2021-12-24 12:52:06.601 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@workers = 1
[INFO ] 2021-12-24 12:52:06.643 [Converge PipelineAction::Create<main>] pipeline - Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>4, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50}
[DEBUG] 2021-12-24 12:52:06.764 [[main]-pipeline-manager] memcached - connecting to memcached {:hosts=>["localhost"], :options=>{:ttl=>0}}
[DEBUG] 2021-12-24 12:52:06.898 [[main]-pipeline-manager] memcached - connecting to memcached {:hosts=>["localhost"], :options=>{:ttl=>0}}
[INFO ] 2021-12-24 12:52:06.970 [Converge PipelineAction::Create<main>] pipeline - Pipeline started successfully {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 run>"}
The stdin plugin is now waiting for input:
[TRACE] 2021-12-24 12:52:07.001 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - Converge results {:success=>true, :failed_actions=>[], :successful_actions=>["id: main, action_type: LogStash::PipelineAction::Create"]}
[INFO ] 2021-12-24 12:52:07.026 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[DEBUG] 2021-12-24 12:52:07.054 [Api Webserver] agent - Starting puma
[DEBUG] 2021-12-24 12:52:07.062 [Api Webserver] agent - Trying to start WebServer {:port=>9600}
[DEBUG] 2021-12-24 12:52:07.099 [Api Webserver] service - [api-service] start
[INFO ] 2021-12-24 12:52:07.220 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
[DEBUG] 2021-12-24 12:52:10.415 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2021-12-24 12:52:10.417 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2021-12-24 12:52:12.002 [Ruby-0-Thread-9: :1] pipeline - Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 sleep>"}
**test**
[DEBUG] 2021-12-24 12:52:15.425 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2021-12-24 12:52:15.425 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}

[DEBUG] 2021-12-24 12:52:15.696 [[main]>worker1] pipeline - filter received {"event"=>{"@version"=>"1", "@timestamp"=>2021-12-24T11:52:15.577Z, "message"=>"test", "host"=>"ukhqsv51264.bridgestone.eu"}}
[TRACE] 2021-12-24 12:52:15.814 [[main]>worker1] memcached - cache:get hit {:key=>"value1", :value=>"hello!!"}
[DEBUG] 2021-12-24 12:52:15.824 [[main]>worker1] decorators - filters/LogStash::Filters::Memcached: adding tag {"tag"=>"value_get"}
[DEBUG] 2021-12-24 12:52:15.832 [[main]>worker1] pipeline - output received {"event"=>{"tags"=>["value_get"], "@timestamp"=>2021-12-24T11:52:15.577Z, "host"=>"ukhqsv51264.bridgestone.eu", "get_value"=>"hello!!", "@version"=>"1", "message"=>"test"}}
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
{
          "tags" => [
        [0] "value_get"
    ],
    "@timestamp" => 2021-12-24T11:52:15.577Z,
          "host" => "ukhqsv51264.bridgestone.eu",
     "get_value" => "hello!!",
      "@version" => "1",
       "message" => "test"
}
[DEBUG] 2021-12-24 12:52:17.005 [Ruby-0-Thread-9: :1] pipeline - Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 sleep>"}
[DEBUG] 2021-12-24 12:52:20.444 [pool-4-thread-1] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2021-12-24 12:52:20.445 [pool-4-thread-1] jvm - collector name {:name=>"ConcurrentMarkSweep"}
[DEBUG] 2021-12-24 12:52:22.006 [Ruby-0-Thread-9: :1] pipeline - Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 sleep>"}
**^C**
[WARN ] 2021-12-24 12:52:22.362 [SIGINT handler] runner - SIGINT received. Shutting down.
[DEBUG] 2021-12-24 12:52:22.378 [LogStash::Runner] os - Stopping
[DEBUG] 2021-12-24 12:52:22.385 [LogStash::Runner] jvm - Stopping
[DEBUG] 2021-12-24 12:52:22.386 [LogStash::Runner] persistentqueue - Stopping
[DEBUG] 2021-12-24 12:52:22.386 [LogStash::Runner] deadletterqueue - Stopping
[DEBUG] 2021-12-24 12:52:22.424 [LogStash::Runner] agent - Shutting down all pipelines {:pipelines_count=>1}
[DEBUG] 2021-12-24 12:52:22.428 [LogStash::Runner] agent - Converging pipelines state {:actions_count=>1}
[DEBUG] 2021-12-24 12:52:22.433 [Converge PipelineAction::Stop<main>] agent - Executing action {:action=>LogStash::PipelineAction::Stop/pipeline_id:main}
[DEBUG] 2021-12-24 12:52:22.447 [Converge PipelineAction::Stop<main>] pipeline - Stopping inputs {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 sleep>"}
[DEBUG] 2021-12-24 12:52:22.449 [Converge PipelineAction::Stop<main>] stdin - Stopping {:plugin=>"LogStash::Inputs::Stdin"}
[DEBUG] 2021-12-24 12:52:22.486 [[main]<stdin] stdin - Stopping {:plugin=>"LogStash::Inputs::Stdin"}
[DEBUG] 2021-12-24 12:52:22.487 [Converge PipelineAction::Stop<main>] pipeline - Stopped inputs {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 sleep>"}
[DEBUG] 2021-12-24 12:52:22.500 [[main]<stdin] stdin - Closing {:plugin=>"LogStash::Inputs::Stdin"}
[DEBUG] 2021-12-24 12:52:22.509 [Ruby-0-Thread-9: :1] pipeline - Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 sleep>"}
[DEBUG] 2021-12-24 12:52:22.515 [[main]-pipeline-manager] pipeline - Shutting down filter/output workers {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 run>"}
[DEBUG] 2021-12-24 12:52:22.518 [[main]-pipeline-manager] pipeline - Setting shutdown {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 run>"}
[DEBUG] 2021-12-24 12:52:22.520 [[main]-pipeline-manager] pipeline - Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x1131c8c7 run>"}
[DEBUG] 2021-12-24 12:52:22.541 [Converge PipelineAction::Stop<main>] pipeline - Worker terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x1131c8c7 dead>"}
[DEBUG] 2021-12-24 12:52:22.542 [Converge PipelineAction::Stop<main>] pipeline - Worker terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x6b55accb dead>"}
[DEBUG] 2021-12-24 12:52:22.542 [[main]-pipeline-manager] pipeline - Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x6b55accb run>"}
[DEBUG] 2021-12-24 12:52:22.542 [Converge PipelineAction::Stop<main>] pipeline - Worker terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x2d4fb7e4 dead>"}
[DEBUG] 2021-12-24 12:52:22.542 [[main]-pipeline-manager] pipeline - Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x2d4fb7e4 dead>"}
[DEBUG] 2021-12-24 12:52:22.542 [Converge PipelineAction::Stop<main>] pipeline - Worker terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x5609520 dead>"}
[DEBUG] 2021-12-24 12:52:22.542 [[main]-pipeline-manager] pipeline - Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x5609520 dead>"}
[DEBUG] 2021-12-24 12:52:22.547 [[main]-pipeline-manager] memcached - Closing {:plugin=>"LogStash::Filters::Memcached"}
[DEBUG] 2021-12-24 12:52:22.562 [[main]-pipeline-manager] memcached - Closing {:plugin=>"LogStash::Filters::Memcached"}
[DEBUG] 2021-12-24 12:52:22.570 [[main]-pipeline-manager] stdout - Closing {:plugin=>"LogStash::Outputs::Stdout"}
[INFO ] 2021-12-24 12:52:22.572 [[main]-pipeline-manager] pipeline - Pipeline has terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x1caf3786 run>"}
[TRACE] 2021-12-24 12:52:22.584 [LogStash::Runner] agent - Converge results {:success=>true, :failed_actions=>[], :successful_actions=>["id: main, action_type: LogStash::PipelineAction::Stop"]}
[INFO ] 2021-12-24 12:52:22.585 [LogStash::Runner] runner - Logstash shut down.

It sounds like you expect that to set the memcached key value2 to the value "set_value". That is not how it works. The filter sets the memcached key value2 to the contents of the field [set_value]. If the [set_value] field does not exist then it does nothing.

Thanks, that did the trick. I guess I wasn't reading the manual correctly.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.