<?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 I want to index fieldName which contains square brackets in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523245#M147583</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I want to index a fieldName which contains square brackets&lt;BR /&gt;&lt;BR /&gt;Below is the key-value pair format I have and&amp;nbsp; splunk is not indexing keys value which consists []&lt;BR /&gt;eg: root[60]_level[5]=value&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 17:31:48 GMT</pubDate>
    <dc:creator>pallavikarpaklu</dc:creator>
    <dc:date>2020-10-06T17:31:48Z</dc:date>
    <item>
      <title>I want to index fieldName which contains square brackets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523245#M147583</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I want to index a fieldName which contains square brackets&lt;BR /&gt;&lt;BR /&gt;Below is the key-value pair format I have and&amp;nbsp; splunk is not indexing keys value which consists []&lt;BR /&gt;eg: root[60]_level[5]=value&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 17:31:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523245#M147583</guid>
      <dc:creator>pallavikarpaklu</dc:creator>
      <dc:date>2020-10-06T17:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: I want to index fieldName which contains square brackets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523252#M147586</link>
      <description>&lt;P&gt;Square brackets are not allowed in field names.&amp;nbsp; If Splunk encounters such a field name, it will convert the unacceptable characters into underscores.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 18:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523252#M147586</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-06T18:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: I want to index fieldName which contains square brackets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523318#M147595</link>
      <description>&lt;P&gt;Thanks for the response.&lt;BR /&gt;&lt;BR /&gt;But as I mentioned earlier&amp;nbsp; splunk is logging as root[60]_level[5]=value&lt;BR /&gt;[] are not converted to underscores.&lt;BR /&gt;&lt;BR /&gt;Do I need to do any property changes for that ?&lt;BR /&gt;&lt;BR /&gt;Suppose the conversion is done and my key is replaced with&amp;nbsp; double underscores like below "root_60__level_5_=value"&lt;BR /&gt;Does splunk honurs double underscore and still index the key "root_60__level_5_"?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 00:01:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523318#M147595</guid>
      <dc:creator>pallavikarpaklu</dc:creator>
      <dc:date>2020-10-07T00:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: I want to index fieldName which contains square brackets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523385#M147609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225256"&gt;@pallavikarpaklu&lt;/a&gt;&amp;nbsp;, could you please give example of what is the actual key-value pair in log and what Splunk is indexing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 10:16:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523385#M147609</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-10-07T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: I want to index fieldName which contains square brackets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523500#M147630</link>
      <description>&lt;P&gt;&lt;BR /&gt;Sure. Below is the sample logger with two keys&amp;nbsp; "root[60]_level[5]" and "root_string".&lt;BR /&gt;&lt;BR /&gt;2020-10-07 17:50:04,208 - INFO - root[60]_level[5]=value, root_string=value&lt;BR /&gt;&lt;BR /&gt;root_string - This key is indexed&lt;/P&gt;&lt;P&gt;root[60]_level[5] - This key is not indexed.&lt;BR /&gt;&lt;BR /&gt;I am open to try any kind of&amp;nbsp; key transformations but I want the key to be indexed. Please suggest.&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 18:13:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523500#M147630</guid>
      <dc:creator>pallavikarpaklu</dc:creator>
      <dc:date>2020-10-07T18:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: I want to index fieldName which contains square brackets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523815#M147775</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225256"&gt;@pallavikarpaklu&lt;/a&gt;&amp;nbsp;, could you please also provide the current props.conf/transforms.conf stanza you are using for indexing this data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 21:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-index-fieldName-which-contains-square-brackets/m-p/523815#M147775</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-10-08T21:45:50Z</dc:date>
    </item>
  </channel>
</rss>

