we are looking for fluentD configuration which pushes Atlassian all logs to ELK Stack. we are using the below configuration, however, we are noticing some portion of logs is getting truncated. not sure what's wrong.
Is there anyone who is using FluentD as a log shipping agent for Atlassian Logs? Could you Please share the Format Expression, please?
########## td-agent.conf ##############
<source>
@type tail
@label @[deleted]_all_logs
path /data/jira-home/log/atlassian-jira.log
pos_file /data/jira-home/log/jira-log.pos
tag env.test-jira
<parse>
@type multiline
format_firstline /\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{1,2}:\d{1,2},\d{3}-\d{4}/
format1 /^(?<time>\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{1,2}:\d{1,2},\d{3}-\d{4})\s+(?<thread>.*)\s(?<level>(WARN|DEBUG|INFO|ERROR|FATAL))\s+(.*)?\s*\[(?<class>[^\s]*)\]\s+(?<message>.*)/
</parse>
</source>
<label @[deleted]_all_logs>
<match **>
@type forward
transport tls
tls_verify_hostname true
heartbeat_type tcp
heartbeat_interval 5
<server>
host XXXXXXX
port 24224
</server>
</match>
</label>
###############################################
The below log trace is getting truncated or not being pushed to ELK. no errors reported in td-agent.log. but some other similar entries are being pushed.
2020-11-23 09:45:41,017-0800 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger]
___ User Directories (Ordered) ______________
DELEGATING : JIRA Delegated Authentication Directory
Implementing Class : com.atlassian.crowd.directory.DelegatedAuthenticationDirectory
Allowed Operations : CREATE_GROUP,
CREATE_ROLE,
CREATE_USER,
DELETE_GROUP,
DELETE_ROLE,
DELETE_USER,
UPDATE_GROUP,
UPDATE_GROUP_ATTRIBUTE,
UPDATE_ROLE,
UPDATE_ROLE_ATTRIBUTE,
UPDATE_USER,
UPDATE_USER_ATTRIBUTE
Encryption Type :
Active : true
Attributes :
autoAddGroups : service-desk-customers
crowd.delegated.directory.auto.create.user : true
crowd.delegated.directory.auto.update.user : false
crowd.delegated.directory.importGroups : false
---
----
Recommended Learning For You
Level up your skills with Atlassian learning
Atlassian DevOps essentials
Learn how to build, automate, and improve DevOps processes used for the development and delivery of software and other digital products.
Tracking and improving DevOps metrics
Make informed decisions about current and future projects and deadlines to maximize your team's productivity and keep morale high.
Exploring Atlassian Cloud products for agile and DevOps
Coordinate a suite of Atlassian Cloud products for greater collaboration and trust, higher-quality solutions, faster releases, and more.