<?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 extract field with fieldname starts with a &amp;quot;#&amp;quot; ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33113#M7020</link>
    <description>&lt;P&gt;Take a look at the DELIMS property in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/transformsconf"&gt;transforms.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[foo]
DELIMS = "#", "="
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 23 Apr 2012 02:08:01 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2012-04-23T02:08:01Z</dc:date>
    <item>
      <title>How to extract field with fieldname starts with a "#" ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33112#M7019</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;

&lt;P&gt;Recently I have been dealing with some application logs and met some difficulties with field extraction.&lt;BR /&gt;
Every fieldname is started with a "#", such as #field1=xxx#field2=yyy#field3=zzz#...&lt;BR /&gt;
Then splunk extracted fields like: field1="xxx#field2=yyy#field3=zzz". How to tell splunk to threat "#" as a comma or space (means ignore the #) ?&lt;/P&gt;

&lt;P&gt;Would someone help me ? Thanks in advance!&lt;/P&gt;

&lt;P&gt;The log format is like:&lt;/P&gt;

&lt;P&gt;2012-04-16 17:41:27:087 [Inner-Tans-90013849] request:a60061152 102600    #oper_flag=1#user_type=2#user_id_type=1#user_id=1234567#user_pwd=897985d09890f41a4300#login_ip=192.168.1.1#bank_no=0000#net_envionment=2#net_agent=1#&lt;BR /&gt;
2012-04-16 17:41:27:087 [Inner-Tans-90013849] 1.Start:com.klink.btrs.product.system.imp.T9006&lt;BR /&gt;
2012-04-16 17:41:27:089 [Inner-Tans-90013849] com.klink.btrs.BtrsException: Invalid Username or password！&lt;BR /&gt;
2012-04-16 17:41:27:095 [Inner-Tans-10023849] response：a60061152 102600                HJ9999  #rsp_msg=Invalid Username or password！#&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33112#M7019</guid>
      <dc:creator>sonicant</dc:creator>
      <dc:date>2020-09-28T11:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract field with fieldname starts with a "#" ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33113#M7020</link>
      <description>&lt;P&gt;Take a look at the DELIMS property in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/transformsconf"&gt;transforms.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[foo]
DELIMS = "#", "="
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Apr 2012 02:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33113#M7020</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-04-23T02:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract field with fieldname starts with a "#" ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33114#M7021</link>
      <description>&lt;P&gt;Hi Damien,&lt;BR /&gt;
Thank you!&lt;BR /&gt;
I added:&lt;BR /&gt;
[logtest]&lt;BR /&gt;
DELIMS = "#", "="&lt;BR /&gt;
in transforms.conf&lt;/P&gt;

&lt;P&gt;and added:&lt;BR /&gt;
[logtest]&lt;BR /&gt;
REPORT-test = logtest&lt;BR /&gt;
in props.conf, then it works!!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2012 02:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33114#M7021</guid>
      <dc:creator>sonicant</dc:creator>
      <dc:date>2012-04-23T02:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract field with fieldname starts with a "#" ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33115#M7022</link>
      <description>&lt;P&gt;Great! Happy Splunking &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2012 02:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-field-with-fieldname-starts-with-a-quot-quot/m-p/33115#M7022</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-04-23T02:58:06Z</dc:date>
    </item>
  </channel>
</rss>

