<?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: How to reference a Field Name containing &amp;quot;()&amp;quot; without breaking the search or stats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244244#M189058</link>
    <description>&lt;P&gt;Field alias is also available from the GUI: Go to Settings -&amp;gt; Fields -&amp;gt; Field alias&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2015 06:48:29 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2015-09-29T06:48:29Z</dc:date>
    <item>
      <title>How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244238#M189052</link>
      <description>&lt;P&gt;I have a field name that contains "(rpm)" and cannot find a way to reference it without it breaking a search or stats.  What can I do to escape or otherwise reference the field?&lt;/P&gt;

&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 20:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244238#M189052</guid>
      <dc:creator>leonardr</dc:creator>
      <dc:date>2015-09-28T20:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244239#M189053</link>
      <description>&lt;P&gt;Have you tried single quotes? &lt;CODE&gt;'fieldname'&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Another option is to use either a field alias (in props.conf or in Splunk Web on the Search Head via Settings -&amp;gt; Fields -&amp;gt; Field alias), or a &lt;CODE&gt;rename&lt;/CODE&gt; in your search before doing stats, eval, etc.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 20:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244239#M189053</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-09-28T20:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244240#M189054</link>
      <description>&lt;P&gt;Also, if it's in the sidebar, click on it, select a value (to add it to your search) and see how Splunk references it. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 20:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244240#M189054</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-09-28T20:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244241#M189055</link>
      <description>&lt;P&gt;Have you tried the rename command?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rename "xyz (rpm)" as xyz_rpm | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I know you probably didn't create the field name this way, but FYI:&lt;/P&gt;

&lt;P&gt;Field names that are made from the following character set will never require quotation marks and will be properly understood by all Splunk commands:&lt;/P&gt;

&lt;P&gt;Upper case letters (A-Z)&lt;BR /&gt;
Lower case letters (a-z)&lt;BR /&gt;
Digits (0-9)&lt;BR /&gt;
Underscore (_)&lt;/P&gt;

&lt;P&gt;Field names should begin with a letter.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 20:51:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244241#M189055</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-09-28T20:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244242#M189056</link>
      <description>&lt;P&gt;Within transforming commands (eval, stats, timechart etc) and WHERE command, use the field within single quote &lt;CODE&gt;'YourField(ABC)'&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;For other places (table, fields, search) put it within double quotes.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 22:13:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244242#M189056</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-28T22:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244243#M189057</link>
      <description>&lt;P&gt;You can enclose field names within dollar signs like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval xyz_rpm = $xyz (rpm)$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2015 03:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244243#M189057</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-29T03:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference a Field Name containing "()" without breaking the search or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244244#M189058</link>
      <description>&lt;P&gt;Field alias is also available from the GUI: Go to Settings -&amp;gt; Fields -&amp;gt; Field alias&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 06:48:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-reference-a-Field-Name-containing-quot-quot-without/m-p/244244#M189058</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-09-29T06:48:29Z</dc:date>
    </item>
  </channel>
</rss>

