ansible/awx

Dynatrace external logging

Open

#14,319 opened on Aug 4, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (3,333 forks)batch import
communityhelp wantedneeds_triagetype:enhancement

Repository metrics

Stars
 (13,071 stars)
PR merge metrics
 (Avg merge 24d 6h) (30 merged PRs in 30d)

Description

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

Contributor guide