<?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 Filter/modify data prior to ingestion? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filter-modify-data-prior-to-ingestion/m-p/744714#M118352</link>
    <description>&lt;P&gt;Not sure this is even possible, but I'll ask anyway...&lt;/P&gt;&lt;P&gt;I have application(s) that are sending JSON data into Splunk, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
 "key1": "value1",
 "key2": "value2",
 "key3": "value3",
 "key4": "value1"
}&lt;/LI-CODE&gt;&lt;P&gt;As you can see, the value for "&lt;STRONG&gt;key4&lt;/STRONG&gt;" is the same as "&lt;STRONG&gt;key1&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;So, in my example, I don't want to ingest the complete JSON payload, but only:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
 "key1": "value1",
 "key2": "value2",
 "key3": "value3"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be done?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Apr 2025 18:52:29 GMT</pubDate>
    <dc:creator>BogeyMan</dc:creator>
    <dc:date>2025-04-22T18:52:29Z</dc:date>
    <item>
      <title>Filter/modify data prior to ingestion?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-modify-data-prior-to-ingestion/m-p/744714#M118352</link>
      <description>&lt;P&gt;Not sure this is even possible, but I'll ask anyway...&lt;/P&gt;&lt;P&gt;I have application(s) that are sending JSON data into Splunk, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
 "key1": "value1",
 "key2": "value2",
 "key3": "value3",
 "key4": "value1"
}&lt;/LI-CODE&gt;&lt;P&gt;As you can see, the value for "&lt;STRONG&gt;key4&lt;/STRONG&gt;" is the same as "&lt;STRONG&gt;key1&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;So, in my example, I don't want to ingest the complete JSON payload, but only:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
 "key1": "value1",
 "key2": "value2",
 "key3": "value3"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be done?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 18:52:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-modify-data-prior-to-ingestion/m-p/744714#M118352</guid>
      <dc:creator>BogeyMan</dc:creator>
      <dc:date>2025-04-22T18:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filter/modify data prior to ingestion?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-modify-data-prior-to-ingestion/m-p/744717#M118354</link>
      <description>&lt;P&gt;Manipulating structured data on ingest is best done by external means (particular method would depend on the use case). In some limited cases you probably could do some regex magic to remove some parts of incoming events but this solution would be highly sensitive to data format.&lt;/P&gt;&lt;P&gt;Oh, and I'm assuming you want to just remove key4, not dynamically decide which one to drop.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 20:30:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-modify-data-prior-to-ingestion/m-p/744717#M118354</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-04-22T20:30:21Z</dc:date>
    </item>
  </channel>
</rss>

