<?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 a field using regex at indexing time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313951#M93967</link>
    <description>&lt;P&gt;it removed everything in brackets &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2017 07:43:43 GMT</pubDate>
    <dc:creator>kunalmao</dc:creator>
    <dc:date>2017-10-17T07:43:43Z</dc:date>
    <item>
      <title>How to extract a field using regex at indexing time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313948#M93964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm ingesting the data in JSON format. we have a field event.user, which is auto extracted. is there a way to extract the new field user from event.user filed at indexing time?&lt;/P&gt;

&lt;P&gt;for example:&lt;/P&gt;

&lt;P&gt;event.user :&lt;BR /&gt;
kiran331@SPl, &lt;BR /&gt;
 splunk@ADDS&lt;/P&gt;

&lt;P&gt;I need to extract:&lt;/P&gt;

&lt;P&gt;user:&lt;BR /&gt;
kiran331&lt;BR /&gt;
splunk&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 17:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313948#M93964</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2017-10-16T17:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a field using regex at indexing time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313949#M93965</link>
      <description>&lt;P&gt;The following is great - &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Data/Configureindex-timefieldextraction"&gt;Create custom fields at index time&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 23:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313949#M93965</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-10-16T23:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a field using regex at indexing time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313950#M93966</link>
      <description>&lt;P&gt;props.conf at your indexer&lt;BR /&gt;
[]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
FORMAT = ::$1&lt;BR /&gt;
WRITE_META = [true|false]&lt;BR /&gt;
DEST_KEY = &lt;BR /&gt;
DEFAULT_VALUE = &lt;BR /&gt;
SOURCE_KEY = &lt;BR /&gt;
REPEAT_MATCH = [true|false]&lt;BR /&gt;
LOOKAHEAD = &lt;/P&gt;

&lt;P&gt;and then bind it to transforms.conf at your indexer&lt;/P&gt;

&lt;P&gt;[]&lt;BR /&gt;
TRANSFORMS- = &lt;/P&gt;

&lt;P&gt;for more details you can refer&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Data/Configureindex-timefieldextraction" target="_blank"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313950#M93966</guid>
      <dc:creator>kunalmao</dc:creator>
      <dc:date>2020-09-29T16:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a field using regex at indexing time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313951#M93967</link>
      <description>&lt;P&gt;it removed everything in brackets &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313951#M93967</guid>
      <dc:creator>kunalmao</dc:creator>
      <dc:date>2017-10-17T07:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a field using regex at indexing time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313952#M93968</link>
      <description>&lt;P&gt;You should be able to edit your answer to update the text.  When writing code, put four spaces before each line to convert the text into a code block - this prevents your text from being modified automatically.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 05:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-field-using-regex-at-indexing-time/m-p/313952#M93968</guid>
      <dc:creator>mtulett_splunk</dc:creator>
      <dc:date>2017-11-21T05:25:49Z</dc:date>
    </item>
  </channel>
</rss>

