# The given configuration is invalid error

**URL:** https://discuss.elastic.co/t/the-given-configuration-is-invalid-error/159160
**Category:** Logstash
**Created:** [December 3, 2018, 12:01pm UTC](https://discuss.elastic.co/t/the-given-configuration-is-invalid-error/159160 "2018-12-03T12:01:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ruthvik\_Sai](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Ruthvik\_Sai](https://discuss.elastic.co/u/Ruthvik_Sai)
#### Post date: [December 3, 2018, 12:01pm UTC](https://discuss.elastic.co/t/the-given-configuration-is-invalid-error/159160/1 "2018-12-03T12:01:36Z")

</div>

Hi,

The error I am getting is as follows:

Sending Logstash logs to C:/logstash/logs which is now configured via log4j2.properties  
[2018-12-03T17:04:03,950][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-12-03T17:04:05,051][FATAL][logstash.runner] The given configuration is invalid. Reason: Expected one of #, {, ,, ] at line 10, column 13 (byte 173) after filter {  
mutate {  
gsub =\> [  
"event\_data.NewProcessName", ".OUTLOOK.\*", "outlook.exe"

[2018-12-03T17:04:05,076][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

My configuration file is:

input {  
beats {  
port =\> "5044"  
}  
}  
filter {  
mutate {  
gsub =\> ["event\_data.NewProcessName", ".OUTLOOK._", "outlook.exe"]  
#"event\_data.NewProcessName", ".WINWORD._", "word.exe"  
}  
}  
output{  
elasticsearch {  
hosts =\> ["localhost:9200"]  
}  
}

Can you please help me in resolving the error...

Thanks  
Regards

---

<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: [December 31, 2018, 12:01pm UTC](https://discuss.elastic.co/t/the-given-configuration-is-invalid-error/159160/2 "2018-12-31T12:01:45Z")

</div>

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