<?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: Replace before importing the data in splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22715#M3538</link>
    <description>&lt;P&gt;What is "haha" ? &lt;BR /&gt;
also, try and add a back slash "\" before the first pipe character in the sed command. this forum seems to remove my backslashes:&lt;/P&gt;

&lt;P&gt;SEDCMD-dekh=s/|/    |/g&lt;/P&gt;</description>
    <pubDate>Sun, 04 Nov 2012 19:51:20 GMT</pubDate>
    <dc:creator>lrhazi</dc:creator>
    <dc:date>2012-11-04T19:51:20Z</dc:date>
    <item>
      <title>Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22709#M3532</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have a file which contains the below content:&lt;/P&gt;

&lt;P&gt;abhay|vikram|singh|26|kolkata&lt;BR /&gt;
murari|kumar|singh|28|mumbai&lt;/P&gt;

&lt;P&gt;I want to replace "|" to "\  |" before importing to the splunk, I have heard that it is possible if I write it in props.conf but it is not working, Kindly suggest me how to solve this problem as this is needed in urgent basis&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 16:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22709#M3532</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2012-11-04T16:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22710#M3533</link>
      <description>&lt;P&gt;Maybe this is what you need: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 18:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22710#M3533</guid>
      <dc:creator>lrhazi</dc:creator>
      <dc:date>2012-11-04T18:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22711#M3534</link>
      <description>&lt;P&gt;I am trying to use in props.conf but it is not working kindly help me out with some real example&lt;/P&gt;

&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 18:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22711#M3534</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2012-11-04T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22712#M3535</link>
      <description>&lt;P&gt;The page linked before shows really examples. No?&lt;/P&gt;

&lt;P&gt;You should show the relevant part of your props.conf so people can help you.&lt;/P&gt;

&lt;P&gt;I have not used this before, but I would try something like:&lt;/P&gt;

&lt;P&gt;[source::.../abc.log]&lt;BR /&gt;
SEDCMD-abc = y/|/ |/&lt;/P&gt;

&lt;P&gt;That's trying to say: replace any "|" with " |"&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 19:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22712#M3535</guid>
      <dc:creator>lrhazi</dc:creator>
      <dc:date>2012-11-04T19:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22713#M3536</link>
      <description>&lt;P&gt;That should be:&lt;/P&gt;

&lt;P&gt;[source::.../abc.log]&lt;BR /&gt;
SEDCMD-abc = s/|/ |/g&lt;/P&gt;

&lt;P&gt;s for substitute, and g for global, replace all occurrences, not just the first.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 19:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22713#M3536</guid>
      <dc:creator>lrhazi</dc:creator>
      <dc:date>2012-11-04T19:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22714#M3537</link>
      <description>&lt;P&gt;[haha]&lt;BR /&gt;
SHOULD_LINEMERGE = False&lt;BR /&gt;
SEDCMD-dekh=s/|/    |/g&lt;BR /&gt;
REPORT-dekh=dekhbhai&lt;/P&gt;

&lt;P&gt;this is my props.conf but it is not working properly&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 19:31:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22714#M3537</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2012-11-04T19:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22715#M3538</link>
      <description>&lt;P&gt;What is "haha" ? &lt;BR /&gt;
also, try and add a back slash "\" before the first pipe character in the sed command. this forum seems to remove my backslashes:&lt;/P&gt;

&lt;P&gt;SEDCMD-dekh=s/|/    |/g&lt;/P&gt;</description>
      <pubDate>Sun, 04 Nov 2012 19:51:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22715#M3538</guid>
      <dc:creator>lrhazi</dc:creator>
      <dc:date>2012-11-04T19:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22716#M3539</link>
      <description>&lt;P&gt;Unclear to me why you want to do this, or why this would be helpful to you after the data has been imported.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 02:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22716#M3539</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-11-05T02:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22717#M3540</link>
      <description>&lt;P&gt;i have the same problem, how to replace \ with \\ while searching?&lt;BR /&gt;
thankyou for ur time&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 09:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22717#M3540</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2012-11-05T09:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace before importing the data in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22718#M3541</link>
      <description>&lt;P&gt;You're trying to solve the wrong problem. The real problem is why your delimiters aren't working as they should.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 15:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-before-importing-the-data-in-splunk/m-p/22718#M3541</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-05T15:53:33Z</dc:date>
    </item>
  </channel>
</rss>

