<?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 Modify json structure for sourcetype that has indexed_extractions=json in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429079#M75191</link>
    <description>&lt;P&gt;We have a single Splunk instance with custom scripted input that pulls down json, and has indexed extractions.&lt;/P&gt;

&lt;P&gt;New fields were added to the json that aren't getting extracted.  We want to be able to remove the known headers that Splunk knows of (what fields to extract), so that it can start over and pick up newly added fields.  Is there any method of doing this? &lt;/P&gt;

&lt;P&gt;Are our only options: 1) change sourcetype or 2) use search time extractions?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2019 16:14:49 GMT</pubDate>
    <dc:creator>hortonew</dc:creator>
    <dc:date>2019-04-29T16:14:49Z</dc:date>
    <item>
      <title>Modify json structure for sourcetype that has indexed_extractions=json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429079#M75191</link>
      <description>&lt;P&gt;We have a single Splunk instance with custom scripted input that pulls down json, and has indexed extractions.&lt;/P&gt;

&lt;P&gt;New fields were added to the json that aren't getting extracted.  We want to be able to remove the known headers that Splunk knows of (what fields to extract), so that it can start over and pick up newly added fields.  Is there any method of doing this? &lt;/P&gt;

&lt;P&gt;Are our only options: 1) change sourcetype or 2) use search time extractions?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 16:14:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429079#M75191</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2019-04-29T16:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modify json structure for sourcetype that has indexed_extractions=json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429080#M75192</link>
      <description>&lt;P&gt;All I can find in the docs is:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileswithstructureddata"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileswithstructureddata&lt;/A&gt;&lt;BR /&gt;
No support for mid-file renaming of header fields&lt;BR /&gt;
Some software, such as Internet Information Server, supports the renaming of header fields in the middle of the file. Splunk software does not recognize changes such as this. If you attempt to index a file that has header fields renamed within the file, the renamed header field is not indexed.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 16:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429080#M75192</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2019-04-29T16:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Modify json structure for sourcetype that has indexed_extractions=json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429081#M75193</link>
      <description>&lt;P&gt;It does not work like that.  Splunk does not cache headers for &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt;.  If it seems to be doing so, try deleting the file so that it is rewritten with a fresh header line.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 06:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429081#M75193</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-30T06:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modify json structure for sourcetype that has indexed_extractions=json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429082#M75194</link>
      <description>&lt;P&gt;Which file?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 11:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429082#M75194</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2019-04-30T11:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modify json structure for sourcetype that has indexed_extractions=json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429083#M75195</link>
      <description>&lt;P&gt;The file that you are monitoring in your inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///Your/Path/To/YourFileHere]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 May 2019 04:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-json-structure-for-sourcetype-that-has-indexed/m-p/429083#M75195</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-05-01T04:00:16Z</dc:date>
    </item>
  </channel>
</rss>

