<?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 Events with Tab Delimited values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462958#M191476</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have some logs which are mostly tab delimited I used props and transforms to set up the delimited extractions but in a few logs we have back slash("\") as a field value. Looks like Splunk is unable to handle the same with delimited extractions. &lt;/P&gt;

&lt;P&gt;has anyone faced similar issue earlier or if there is any solution for the same.&lt;/P&gt;

&lt;P&gt;Example Below:&lt;/P&gt;

&lt;P&gt;Sample Logs:&lt;BR /&gt;
Log1: Hostname   abc    \   xyz&lt;BR /&gt;
Log2: Hostname   abc    domain\username   xyz&lt;/P&gt;

&lt;P&gt;Currently with delimited extraction: I am getting below values&lt;BR /&gt;
Log 1:&lt;BR /&gt;
Field 1: Hostname&lt;BR /&gt;
Field 2:abc&lt;BR /&gt;
Field 3:  \&lt;BR /&gt;&lt;BR /&gt;
xyz&lt;/P&gt;

&lt;P&gt;Log 2: &lt;BR /&gt;
Field 1: Hostname&lt;BR /&gt;
Field 2:abc&lt;BR /&gt;
Field 3: domain\username&lt;BR /&gt;
Field 4: xyz&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2019 01:18:46 GMT</pubDate>
    <dc:creator>akshatj2</dc:creator>
    <dc:date>2019-08-28T01:18:46Z</dc:date>
    <item>
      <title>Events with Tab Delimited values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462958#M191476</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have some logs which are mostly tab delimited I used props and transforms to set up the delimited extractions but in a few logs we have back slash("\") as a field value. Looks like Splunk is unable to handle the same with delimited extractions. &lt;/P&gt;

&lt;P&gt;has anyone faced similar issue earlier or if there is any solution for the same.&lt;/P&gt;

&lt;P&gt;Example Below:&lt;/P&gt;

&lt;P&gt;Sample Logs:&lt;BR /&gt;
Log1: Hostname   abc    \   xyz&lt;BR /&gt;
Log2: Hostname   abc    domain\username   xyz&lt;/P&gt;

&lt;P&gt;Currently with delimited extraction: I am getting below values&lt;BR /&gt;
Log 1:&lt;BR /&gt;
Field 1: Hostname&lt;BR /&gt;
Field 2:abc&lt;BR /&gt;
Field 3:  \&lt;BR /&gt;&lt;BR /&gt;
xyz&lt;/P&gt;

&lt;P&gt;Log 2: &lt;BR /&gt;
Field 1: Hostname&lt;BR /&gt;
Field 2:abc&lt;BR /&gt;
Field 3: domain\username&lt;BR /&gt;
Field 4: xyz&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 01:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462958#M191476</guid>
      <dc:creator>akshatj2</dc:creator>
      <dc:date>2019-08-28T01:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Events with Tab Delimited values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462959#M191477</link>
      <description>&lt;P&gt;you need 3 backslashes&lt;BR /&gt;
somethinf like this&lt;/P&gt;

&lt;P&gt;[source::blah blah]&lt;BR /&gt;
 SEDCMD-removebackslsh = s/\\//g&lt;/P&gt;

&lt;P&gt;test on the web first&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   | makeresults 
         |  eval x="Hostname abc \ xyz" 

     | rex mode=sed field=x "s/\\\//g"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Aug 2019 08:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462959#M191477</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-28T08:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Events with Tab Delimited values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462960#M191478</link>
      <description>&lt;P&gt;hi @ akshatj2&lt;BR /&gt;
Please accept the answer if it helped resolve your issue, or let us know what more is needed to resolve your issue&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:27:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462960#M191478</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-29T16:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Events with Tab Delimited values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462961#M191479</link>
      <description>&lt;P&gt;Hi Sukisen&lt;/P&gt;

&lt;P&gt;Thank you for suggestion but my we do not want to remove the backslash available. We wanted to parse that backslash as a filed value using delimiter. Looks like I have found a solution though I am just testing it and should post the answer soon.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-with-Tab-Delimited-values/m-p/462961#M191479</guid>
      <dc:creator>akshatj2</dc:creator>
      <dc:date>2019-08-29T16:45:48Z</dc:date>
    </item>
  </channel>
</rss>

