<?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 Re: Need to drop container metrics from specific namespaces using splunk otel collector Kubernetes cluster receiver in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754949#M11037</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;, thanks for a quick answer, we have already added a filter like this in our helm configuration, but my question is does these filters also affect cluster-receiver deployment? We tried applying filters and referencing them in service-pipelines just like you mentioned, but we still see container metrics coming from different kubernetes namespaces other than what we specified, we don't understand how these metrics are collected are they coming from cluster-receiver pod or daemonset?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2025 17:55:21 GMT</pubDate>
    <dc:creator>sabaork</dc:creator>
    <dc:date>2025-10-29T17:55:21Z</dc:date>
    <item>
      <title>Need to drop container metrics from specific namespaces using splunk otel collector Kubernetes cluster receiver</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754923#M11035</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are monitoring a GKE cluster&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;with Splunk&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;OTEL collector Kubernetes cluster receiver po&lt;/SPAN&gt;&lt;SPAN&gt;d, and want to skip or exclude all the metrics from specific namespaces&lt;/SPAN&gt;&lt;SPAN&gt;, such that those are dropped and not sent&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to the Splunk endpoint. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Our goal is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to reduce the container count in&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Splunk Observability Cloud, as we don't&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;need even one metric of containers in those&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;namespaces.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 11:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754923#M11035</guid>
      <dc:creator>vyomsap</dc:creator>
      <dc:date>2025-10-29T11:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need to drop container metrics from specific namespaces using splunk otel collector Kubernetes cluster receiver</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754936#M11036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/313878"&gt;@vyomsap&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-observability-cloud/manage-data/splunk-distribution-of-the-opentelemetry-collector/get-started-with-the-splunk-distribution-of-the-opentelemetry-collector/collector-components/processors/filter-processor" target="_blank"&gt;https://help.splunk.com/en/splunk-observability-cloud/manage-data/splunk-distribution-of-the-opentelemetry-collector/get-started-with-the-splunk-distribution-of-the-opentelemetry-collector/collector-components/processors/filter-processor&lt;/A&gt;&amp;nbsp;which has some examples on this, specifically something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;agent:
  config:
    processors:
      # Exclude all telemetry data (metrics, logs, traces) from a namespace named 'namespaceX'
      filter/exclude_all_telemetry_data_from_namespace:
        logs:
          exclude:
            match_type: regexp
            resource_attributes:
              - key: k8s.namespace.name
                value: '^(namespaceX)$'
        metrics:
          exclude:
            match_type: regexp
            resource_attributes:
              - key: k8s.namespace.name
                value: '^(namespaceX)$'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then add it to the processors:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;service:
  pipelines:
    logs:
      processors:
...
        - filter/exclude_all_telemetry_data_from_namespace&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 15:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754936#M11036</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-10-29T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need to drop container metrics from specific namespaces using splunk otel collector Kubernetes cluster receiver</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754949#M11037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;, thanks for a quick answer, we have already added a filter like this in our helm configuration, but my question is does these filters also affect cluster-receiver deployment? We tried applying filters and referencing them in service-pipelines just like you mentioned, but we still see container metrics coming from different kubernetes namespaces other than what we specified, we don't understand how these metrics are collected are they coming from cluster-receiver pod or daemonset?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 17:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Need-to-drop-container-metrics-from-specific-namespaces-using/m-p/754949#M11037</guid>
      <dc:creator>sabaork</dc:creator>
      <dc:date>2025-10-29T17:55:21Z</dc:date>
    </item>
  </channel>
</rss>

