<?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: Field Names ending with underscore _ in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45359#M8489</link>
    <description>&lt;P&gt;For some reason they dont show up in the transforms anywhere that I have looked.  In the mean time I just did a field extraction for each field and named it back to the name without the underscore.  Still hoping for a better solution though.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Feb 2011 23:41:47 GMT</pubDate>
    <dc:creator>cramasta</dc:creator>
    <dc:date>2011-02-21T23:41:47Z</dc:date>
    <item>
      <title>Field Names ending with underscore _</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45357#M8487</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a sourcetype where i defined the field names in the transforms.conf&lt;/P&gt;

&lt;P&gt;Transforms.conf&lt;/P&gt;

&lt;P&gt;[my_parse]&lt;/P&gt;

&lt;P&gt;DELIMS = "|"&lt;/P&gt;

&lt;P&gt;FIELDS = "RecordID"| "Timestamp"| "ActivityID"| "Start"| "End"| "TransactionId"| "SessionId"| "Status"| "Description"| "SourceSystemId"| "Message"| "Operation"| "InstanceID"| "LastModified"&lt;/P&gt;

&lt;P&gt;Everything was working fine and splunk was picking up the field names as they are listed in the transforms when i would do a search. However one day we decided that we were going to add a new column to the end of the raw data csv file that is forwarded by a splunk agent.  So I stopped the agent, went to the indexer and deleted all the records for that particular sourcetype and then changed the transforms.conf entry to look like this&lt;/P&gt;

&lt;P&gt;[my_parse]&lt;/P&gt;

&lt;P&gt;DELIMS = "|"&lt;/P&gt;

&lt;P&gt;FIELDS = "RecordID"| "Timestamp"| "ActivityID"| "Start"| "End"| "TransactionId"| "SessionId"| "Status"| "Description"| "SourceSystemId"| "Message"| "Operation"| "InstanceID"| "LastModified"| &lt;STRONG&gt;"MYMESSAGE"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Then I restarted Splunk on the indexer, turned back on the forwarder, and recreated the csv file with the new column at the end that was forwarded to the indexer.
Now when I go into splunk all of my field names for this sourcetype, except for the new field name "MYMESSAGE" have an underscore at the end just like this RecordID_ Timestamp_ &lt;/P&gt;

&lt;P&gt;Anyone run into this issue before and know how to remove the underscores?
Thanks
J&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2011 05:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45357#M8487</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2011-02-16T05:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names ending with underscore _</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45358#M8488</link>
      <description>&lt;P&gt;I don't know what's happening at the moment.  Someone else at splunk may.&lt;/P&gt;

&lt;P&gt;However you can probably work around the problem for the moment, by finding the auto-generated field extraction and modifying it (removing the underscores).  I seem to recall that these end up in etc/apps/learned/local/transforms.conf&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 02:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45358#M8488</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2011-02-17T02:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names ending with underscore _</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45359#M8489</link>
      <description>&lt;P&gt;For some reason they dont show up in the transforms anywhere that I have looked.  In the mean time I just did a field extraction for each field and named it back to the name without the underscore.  Still hoping for a better solution though.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2011 23:41:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45359#M8489</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2011-02-21T23:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names ending with underscore _</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45360#M8490</link>
      <description>&lt;P&gt;Some characters are smashed to underscore at search time.  It might be that they are other characters in the FIELD list in transforms.conf.  Use Manager or &lt;CODE&gt;splunk cmd btool transforms list&lt;/CODE&gt; to find them.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2011 02:27:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45360#M8490</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2011-02-23T02:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names ending with underscore _</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45361#M8491</link>
      <description>&lt;P&gt;Hello, cramasta.&lt;/P&gt;

&lt;P&gt;I think your configuration is incorrect.
Try this one:&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;
[my_parse]&lt;BR /&gt;
DELIMS = "|"&lt;BR /&gt;
FIELDS = "RecordID", "Timestamp", "ActivityID", "Start", "End", "TransactionId", "SessionId", "Status", "Description", "SourceSystemId", "Message", "Operation", "InstanceID", "LastModified", "MYMESSAGE"
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2011 10:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-Names-ending-with-underscore/m-p/45361#M8491</guid>
      <dc:creator>Hajime</dc:creator>
      <dc:date>2011-03-03T10:16:08Z</dc:date>
    </item>
  </channel>
</rss>

