<?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 Re: Is there a solution to handle a field name in my data that overlaps with the default &amp;quot;source&amp;quot; field name? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174462#M50064</link>
    <description>&lt;P&gt;FWIW,  I use splunk 6.2.2 and had a csv file with a field named source. It got  converted to extracted_source. you could simply rename the field in your logs or rename extracted_source to something else using the rename command.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 20:22:23 GMT</pubDate>
    <dc:creator>sk314</dc:creator>
    <dc:date>2020-09-28T20:22:23Z</dc:date>
    <item>
      <title>Is there a solution to handle a field name in my data that overlaps with the default "source" field name?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174461#M50063</link>
      <description>&lt;P&gt;My raw data includes a field &lt;CODE&gt;"source=SoftwareSubsystemFoo"&lt;/CODE&gt;,  a name which overlaps the default &lt;CODE&gt;'source'&lt;/CODE&gt; field.    In the past, I had the same issue and I dimly recall that the overlapping field was renamed something like &lt;CODE&gt;'_extracted_source'&lt;/CODE&gt;.  As an underscored fieldname it was hidden from the UI unless requested directly with the &lt;CODE&gt;| fields&lt;/CODE&gt; search command. I can't find the details in my notes, and my search-fu is failing.&lt;/P&gt;

&lt;P&gt;Does this remapped field name exist?  What is it? &lt;/P&gt;

&lt;P&gt;An alternate solution would be to create a transform,  but I have a large and variable number of sourcetypes which might have namespace collisions,  and I'd prefer an automatic solution, particularly if it were already happening in the background.&lt;/P&gt;

&lt;P&gt;Reference:  &lt;A href="http://answers.splunk.com/answers/26243/source-as-fieldname.html"&gt;http://answers.splunk.com/answers/26243/source-as-fieldname.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 18:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174461#M50063</guid>
      <dc:creator>anewell</dc:creator>
      <dc:date>2015-06-24T18:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a solution to handle a field name in my data that overlaps with the default "source" field name?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174462#M50064</link>
      <description>&lt;P&gt;FWIW,  I use splunk 6.2.2 and had a csv file with a field named source. It got  converted to extracted_source. you could simply rename the field in your logs or rename extracted_source to something else using the rename command.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174462#M50064</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2020-09-28T20:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a solution to handle a field name in my data that overlaps with the default "source" field name?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174463#M50065</link>
      <description>&lt;P&gt;I suggest that you set up a field alias for your source field. If your field name is converted to "extracted_source", you could set up an alias to name it something else - even "Source", although that might be confusing.&lt;/P&gt;

&lt;P&gt;Go to &lt;STRONG&gt;Settings -&amp;gt; Fields -&amp;gt; Field Alias&lt;/STRONG&gt;. Fill out the form. If you want others to be able to use the alias, be sure to set the permissions. Note that only a Splunk admin can set the permissions to "Global" so that the alias will be available throughout the environment (and you may want this).&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 20:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-solution-to-handle-a-field-name-in-my-data-that/m-p/174463#M50065</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-06-24T20:09:11Z</dc:date>
    </item>
  </channel>
</rss>

