<?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 How to divide field value using &amp;quot;line break&amp;quot; as a delimiter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405114#M71902</link>
    <description>&lt;P&gt;I have a lookup that I try to divide using a "line break" as a delimiter. It's kind of hard to explain so I  attached a screenshot of what I would like to do.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7394i103173472BBC09A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
In the screenshot you can see that there is a line break between the data (eg. Data1 and Data2). &lt;/P&gt;

&lt;P&gt;Would this be possible to do in splunk? thanks&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 00:32:07 GMT</pubDate>
    <dc:creator>salt87</dc:creator>
    <dc:date>2019-07-24T00:32:07Z</dc:date>
    <item>
      <title>How to divide field value using "line break" as a delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405114#M71902</link>
      <description>&lt;P&gt;I have a lookup that I try to divide using a "line break" as a delimiter. It's kind of hard to explain so I  attached a screenshot of what I would like to do.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7394i103173472BBC09A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
In the screenshot you can see that there is a line break between the data (eg. Data1 and Data2). &lt;/P&gt;

&lt;P&gt;Would this be possible to do in splunk? thanks&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 00:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405114#M71902</guid>
      <dc:creator>salt87</dc:creator>
      <dc:date>2019-07-24T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to divide field value using "line break" as a delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405115#M71903</link>
      <description>&lt;P&gt;Is this your input file? And are you trying to add this file into Splunk and process it?&lt;/P&gt;

&lt;P&gt;If yes, what's the expected processed result out of this input file?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2019 06:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405115#M71903</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2019-07-27T06:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to divide field value using "line break" as a delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405116#M71904</link>
      <description>&lt;P&gt;Splunk is a plain-text tool so why in the world would you post an image?  We cannot help you.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 12:50:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405116#M71904</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-28T12:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to divide field value using "line break" as a delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405117#M71905</link>
      <description>&lt;P&gt;I wonder if some of your terminology is keeping folks from being able to form a constructive answer... a lookup in Splunk is  one of several formats, but they are all specific and structured. The delimiter is specific. &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Knowledge/Aboutlookupsandfieldactions"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/Knowledge/Aboutlookupsandfieldactions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Depending on how large and dynamic this file is, you might be better off pre-processing it and then feeding it in as a lookup either to the KV store or as a csv.  But you could also legitimately read that file (if it is very dynamic and perhaps very large) into an index (you can have as many indexes as you like) using whatever you like as your delimiter.  When the destination is an index... Splunk has a very powerful parsing capability that allows you to describe whatever the shape of your line and the break. You would do this in the &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Admin/propsconf"&gt;props.conf&lt;/A&gt; file.  &lt;/P&gt;

&lt;P&gt;The confusion I think is that you appear to have data that is the result of a report on top (not events, nor is it a format for which you would use as a lookup) and on the bottom is something more along the lines of what you might use for a lookup. But ALL of it is "pipe" delimited. Each line would be broken with a carriage return and line feed &lt;CODE&gt;([\r\n]+)&lt;/CODE&gt; and you can choose to represent all of it in a number of ways.  You are going to want to start &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Data/Configureeventlinebreaking"&gt;here:&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Hopefully this will get you started... if not. Can you perhaps elaborate on your use case please?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 03:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405117#M71905</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2019-07-29T03:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to divide field value using "line break" as a delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405118#M71906</link>
      <description>&lt;P&gt;" It's kind of hard to explain so I attached a screenshot of what I would like to do."&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2019 23:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405118#M71906</guid>
      <dc:creator>salt87</dc:creator>
      <dc:date>2019-08-11T23:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to divide field value using "line break" as a delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405119#M71907</link>
      <description>&lt;P&gt;You are still not make sense.  Show us your raw event data, then show us a mockup of your desired final output.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 02:55:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-divide-field-value-using-quot-line-break-quot-as-a/m-p/405119#M71907</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-12T02:55:03Z</dc:date>
    </item>
  </channel>
</rss>

