# Logstash not started after change path.logs

**URL:** https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616
**Category:** Logstash
**Created:** [March 18, 2024, 2:35pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616 "2024-03-18T14:35:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Exdar](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Exdar](https://discuss.elastic.co/u/Exdar)
#### Post date: [March 18, 2024, 2:35pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616/1 "2024-03-18T14:35:20Z")

</div>

Hi all!  
I am newbie in ES\logstash and etc.  
I installed ELK on Windows Server 2022 and if I not change logstash.yml - logstash starting and I got "Starting server on port..."  
But if I change section path

```auto
log.level: warn
path.logs: c:/Logging/logstash/

```

Logstash freezes on  
`[WARN][logstash.filters.grok][main] ECS v8 support is a preview of the unreleased ECS v8, and uses the v1 patterns. When Version 8 of the Elastic Common Schema becomes available`

and nothing else happens.  
I run it in cmd console as administrator  
Thanks in advance!

---

<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: [March 18, 2024, 3:02pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616/2 "2024-03-18T15:02:41Z")

</div>

Welcome to the community!

I don't problem is related to ECS. You can use regular backslashes in logstash.yml.

`path.logs: c:\Logging\logstash\`

Can you provide more details from the log?

---

<div class="post-metadata">

### Author: ![Exdar](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Exdar](https://discuss.elastic.co/u/Exdar)
#### Post date: [March 18, 2024, 3:29pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616/3 "2024-03-18T15:29:29Z")

</div>

Thanks for reply  
Logstash log

```auto
[2024-03-18T18:27:04,149][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2024-03-18T18:27:05,868][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=>"http://elastic:xxxxxx@localhost:9200/"}
[2024-03-18T18:27:05,870][WARN][logstash.outputs.elasticsearch][main] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=>8}
[2024-03-18T18:27:05,877][WARN][logstash.filters.grok][main] ECS v8 support is a preview of the unreleased ECS v8, and uses the v1 patterns. When Version 8 of the Elastic Common Schema becomes available, this plugin will need to be updated

```

In console output:

```auto
"Using bundled JDK: C:\LogSolution\logstash\jdk\bin\java.exe"
C:/LogSolution/logstash/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_int
C:/LogSolution/logstash/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_f
Sending Logstash logs to c:\Logging\logstash which is now configured via log4j2.properties
[2024-03-18T18:27:04,149][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
C:/LogSolution/logstash/vendor/bundle/jruby/3.1.0/gems/amazing_print-1.5.0/lib/amazing_print/formatter.rb:37: warning: previous definition of cast was here
[2024-03-18T18:27:05,868][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=>"http://elastic:xxxxxx@localhost:9200/"}
[2024-03-18T18:27:05,870][WARN][logstash.outputs.elasticsearch][main] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=>8}
[2024-03-18T18:27:05,877][WARN][logstash.filters.grok][main] ECS v8 support is a preview of the unreleased ECS v8, and uses the v1 patterns. When Version 8 of the Elastic Common Schema becomes available, this plugin will need to be updated

```

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [March 18, 2024, 3:35pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616/4 "2024-03-18T15:35:15Z")

</div>

> [@Exdar](#):
>
> `log.level: warn`

You have set to `WARN` so you will not see `INFO` events if you want to see `INFO` events then set to info or take out that setting ...

_The starting on port_ etc... is `INFO`

---

<div class="post-metadata">

### Author: ![Exdar](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Exdar](https://discuss.elastic.co/u/Exdar)
#### Post date: [March 18, 2024, 3:43pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616/5 "2024-03-18T15:43:49Z")

</div>

Oops...  
Sorry, I've been inattentive.  
Thank you!

---

<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: [April 15, 2024, 3:44pm UTC](https://discuss.elastic.co/t/logstash-not-started-after-change-path-logs/355616/6 "2024-04-15T15:44:35Z")

</div>

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