<?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 sedcmd incoming data based on host or index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/sedcmd-incoming-data-based-on-host-or-index/m-p/340753#M62845</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have a SEDCMD simalar to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-remove-values = s/&amp;lt;Value&amp;gt;.+&amp;lt;\/Value&amp;gt;/removed-by-splunk/g  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which works fine, but i'd like to filter this to a spesific index, lets say "index!=dev" &lt;BR /&gt;
is this possible?&lt;/P&gt;

&lt;P&gt;brgs&lt;BR /&gt;
Kristen&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2017 07:36:32 GMT</pubDate>
    <dc:creator>kritho</dc:creator>
    <dc:date>2017-06-09T07:36:32Z</dc:date>
    <item>
      <title>sedcmd incoming data based on host or index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sedcmd-incoming-data-based-on-host-or-index/m-p/340753#M62845</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have a SEDCMD simalar to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-remove-values = s/&amp;lt;Value&amp;gt;.+&amp;lt;\/Value&amp;gt;/removed-by-splunk/g  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which works fine, but i'd like to filter this to a spesific index, lets say "index!=dev" &lt;BR /&gt;
is this possible?&lt;/P&gt;

&lt;P&gt;brgs&lt;BR /&gt;
Kristen&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 07:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sedcmd-incoming-data-based-on-host-or-index/m-p/340753#M62845</guid>
      <dc:creator>kritho</dc:creator>
      <dc:date>2017-06-09T07:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: sedcmd incoming data based on host or index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sedcmd-incoming-data-based-on-host-or-index/m-p/340754#M62846</link>
      <description>&lt;P&gt;Not really, the sedcmd applied to all data matching the stanza, and the stanza in props can only apply to : an exact sourcetype, or a source or a host.&lt;BR /&gt;
There is not way to apply to a specific index.&lt;/P&gt;

&lt;P&gt;You can try the host. example with props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::*mydevhost*]
SEDCMD-remove-values = s/&amp;lt;Value&amp;gt;.+&amp;lt;\/Value&amp;gt;/removed-by-splunk/g 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2017 19:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sedcmd-incoming-data-based-on-host-or-index/m-p/340754#M62846</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2017-06-09T19:31:27Z</dc:date>
    </item>
  </channel>
</rss>

