Logstash problem

13 views
Skip to first unread message

Vasiliy

unread,
Feb 4, 2020, 9:50:40 AM2/4/20
to Thorntail
Hello!

Could you please help me?  I use <version.wildfly.swarm>2018.5.0</version.wildfly.swarm>
and 
                <dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>logstash</artifactId>
</dependency>

In my project-defaults.yml of JAX-RS application in uberJar I set:

 swarm:
  logstash:
    hostname: 172.25.199.175
    port: 5000
    level: INFO
    formatter-properties:
      index: app-shark

Connection with Logstash establish successfully. But sent JSON do not contain field "index" witch i need. What I doing wrong?

Thanks!
Reply all
Reply to author
Forward
0 new messages