jfrog / log-analytics-datadog

JFrog Datadog Log Analytics Integration
Apache License 2.0
7 stars 4 forks source link

datadog eu region #31

Open aka-achea opened 1 year ago

aka-achea commented 1 year ago

it appears this config doesn't support datadog eu region when using helm yaml i need some place to set host 'http-intake.logs.datadoghq.eu'

aka-achea commented 1 year ago

anyone looking at the issue?

MahithaB commented 1 year ago

@aka-achea since the host is not specified in the fluentd config, data is routed to the default destination However, you can set the host parameter in match directive of the fluentd config to EU destination. Example:

<match jfrog.**>

...

host 'http-intake.logs.datadoghq.eu'

reference: https://docs.datadoghq.com/integrations/fluentd/?tab=host

lmeyemezu commented 8 months ago

Hi @MahithaB , I have set

curl https://raw.githubusercontent.com/jfrog/log-analytics-datadog/master/fluent.conf.rt -o {{ .Values.artifactory.persistence.mountPath }}/etc/fluentd/fluentd.conf;
          sed -i 's/datadoghq.com/datadoghq.eu/g' /var/opt/jfrog/artifactory/etc/fluentd/fluentd.conf;

in helm chart so it gives me <match jfrog.**> @type datadog @id jfrog_artifactory api_key "#{ENV['DATADOG_API_KEY']}"

optional

include_tag_key true
dd_source jfrog_platform
service jfrog_artifactory
host http-intake.logs.datadoghq.eu
<buffer>
  flush_interval 1s
  # frequency of the buffer flush
  flush_thread_count 5
  # The number of threads to flush/write chunks in parallel
  chunk_limit_records 10
  # The max number of events that each chunks can store in it
</buffer>

but no datadog still receives no data. Any idea ?