<?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 How to split log access in a shared cluster in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/How-to-split-log-access-in-a-shared-cluster/m-p/286910#M1459</link>
    <description>&lt;P&gt;We have migrated our logs recently to dynatrace, we have AKS shared clusters where with multiple teams with ingresses where we need to let them see their nginx logs (for their ingresses) but not all the ingresses logs from others teams. On nginx we were able to add additional headers&amp;nbsp; so we have a custom appid in the nginx log json, here is an example of a query I was able to create based on this json:&lt;BR /&gt;&lt;BR /&gt;fetch logs&lt;BR /&gt;| filter matchesValue(k8s.cluster.name, "my-cluster") AND matchesValue(k8s.namespace.name, "nginx-ingress")&lt;BR /&gt;| filter matchesValue(content, "{*")&lt;BR /&gt;and matchesPhrase(content, "\"appid\"")&lt;BR /&gt;| filter parse(content, "JSON{STRING:'appid'}(flat=true)") == "MYAPPID007"&lt;BR /&gt;| sort timestamp desc&lt;BR /&gt;| parse content, "JSON:json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This query will show me the logs from the value we added, is there a way we can let users/teams only seeing specific logs from their custom appid?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking into segmentation now but I wanted to ask for guidance&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2025 14:31:49 GMT</pubDate>
    <dc:creator>dkroger</dc:creator>
    <dc:date>2025-09-26T14:31:49Z</dc:date>
    <item>
      <title>How to split log access in a shared cluster</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/How-to-split-log-access-in-a-shared-cluster/m-p/286910#M1459</link>
      <description>&lt;P&gt;We have migrated our logs recently to dynatrace, we have AKS shared clusters where with multiple teams with ingresses where we need to let them see their nginx logs (for their ingresses) but not all the ingresses logs from others teams. On nginx we were able to add additional headers&amp;nbsp; so we have a custom appid in the nginx log json, here is an example of a query I was able to create based on this json:&lt;BR /&gt;&lt;BR /&gt;fetch logs&lt;BR /&gt;| filter matchesValue(k8s.cluster.name, "my-cluster") AND matchesValue(k8s.namespace.name, "nginx-ingress")&lt;BR /&gt;| filter matchesValue(content, "{*")&lt;BR /&gt;and matchesPhrase(content, "\"appid\"")&lt;BR /&gt;| filter parse(content, "JSON{STRING:'appid'}(flat=true)") == "MYAPPID007"&lt;BR /&gt;| sort timestamp desc&lt;BR /&gt;| parse content, "JSON:json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This query will show me the logs from the value we added, is there a way we can let users/teams only seeing specific logs from their custom appid?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking into segmentation now but I wanted to ask for guidance&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 14:31:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/How-to-split-log-access-in-a-shared-cluster/m-p/286910#M1459</guid>
      <dc:creator>dkroger</dc:creator>
      <dc:date>2025-09-26T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to split log access in a shared cluster</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/How-to-split-log-access-in-a-shared-cluster/m-p/286915#M1460</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/88075"&gt;@dkroger&lt;/a&gt;&amp;nbsp;if you need to separate access, this is accomplished by IAM policies - &lt;A href="https://docs.dynatrace.com/docs/shortlink/iam-policy-boundaries" target="_blank"&gt;boundaries&lt;/A&gt; in particular. So users can only see logs they have access to. Create boundaries which have the clusters you need in scope and then use them in conjunction with a IAM policy and assign to a group.&lt;BR /&gt;&lt;BR /&gt;For filtering (you have access to the records, but you want to select a scope) you want to use&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/segments" target="_blank"&gt;segments&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If everyone should have access to every log, you need only segments. If you want to limit visibility, you need to use IAM policies.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 15:46:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/How-to-split-log-access-in-a-shared-cluster/m-p/286915#M1460</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-09-26T15:46:04Z</dc:date>
    </item>
  </channel>
</rss>

