# Logstash 8.17.1 stuck on starting successfully

**URL:** <https://discuss.elastic.co/t/logstash-8-17-1-stuck-on-starting-successfully/374786>\
**Category:** Logstash\
**Created:** [February 19, 2025, 9:11pm UTC](https://discuss.elastic.co/t/logstash-8-17-1-stuck-on-starting-successfully/374786 "2025-02-19T21:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![latte123](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@latte123](https://discuss.elastic.co/u/latte123)\
**Post date:** [February 19, 2025, 9:11pm UTC](https://discuss.elastic.co/t/logstash-8-17-1-stuck-on-starting-successfully/374786/1 "2025-02-19T21:11:08Z")

</div>

I used config file with syslog for input/output from Openshift few times without changes successfully. It stopped working for unknown reason. Attached is output with traces on logstash restart; logstash.yml attached. Below is config file that used to be working.

Config file in conf.d directory:

Anything standout?  
Thanks.

`input {  
syslog {  
host =\> "DNSMASTERNODE1"  
port =\> "5051"  
}  
}  
filter {  
grok {  
match =\> ["message", "%{DATA:junk} %{DATA:kubetimestamp} %{DATA:kubehost} %{DATA:logger} %{DATA:junk1} %{DATA:junk2} %{DATA:junk3} %{GREEDYDATA:kubemessage}"]  
tag\_on\_failure =\> ["invalidLogFormat"]  
}

```
mutate {
	remove_field => ["message"]
}

json {
	source => "kubemessage"
}

mutate {
	add_field => { "mySource" => "Openshift" }
	remove_field => ["tags","junk","junk1","junk2","junk3"]
}

```

}

output {  
elasticsearch {  
hosts =\> ["[https://DNSDATANODE1:9200](https://DNSDATANODE1:9200)","[https://DNSDATANODE2:9200](https://DNSDATANODE2:9200)","[https://DNSDATANODE3:9200](https://DNSDATANODE3:9200)"]  
index =\> "myindex-%{+YYYY.MM.dd}"  
user =\> "elastic"  
password =\> "password"  
ssl\_certificate\_authorities =\> "/etc/logstash/ca.crt"  
}  
stdout { codec =\> rubydebug }  
}`

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 19, 2025, 9:48pm UTC](https://discuss.elastic.co/t/logstash-8-17-1-stuck-on-starting-successfully/374786/2 "2025-02-19T21:48:12Z")

</div>

What does the logstash log show?

You don't have to name fields and then delete them. Instead of

```
%{DATA:junk1} %{DATA:junk2} %{DATA:junk3}

```

you could use

```
%{DATA} %{DATA} %{DATA}

```

although I would suggest trying

```
%{NOTSPACE} %{NOTSPACE} %{NOTSPACE}

```

---

<div class="post-metadata">

**Author:** ![latte123](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@latte123](https://discuss.elastic.co/u/latte123)\
**Post date:** [February 19, 2025, 10:01pm UTC](https://discuss.elastic.co/t/logstash-8-17-1-stuck-on-starting-successfully/374786/3 "2025-02-19T22:01:58Z")

</div>

I actually see indices in my data directory. So the connector works. What changed is that I do not see any longer Kibana-\>index patternto map my index to the pattern to see the data in Kibana. Its strange. I thought this role comes by default in new installation. I need to add kibana\_admin?
