<?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 cut a specific phrase in props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757866#M120191</link>
    <description>&lt;P&gt;Hi Community,&lt;BR /&gt;&lt;BR /&gt;how to cut...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;, "q": 0, "user": "system.user.admin"&lt;/LI-CODE&gt;&lt;P&gt;...from...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ "val": 0, "ts": 1770058561014, "q": 0, "user": "system.user.admin" }&lt;/LI-CODE&gt;&lt;P&gt;...with SEDCMD in props.conf?&lt;BR /&gt;&lt;BR /&gt;This...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[host::iobroker]
SEDCMD-remove = s/^, "q": 0, "user": "system.user.admin"$//g&lt;/LI-CODE&gt;&lt;P&gt;...doesn´t work!&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your help - Markus&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 19:20:03 GMT</pubDate>
    <dc:creator>GSNRMUVW</dc:creator>
    <dc:date>2026-02-02T19:20:03Z</dc:date>
    <item>
      <title>cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757866#M120191</link>
      <description>&lt;P&gt;Hi Community,&lt;BR /&gt;&lt;BR /&gt;how to cut...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;, "q": 0, "user": "system.user.admin"&lt;/LI-CODE&gt;&lt;P&gt;...from...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ "val": 0, "ts": 1770058561014, "q": 0, "user": "system.user.admin" }&lt;/LI-CODE&gt;&lt;P&gt;...with SEDCMD in props.conf?&lt;BR /&gt;&lt;BR /&gt;This...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[host::iobroker]
SEDCMD-remove = s/^, "q": 0, "user": "system.user.admin"$//g&lt;/LI-CODE&gt;&lt;P&gt;...doesn´t work!&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your help - Markus&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 19:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757866#M120191</guid>
      <dc:creator>GSNRMUVW</dc:creator>
      <dc:date>2026-02-02T19:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757867#M120192</link>
      <description>&lt;P&gt;You have the right idea, but that regex doesn't work because it's told to expect &lt;FONT face="courier new,courier"&gt;, "q"&lt;/FONT&gt; at the beginning of the event, which doesn't match the data.&amp;nbsp; Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SEDCMD-remove = s/, "q": 0, "user": "system.user.admin"//g&lt;/LI-CODE&gt;&lt;P&gt;Anchor tags (^ and $) are not needed as often as commonly thought.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 19:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757867#M120192</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2026-02-02T19:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757869#M120193</link>
      <description>&lt;P&gt;Thank you for your support... but unfortunately, this suggestion does not work, and the entire log continues to be indexed...&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 19:36:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757869#M120193</guid>
      <dc:creator>GSNRMUVW</dc:creator>
      <dc:date>2026-02-02T19:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757870#M120194</link>
      <description>&lt;P&gt;Unfortunately, you're trying to manipulate structured data with plain regexes. It might work if your jsons are always formatted the same way (which the jsons don't have to be since they rely on logical structure instead of strict formatting or fields order).&lt;/P&gt;&lt;P&gt;If your SEDCMD doesn't work, you're probably not matching the part right with your regex. Maybe it's about other whitespaces than you expect. Or maybe there's another number of those whitespaces.&lt;/P&gt;&lt;P&gt;Check your regex on your real data using &lt;A href="https://regex101.com/" target="_blank"&gt;https://regex101.com/&lt;/A&gt;&amp;nbsp;- it will show you if it matches or not and you'll be able to debug the regex and see where it fails if it does.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 19:52:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757870#M120194</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-02-02T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757872#M120195</link>
      <description>&lt;P&gt;Thanks for your suggestion.&lt;BR /&gt;I've already tried egex101, but the one that was successfully tested...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/, "q": 0, "user": "system.user.admin"/g&lt;/LI-CODE&gt;&lt;P&gt;...doesn't work either.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 19:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757872#M120195</guid>
      <dc:creator>GSNRMUVW</dc:creator>
      <dc:date>2026-02-02T19:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757873#M120196</link>
      <description>&lt;P&gt;OK. That suggests that your SEDCMD is not invoked at all (you could try something obviously right like&lt;/P&gt;&lt;PRE&gt;SEDCMD-test = s/a/z/g&lt;/PRE&gt;&lt;P&gt;to verify.&lt;/P&gt;&lt;P&gt;If it indeed doesn't work, that means that either:&lt;/P&gt;&lt;P&gt;1) It's defined in a wrong stanza (a typical mistake here would be attaching it to a host value which is not provided at the beginning of the ingestion pipeline but rather comes from a rewrite in the middle of it).&lt;/P&gt;&lt;P&gt;2) it's set on a wrong component (either on a UF or a heavy component - indexer or HF - which is not the first one in event's path - like an indexer behind a HF).&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 20:06:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757873#M120196</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-02-02T20:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: cut a specific phrase in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757875#M120198</link>
      <description>&lt;P&gt;I can rule out both, as other manipulations work.&lt;BR /&gt;However, I was happy to carry out your test with the following result:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ "vzl": 0, "ts": 1770063182265, "q": 0, "user": "system.user.zdmin" }&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 02 Feb 2026 20:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cut-a-specific-phrase-in-props-conf/m-p/757875#M120198</guid>
      <dc:creator>GSNRMUVW</dc:creator>
      <dc:date>2026-02-02T20:15:37Z</dc:date>
    </item>
  </channel>
</rss>

