<?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: Remove Wildcard from Field Name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399885#M169414</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;| transpose 
| replace "Priority*" with Priority 
| transpose header_field=column
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 16 May 2018 11:07:22 GMT</pubDate>
    <dc:creator>harishalipaka</dc:creator>
    <dc:date>2018-05-16T11:07:22Z</dc:date>
    <item>
      <title>Remove Wildcard from Field Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399883#M169412</link>
      <description>&lt;P&gt;I have some ticketing data being imported into Splunk for analysis. There are a couple of field names with an asterix (*) in them. &lt;/P&gt;

&lt;P&gt;Example - Priority*&lt;/P&gt;

&lt;P&gt;How do I rename such a field to just "Priority", or a non-wildcard string? Thanks !!&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 06:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399883#M169412</guid>
      <dc:creator>makarand13</dc:creator>
      <dc:date>2018-05-16T06:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Wildcard from Field Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399884#M169413</link>
      <description>&lt;P&gt;@makarand13 can you post raw events where such wildcard based fields exist?&lt;/P&gt;

&lt;P&gt;The following could be a fix during search time however, you should rather fix it while indexing using &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedata#Define_the_sed_script_in_props.conf"&gt;SEDCMD&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourBaseSearch&amp;gt;
|  eval priority='Priority*'
|  fields - Priority*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 May 2018 09:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399884#M169413</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-16T09:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Wildcard from Field Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399885#M169414</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| transpose 
| replace "Priority*" with Priority 
| transpose header_field=column
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 May 2018 11:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399885#M169414</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2018-05-16T11:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Wildcard from Field Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399886#M169415</link>
      <description>&lt;P&gt;To build on this and make it rename all field names containing wildcards at once:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transpose 
| rex field=column mode=sed "s/\*//g" 
| transpose header_field=column 
| fields - column
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 May 2018 15:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399886#M169415</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-05-16T15:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Wildcard from Field Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399887#M169416</link>
      <description>&lt;P&gt;Upvoting this especially to reinforce that the best solution is to fix while indexing!&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:41:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-Wildcard-from-Field-Name/m-p/399887#M169416</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-05-16T15:41:32Z</dc:date>
    </item>
  </channel>
</rss>

