<?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>topic Static list of environment as a variable for segment in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Static-list-of-environment-as-a-variable-for-segment/m-p/291051#M3384</link>
    <description>&lt;P&gt;Can I have static list of environment as a variable for segment?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 11:28:08 GMT</pubDate>
    <dc:creator>susmita_k</dc:creator>
    <dc:date>2025-12-17T11:28:08Z</dc:date>
    <item>
      <title>Static list of environment as a variable for segment</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Static-list-of-environment-as-a-variable-for-segment/m-p/291051#M3384</link>
      <description>&lt;P&gt;Can I have static list of environment as a variable for segment?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 11:28:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Static-list-of-environment-as-a-variable-for-segment/m-p/291051#M3384</guid>
      <dc:creator>susmita_k</dc:creator>
      <dc:date>2025-12-17T11:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can I have static list of environment as a variable for segment</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Static-list-of-environment-as-a-variable-for-segment/m-p/291184#M3385</link>
      <description>&lt;P&gt;Hi Susmita&lt;/P&gt;&lt;P&gt;Yes, you can have a static list of environments as a variable for a segment in Dynatrace.&lt;/P&gt;&lt;P&gt;Dynatrace segments support variables whose values can be configured statically or dynamically. The static approach is ideal when your environment names (e.g., Production, Staging, Dev) are stable and do not need to be discovered from your data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You define the static list of values directly using the Dynatrace Query Language (DQL) &lt;STRONG&gt;data&lt;/STRONG&gt; command within the variable configuration.&lt;BR /&gt;The following DQL query defines a variable (let's call it $env_name) with a static list of three environments:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data
record(env_name="Production"), 
record(env_name="Staging"), 
record(env_name="Development")&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;You can also check the official documentation&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/segments-concepts-variables#variable-configuration" target="_self"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Anderson&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 01:49:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Static-list-of-environment-as-a-variable-for-segment/m-p/291184#M3385</guid>
      <dc:creator>Anderson-Luna</dc:creator>
      <dc:date>2025-12-10T01:49:22Z</dc:date>
    </item>
  </channel>
</rss>

