# Updating logstahs 7.9 to 7.16.2

**URL:** https://discuss.elastic.co/t/updating-logstahs-7-9-to-7-16-2/298299
**Category:** Logstash
**Created:** [February 25, 2022, 3:50pm UTC](https://discuss.elastic.co/t/updating-logstahs-7-9-to-7-16-2/298299 "2022-02-25T15:50:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Faisal\_Malik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faisal_malik/32/83865_2.png) [@Faisal\_Malik](https://discuss.elastic.co/u/Faisal_Malik)
#### Post date: [February 25, 2022, 3:50pm UTC](https://discuss.elastic.co/t/updating-logstahs-7-9-to-7-16-2/298299/1 "2022-02-25T15:50:20Z")

</div>

updating logstash from 7.9.0 to 7.16.2 using helm chat. but getting error. :39:59,607][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of [^\r\n], "\r", "\n" at line 41, column 3 (byte 1516) after #}", :backtrace=\>["/usr/share/logstash/logstash-core/lib/logstash/compiler.rb:32:in `compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:187:in `initialize'", "org/logstash/execution/JavaBasePipelineExt.java:72:in `initialize'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:47:in `initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline\_action/create.rb:52:in `execute'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:383:in `block in converge\_state'"]}  
[2022-02-25T15:39:59,731][INFO][logstash.runner] Logstash shut down.  
[2022-02-25T15:39:59,793][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit  
org.jruby.exceptions.SystemExit: (SystemExit) exit  
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.20.1.jar:?]  
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]  
at usr.share.logstash.lib.bootstrap.environment.(/usr/share/logstash/lib/bootstrap/environment.rb:94) ~[?:?]

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [February 25, 2022, 5:06pm UTC](https://discuss.elastic.co/t/updating-logstahs-7-9-to-7-16-2/298299/2 "2022-02-25T17:06:05Z")

</div>

> [@Faisal\_Malik](#):
>
> Expected one of [^\r\n], "\r", "\n" at line 41, column 3 (byte 1516) after #}",

You have an error in .conf file. Validate your configuration:  
`/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/sample.conf --path.settings /etc/logstash/ -t`

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 25, 2022, 5:06pm UTC](https://discuss.elastic.co/t/updating-logstahs-7-9-to-7-16-2/298299/3 "2022-03-25T17:06:55Z")

</div>

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