<?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 Remove or replace multivalue field before to index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Remove-or-replace-multivalue-field-before-to-index/m-p/536122#M89883</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a .json that contains any multivalue fields.&lt;/P&gt;&lt;P&gt;I would like to avoid that any multivalue field be indexed, because It contais a lot of data that I want to avoid index.&lt;/P&gt;&lt;P&gt;Is there any way to do It?&lt;/P&gt;&lt;P&gt;I have try other options like replace all multivalue text by a character, with the follow command ( | rex field="changelog.histories{}.history" mode=sed "s/(^.+)/x/g" )in a search, and I am able to change:&lt;BR /&gt;asderdas&lt;BR /&gt;asd34sdas&lt;BR /&gt;asdaserwerw&lt;BR /&gt;by&amp;nbsp;&lt;BR /&gt;x&lt;BR /&gt;x&lt;BR /&gt;x&lt;/P&gt;&lt;P&gt;although I have tried with SEDCMD-xyz = s/"changelog.histories{}.history"=^.+/x/g in "Add data"-"Set sourcetype" window- Advanced and I don't achieve It.&lt;BR /&gt;I would like to avoid index "changelog.histories{}.history" or change:&lt;BR /&gt;asderdas&lt;BR /&gt;asd34sdas&lt;BR /&gt;asdaserwerw&lt;BR /&gt;by&lt;BR /&gt;x&lt;BR /&gt;(changing all multivalue values for only a character(x for example)&lt;/P&gt;&lt;P&gt;Is It possible?&lt;/P&gt;&lt;P&gt;Thanks a lot and regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jan 2021 18:27:10 GMT</pubDate>
    <dc:creator>DanielSp</dc:creator>
    <dc:date>2021-01-16T18:27:10Z</dc:date>
    <item>
      <title>Remove or replace multivalue field before to index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-or-replace-multivalue-field-before-to-index/m-p/536122#M89883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a .json that contains any multivalue fields.&lt;/P&gt;&lt;P&gt;I would like to avoid that any multivalue field be indexed, because It contais a lot of data that I want to avoid index.&lt;/P&gt;&lt;P&gt;Is there any way to do It?&lt;/P&gt;&lt;P&gt;I have try other options like replace all multivalue text by a character, with the follow command ( | rex field="changelog.histories{}.history" mode=sed "s/(^.+)/x/g" )in a search, and I am able to change:&lt;BR /&gt;asderdas&lt;BR /&gt;asd34sdas&lt;BR /&gt;asdaserwerw&lt;BR /&gt;by&amp;nbsp;&lt;BR /&gt;x&lt;BR /&gt;x&lt;BR /&gt;x&lt;/P&gt;&lt;P&gt;although I have tried with SEDCMD-xyz = s/"changelog.histories{}.history"=^.+/x/g in "Add data"-"Set sourcetype" window- Advanced and I don't achieve It.&lt;BR /&gt;I would like to avoid index "changelog.histories{}.history" or change:&lt;BR /&gt;asderdas&lt;BR /&gt;asd34sdas&lt;BR /&gt;asdaserwerw&lt;BR /&gt;by&lt;BR /&gt;x&lt;BR /&gt;(changing all multivalue values for only a character(x for example)&lt;/P&gt;&lt;P&gt;Is It possible?&lt;/P&gt;&lt;P&gt;Thanks a lot and regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 18:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-or-replace-multivalue-field-before-to-index/m-p/536122#M89883</guid>
      <dc:creator>DanielSp</dc:creator>
      <dc:date>2021-01-16T18:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove or replace multivalue field before to index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-or-replace-multivalue-field-before-to-index/m-p/536125#M89884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226451"&gt;@DanielSp&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Props.conf SEDCMD command works on _raw data. That is why your regex must be able to capture patterns from raw data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you an upvote is appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 19:10:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-or-replace-multivalue-field-before-to-index/m-p/536125#M89884</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-01-16T19:10:36Z</dc:date>
    </item>
  </channel>
</rss>

