<?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 Dropping or Modifying data based on metadata tags in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Dropping-or-Modifying-data-based-on-metadata-tags/m-p/539017#M90304</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm trying to figure out if and how I could drop data, or modify data based on a metadata tag. In looking at the &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Admin/Propsconf" target="_blank" rel="noopener"&gt;props.conf&lt;/A&gt; spec, it seems you can only reference sourcetype, source or host. My inbound data is setting up a metadata tag of "namespace" (It's &lt;A href="https://github.com/splunk/splunk-connect-for-kubernetes" target="_blank" rel="noopener"&gt;Splunk Connect for Kubernetes&lt;/A&gt;, if it helps any).&lt;/P&gt;&lt;P&gt;I did try [namespace::&amp;lt;value&amp;gt;], but it doesn't seem to work. I can't get specific enough with the existing choices of host, source or sourcetype.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My 2 use cases are:&lt;BR /&gt;1) Run a props.conf SEDCMD on some "cluster_name" only&lt;BR /&gt;2) Drop some "namespace" tags I don't want to ingest&lt;BR /&gt;&lt;BR /&gt;And neither one of these appear to work, and may be expected not to, based on documentation?&lt;/P&gt;&lt;P&gt;Are there other options?&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 16:35:14 GMT</pubDate>
    <dc:creator>skirven</dc:creator>
    <dc:date>2021-02-08T16:35:14Z</dc:date>
    <item>
      <title>Dropping or Modifying data based on metadata tags</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dropping-or-Modifying-data-based-on-metadata-tags/m-p/539017#M90304</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm trying to figure out if and how I could drop data, or modify data based on a metadata tag. In looking at the &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Admin/Propsconf" target="_blank" rel="noopener"&gt;props.conf&lt;/A&gt; spec, it seems you can only reference sourcetype, source or host. My inbound data is setting up a metadata tag of "namespace" (It's &lt;A href="https://github.com/splunk/splunk-connect-for-kubernetes" target="_blank" rel="noopener"&gt;Splunk Connect for Kubernetes&lt;/A&gt;, if it helps any).&lt;/P&gt;&lt;P&gt;I did try [namespace::&amp;lt;value&amp;gt;], but it doesn't seem to work. I can't get specific enough with the existing choices of host, source or sourcetype.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My 2 use cases are:&lt;BR /&gt;1) Run a props.conf SEDCMD on some "cluster_name" only&lt;BR /&gt;2) Drop some "namespace" tags I don't want to ingest&lt;BR /&gt;&lt;BR /&gt;And neither one of these appear to work, and may be expected not to, based on documentation?&lt;/P&gt;&lt;P&gt;Are there other options?&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 16:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dropping-or-Modifying-data-based-on-metadata-tags/m-p/539017#M90304</guid>
      <dc:creator>skirven</dc:creator>
      <dc:date>2021-02-08T16:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping or Modifying data based on metadata tags</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dropping-or-Modifying-data-based-on-metadata-tags/m-p/541664#M90584</link>
      <description>&lt;P&gt;Hi! Splunk Connect for Kubernetes utilizes Fluentd which provides a ton of control over what gets sent to Splunk. While you should be able to do some props and transforms, like you said, probably more flexible at the collector.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mind providing an example of the filter you would like to express? &amp;nbsp;I could try and walk you through crafting a custom filter which connect for k8s lets you add to your config.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 14:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dropping-or-Modifying-data-based-on-metadata-tags/m-p/541664#M90584</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2021-02-28T14:14:53Z</dc:date>
    </item>
  </channel>
</rss>

