<?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: What is the syntax for |makemv delim=&amp;quot;|&amp;quot; when writing it in the props.conf file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276465#M53005</link>
    <description>&lt;P&gt;Can you try creating this from Splunk Web UI? (Settings-&amp;gt;Fields -&amp;gt;Calculated fields)&lt;/P&gt;

&lt;P&gt;I hope you're creating these props.conf on the Search Head server.&lt;BR /&gt;
Only the validation 1 is valid. &lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2016 17:21:22 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-12-12T17:21:22Z</dc:date>
    <item>
      <title>What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276460#M53000</link>
      <description>&lt;P&gt;This works in the search bar &lt;CODE&gt;|makemv delim="|"&lt;/CODE&gt;, but not when I put that in the props.conf file.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 21:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276460#M53000</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-09T21:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276461#M53001</link>
      <description>&lt;P&gt;Try setting up calculated field with split command.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Knowledge/definecalcfields"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Knowledge/definecalcfields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;e.g. &lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
EVAL-YourFieldName = split(YourFieldName,"|")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2016 22:06:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276461#M53001</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-09T22:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276462#M53002</link>
      <description>&lt;P&gt;I followed the syntax and it didn't work but does work in the search bar but i guess the .conf syntax is wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 22:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276462#M53002</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-09T22:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276463#M53003</link>
      <description>&lt;P&gt;Did you restart Splunk after you added this in props.conf? Did you create a local.meta entry for this? May be try adding this from Settings-&amp;gt;Fields -&amp;gt; Calculated fields.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 22:38:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276463#M53003</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-09T22:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276464#M53004</link>
      <description>&lt;P&gt;Yes I restarted splunk after adding it to the props.conf and it still didn't work. I am not sure what the local.meta entry would be or used?&lt;/P&gt;

&lt;P&gt;different variations I have tried:&lt;BR /&gt;
EVAL-YourFieldName = split(YourFieldName,"|")&lt;BR /&gt;
EVAL-YourFieldName YourFieldName = split(YourFieldName,"|")&lt;BR /&gt;
EVAL-YourFieldName = YourFieldName = split(YourFieldName,"|")&lt;/P&gt;

&lt;P&gt;Maybe an extra set of qoutes may do it&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 17:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276464#M53004</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-12T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276465#M53005</link>
      <description>&lt;P&gt;Can you try creating this from Splunk Web UI? (Settings-&amp;gt;Fields -&amp;gt;Calculated fields)&lt;/P&gt;

&lt;P&gt;I hope you're creating these props.conf on the Search Head server.&lt;BR /&gt;
Only the validation 1 is valid. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 17:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276465#M53005</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-12T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276466#M53006</link>
      <description>&lt;P&gt;yes as the props.conf has other stanzas which work fine.... just want to add the eval split command. And the UI didn't work either... there has to be some documentation on the syntax used in .conf files for calculated commands.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 21:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276466#M53006</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-12T21:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276467#M53007</link>
      <description>&lt;P&gt;The syntax is available in the link that I provided (and also in the props.conf specification). Did you get any error while creating it from UI OR it just didn't work? After you created from UI, there should be props.conf entry created for that calculated field, could you provide that here? (check props.conf on the local folder under current app context).&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 21:49:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276467#M53007</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-12T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276468#M53008</link>
      <description>&lt;P&gt;it is.... EVAL- = split(,"|") is the entry in the props.conf file after I created it in from the UI and didn't work.... I also have field alias and lookups in the props.conf file&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 22:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276468#M53008</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-12T22:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276469#M53009</link>
      <description>&lt;P&gt;This sounds like a use case for fields.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[myfield]
TOKENIZER = ([^\|]+)\|?
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Dec 2016 17:53:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276469#M53009</guid>
      <dc:creator>beatus</dc:creator>
      <dc:date>2016-12-13T17:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276470#M53010</link>
      <description>&lt;P&gt;Figured out why it isn't working. The props.conf documentation states: &lt;/P&gt;

&lt;P&gt;"Splunk processes calculated fields after field extraction and field&lt;BR /&gt;
  aliasing but before lookups. This means that:&lt;BR /&gt;
  * You can use a field alias in the eval statement for a calculated&lt;BR /&gt;
    field.&lt;BR /&gt;
  * You cannot use a field added through a lookup in an eval statement for a&lt;BR /&gt;
    calculated field."&lt;/P&gt;

&lt;P&gt;and my  input within my EVAL command was set by a lookup. So thats the reason it doesn't work &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276470#M53010</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-13T18:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276471#M53011</link>
      <description>&lt;P&gt;it worked. Thanks! I created the fields.conf and hex works as well. &lt;BR /&gt;
[myfield]&lt;BR /&gt;
TOKENIZER = ([^\x7c]+)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 19:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276471#M53011</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-13T19:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276472#M53012</link>
      <description>&lt;P&gt;Figured out why it isn't working. The props.conf documentation states:&lt;/P&gt;

&lt;P&gt;"Splunk processes calculated fields after field extraction and field&lt;BR /&gt;
aliasing but before lookups. This means that:&lt;BR /&gt;
You can use a field alias in the eval statement for a calculated&lt;BR /&gt;
field.&lt;BR /&gt;
You cannot use a field added through a lookup in an eval statement for a&lt;BR /&gt;
calculated field."&lt;/P&gt;

&lt;P&gt;Had to create fields.conf. Details in accepted answer below.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 14:28:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276472#M53012</guid>
      <dc:creator>Yepeza</dc:creator>
      <dc:date>2016-12-14T14:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is the syntax for |makemv delim="|" when writing it in the props.conf file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276473#M53013</link>
      <description>&lt;P&gt;Glad it worked! You can also use a tokenizer in |makemv to test before putting the configs in place.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-syntax-for-makemv-delim-quot-quot-when-writing-it-in/m-p/276473#M53013</guid>
      <dc:creator>beatus</dc:creator>
      <dc:date>2016-12-14T15:11:40Z</dc:date>
    </item>
  </channel>
</rss>

