Hi All,
i have configured filebeat on my centos machine and it is working fine and now i am trying to use file appender for filebeat using groovy script but it is not creating file. any help will be appericate.
below is the code which i am using in my script for file appender:
static String FILEBEAT_APPENDER_XML = """
service.log/logstash.json
message
%msg%n%ex{25}
logger
%logger{50}
environment
${OPERATIONAL_ENVIRONMENT}
false
host
${HOSTNAME}
thread
%thread
false
@service.log@/logstash.json.%d{yyyy-MM-dd}.%i
1
true
100MB
"""