ansible/awx

Dynatrace external logging

Open

#14,319 建立於 2023年8月4日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (3,333 fork)batch import
communityhelp wantedneeds_triagetype:enhancement

倉庫指標

Star
 (13,071 star)
PR 合併指標
 (平均合併 24天 6小時) (30 天內合併 30 個 PR)

描述

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

New Feature

Feature Summary

Next to logstash, splunk and others, it would be nice to add Dynatrace to the list of supported logging aggregators.

The configuration is very similar to Splunk. The HTTP header value changes from Splunk to Api-Token .

This is a working config file:

[root@aap ~]# cat /var/lib/awx/rsyslog/rsyslog.conf
$WorkDirectory /var/lib/awx/rsyslog
$MaxMessageSize 700000
$IncludeConfig /var/lib/awx/rsyslog/conf.d/*.conf
main_queue(queue.spoolDirectory="/var/lib/awx" queue.maxdiskspace="1g" queue.type="Disk" queue.filename="awx-external-logger-backlog")
module(load="imuxsock" SysSock.Use="off")
input(type="imuxsock" Socket="/var/run/awx-rsyslog/rsyslog.sock" unlink="on" RateLimit.Burst="0")
template(name="awx" type="string" string="%rawmsg-after-pri%")
module(load="omhttp")
action(type="omhttp" server="fdgXXXXX.live.dynatrace.com" serverport="443" usehttps="on" allowunsignedcerts="off" skipverifyhost="off" action.resumeRetryCount="-1" template="awx" action.resumeInterval="6" errorfile="/var/log/tower/rsyslog.err" restpath="api/v2/logs/ingest" httpheaderkey="Authorization" httpheadervalue="Api-Token dt0c01.ABCDEFGH")

image

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Steps to reproduce

N/A

Current results

N/A

Sugested feature result

N/A

Additional information

No response

貢獻者指南