Hi,
i have one issue, problem, question, indeed i have on the same host 3 differents JVM, before with logstash-Forwarder i can add a name on each log i send to logstash indexer...
now in filebeat this is the configuration example
filebeat:
List of prospectors to fetch data.
prospectors:
# Each - is a prospector. Below are the prospector specific configurations
-
# Paths that should be crawled and fetched. Glob based paths.
# To fetch all ".log" files from a specific level of subdirectories
# /var/log//.log can be used.
# For each file found under this path, a harvester is started.
# Make sure not file is defined twice as this can lead to unexpected behaviour.
paths:
- C:/dev/servers/wildfly-9.0.2.Final/domain/servers/server-one/log/server.log
- C:/dev/servers/wildfly-9.0.2.Final/domain/servers/server-two/log/server.log
- C:/dev/servers/wildfly-9.0.2.Final/domain/servers/server-three/log/server.log
how i can add a name to each line ? like server-one or server two or server 3, because the problem once i am in KIBANA how i detect if my error is in server one or 2 or 3 , i repeat i am in same host.... but not same JVM, directory are differents...
thank you !