<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Multi-Language Log Ingest for Dynatrace via FluentD in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Multi-Language-Log-Ingest-for-Dynatrace-via-FluentD/ta-p/268157</link>
    <description>&lt;H1&gt;Use Case&lt;/H1&gt;&lt;P&gt;We need to ingest multi-language logs into Dynatrace via FluentD Integration as the OneAgent native log ingest is not supported due to one of the reasons listed on this table: &lt;A href="https://docs.dynatrace.com/docs/shortlink/oneagent-support-matrix#other-modules" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/oneagent-support-matrix#other-modules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsnurka_0-1737563317250.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25913iFA87CC728516C9CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsnurka_0-1737563317250.png" alt="bsnurka_0-1737563317250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Issue/Symptoms&lt;/H1&gt;&lt;P&gt;When setting up FluentD with Dynatrace to ship container logs, one may notice that multi-language logs, such as logs including both English and Chinese, will not properly ingest into Dynatrace. This results in the non-English text displaying as �/UTF Character U+FFFD within the Dynatrace UI. A deeper review of the environment will show that the logs coming into Dynatrace from FluentD already have the non-English text swapped out for �, meaning the text is being altered within FluentD and not at the Dynatrace Ingest.&lt;/P&gt;&lt;H1&gt;Solution&lt;/H1&gt;&lt;P&gt;This can be caused by how FluentD’s Tail plugin (&lt;A href="https://docs.fluentd.org/input/tail#encoding-from_encoding" target="_blank"&gt;https://docs.fluentd.org/input/tail#encoding-from_encoding&lt;/A&gt;) works with encoding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If we only have the `&lt;FONT face="courier new,courier"&gt;encoding&lt;/FONT&gt;` parameter defined, FluentD is likely attempting to ship the logs in the default ASCII-7 format to the UTF-8 endpoint within Dynatrace. This leads to the unknown language characters being swapped for �.&lt;/P&gt;&lt;P&gt;Adding the `&lt;FONT face="courier new,courier"&gt;from_encoding utf8&lt;/FONT&gt;` parameter to the FluentD.conf file will correspondingly force FluentD to ensure the native logs are left in their UTF8 format, and do not ever get encoded into ASCII-7. This change will resolve the multi-language log ingest issue, assuming the non-English Language in question is included in the UTF-8 encoding set (&lt;A href="https://www.w3schools.com/charsets/ref_html_utf8.asp" target="_blank"&gt;https://www.w3schools.com/charsets/ref_html_utf8.asp&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 17:51:02 GMT</pubDate>
    <dc:creator>bsnurka</dc:creator>
    <dc:date>2025-01-22T17:51:02Z</dc:date>
    <item>
      <title>Multi-Language Log Ingest for Dynatrace via FluentD</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Multi-Language-Log-Ingest-for-Dynatrace-via-FluentD/ta-p/268157</link>
      <description>&lt;H1&gt;Use Case&lt;/H1&gt;&lt;P&gt;We need to ingest multi-language logs into Dynatrace via FluentD Integration as the OneAgent native log ingest is not supported due to one of the reasons listed on this table: &lt;A href="https://docs.dynatrace.com/docs/shortlink/oneagent-support-matrix#other-modules" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/oneagent-support-matrix#other-modules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsnurka_0-1737563317250.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25913iFA87CC728516C9CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsnurka_0-1737563317250.png" alt="bsnurka_0-1737563317250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Issue/Symptoms&lt;/H1&gt;&lt;P&gt;When setting up FluentD with Dynatrace to ship container logs, one may notice that multi-language logs, such as logs including both English and Chinese, will not properly ingest into Dynatrace. This results in the non-English text displaying as �/UTF Character U+FFFD within the Dynatrace UI. A deeper review of the environment will show that the logs coming into Dynatrace from FluentD already have the non-English text swapped out for �, meaning the text is being altered within FluentD and not at the Dynatrace Ingest.&lt;/P&gt;&lt;H1&gt;Solution&lt;/H1&gt;&lt;P&gt;This can be caused by how FluentD’s Tail plugin (&lt;A href="https://docs.fluentd.org/input/tail#encoding-from_encoding" target="_blank"&gt;https://docs.fluentd.org/input/tail#encoding-from_encoding&lt;/A&gt;) works with encoding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If we only have the `&lt;FONT face="courier new,courier"&gt;encoding&lt;/FONT&gt;` parameter defined, FluentD is likely attempting to ship the logs in the default ASCII-7 format to the UTF-8 endpoint within Dynatrace. This leads to the unknown language characters being swapped for �.&lt;/P&gt;&lt;P&gt;Adding the `&lt;FONT face="courier new,courier"&gt;from_encoding utf8&lt;/FONT&gt;` parameter to the FluentD.conf file will correspondingly force FluentD to ensure the native logs are left in their UTF8 format, and do not ever get encoded into ASCII-7. This change will resolve the multi-language log ingest issue, assuming the non-English Language in question is included in the UTF-8 encoding set (&lt;A href="https://www.w3schools.com/charsets/ref_html_utf8.asp" target="_blank"&gt;https://www.w3schools.com/charsets/ref_html_utf8.asp&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 17:51:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Multi-Language-Log-Ingest-for-Dynatrace-via-FluentD/ta-p/268157</guid>
      <dc:creator>bsnurka</dc:creator>
      <dc:date>2025-01-22T17:51:02Z</dc:date>
    </item>
  </channel>
</rss>

