<?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: cant concatenate indexed data in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26136#M22063</link>
    <description>&lt;P&gt;Is this transform referred to in props.conf using the EXTRACT directive or TRANSFORMS directive? Could you paste the props.conf section?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2011 07:57:22 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2011-12-01T07:57:22Z</dc:date>
    <item>
      <title>cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26135#M22062</link>
      <description>&lt;P&gt;concatenating fields at index time doesn't seem to work. I have the following transform:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[gztdnv]
REGEX = &amp;lt;td&amp;gt;\s+(\S+)\s+(\S+)
FORMAT = td_nv::$1.$2
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the data looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"&amp;lt;td&amp;gt; BW  400"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would expect to see a value for td_nv of BW400 after the search.  However, the transform remains in its unprocessed state indicating that td_nv is simply "$1.$2". If I just use $1 or $2 it is evaluated correctly with that piece.&lt;/P&gt;

&lt;P&gt;This is described in the splunk docs section under "create custom fields at index time".  Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26135#M22062</guid>
      <dc:creator>cwi</dc:creator>
      <dc:date>2020-09-28T10:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26136#M22063</link>
      <description>&lt;P&gt;Is this transform referred to in props.conf using the EXTRACT directive or TRANSFORMS directive? Could you paste the props.conf section?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 07:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26136#M22063</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-12-01T07:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26137#M22064</link>
      <description>&lt;P&gt;There might be a couple of issues here but try this and let me know if it works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[gztdnv]
REGEX = \&amp;lt;td\&amp;gt;\s+(\S+)\s+(\S+)
FORMAT = $1::$2
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The "&amp;lt;" and "&amp;gt;" have to be escaped with a backslash "\". Also if you are creating a grouping in the REGEX then the FORMAT has to be "$1::$2". &lt;/P&gt;

&lt;P&gt;Here is a link to more information:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.4/Data/Configureindex-timefieldextraction"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.4/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 15:15:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26137#M22064</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-12-01T15:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26138#M22065</link>
      <description>&lt;P&gt;Tried it with both FORMAT suggestions with no change so far.  The props.conf entry is below.  FYI, all the other extracts and reports pieces work.&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;

&lt;P&gt;[MyLogs]&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
LINE_BREAKER = (?!)&lt;BR /&gt;
BREAK_ONLY_BEFORE = ^&lt;SEGNAME&gt; &lt;BR /&gt;
TIME_PREFIX = ^&lt;START&gt;\s+&lt;BR /&gt;
EXTRACT-segName = ^&lt;SEGNAME&gt; (?&lt;SEGNAME&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-testName = ^&lt;TESTNAME&gt; (?&lt;TESTNAME&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-testExec = ^&lt;TESTEXEC&gt; (?&lt;TESTEXEC&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-npes = ^&lt;NPES&gt; (?&lt;NPES&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-JobID = ^&lt;JOBID&gt; (?&lt;JOBID&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-compiler = ^&lt;COMPILER&gt; (?&lt;COMPILER&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-params = ^&lt;PARAMS&gt; (?&lt;PARAMS&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-rmgr = ^&lt;RMGR&gt; (?&lt;RMGR&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-user = ^&lt;USER&gt; (?&lt;USER&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-vers = ^&lt;VERS&gt; (?&lt;VERS&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-start = ^&lt;START&gt; (?&lt;START&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-end = ^&lt;END&gt; (?&lt;END&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-results = ^\s*&lt;RESULTS&gt;\s+(?&lt;RESULTS&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-nodes = ^&lt;NODES&gt; (?&lt;NODES&gt;[^\n]+)&lt;BR /&gt;
EXTRACT-real = ^real\s+(?&lt;RUNTIME&gt;[^\n]+)&lt;BR /&gt;
REPORT-gztd = gztd&lt;BR /&gt;
REPORT-gztdnv = gztdnv&lt;BR /&gt;
REPORT-gzresults = gzresults&lt;/RUNTIME&gt;&lt;/NODES&gt;&lt;/NODES&gt;&lt;/RESULTS&gt;&lt;/RESULTS&gt;&lt;/END&gt;&lt;/END&gt;&lt;/START&gt;&lt;/START&gt;&lt;/VERS&gt;&lt;/VERS&gt;&lt;/USER&gt;&lt;/USER&gt;&lt;/RMGR&gt;&lt;/RMGR&gt;&lt;/PARAMS&gt;&lt;/PARAMS&gt;&lt;/COMPILER&gt;&lt;/COMPILER&gt;&lt;/JOBID&gt;&lt;/JOBID&gt;&lt;/NPES&gt;&lt;/NPES&gt;&lt;/TESTEXEC&gt;&lt;/TESTEXEC&gt;&lt;/TESTNAME&gt;&lt;/TESTNAME&gt;&lt;/SEGNAME&gt;&lt;/SEGNAME&gt;&lt;/START&gt;&lt;/SEGNAME&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26138#M22065</guid>
      <dc:creator>cwi</dc:creator>
      <dc:date>2020-09-28T10:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26139#M22066</link>
      <description>&lt;P&gt;You're using REPORT instead of TRANSFORMS for the fields you are trying to concatenate. REPORT is a definition for a search-time extraction, not an index-time extraction. You need to use TRANSFORMS if you want to concatenate values, as this is not supported for search-time extractions.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 20:21:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26139#M22066</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-12-01T20:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26140#M22067</link>
      <description>&lt;P&gt;&amp;lt; and &amp;gt; do not need to be escaped.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 20:22:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26140#M22067</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-12-01T20:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: cant concatenate indexed data</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26141#M22068</link>
      <description>&lt;P&gt;no luck so far... here are the three key files.  Restarted splunk and no td_nv field even appears....&lt;/P&gt;

&lt;P&gt;transforms.conf :&lt;/P&gt;

&lt;P&gt;[gztdnv]&lt;BR /&gt;
REGEX = \s+(\S+)\s+(\S+)\s+(\S+)&lt;BR /&gt;
FORMAT = td_nv::"$1.$2"&lt;BR /&gt;
WRITE_META = true&lt;/P&gt;

&lt;P&gt;props.conf :&lt;/P&gt;

&lt;P&gt;[mylogs]&lt;BR /&gt;
TRANSFORMS-gztdnv = gztdnv&lt;/P&gt;

&lt;P&gt;fields.conf:&lt;/P&gt;

&lt;P&gt;[td_nv]&lt;BR /&gt;
INDEXED=true&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:10:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/cant-concatenate-indexed-data/m-p/26141#M22068</guid>
      <dc:creator>cwi</dc:creator>
      <dc:date>2020-09-28T10:10:43Z</dc:date>
    </item>
  </channel>
</rss>

