<?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 create multiple files from a single file? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120312#M32305</link>
    <description>&lt;P&gt;If you have an event with several time the same field, look for multivalue  field extractions.&lt;BR /&gt;
then you can decide to split events.&lt;/P&gt;

&lt;P&gt;look at the option : multivalue in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Managefieldtransforms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Managefieldtransforms&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and later how to split them &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Search/Parsemultivaluefields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Search/Parsemultivaluefields&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2015 15:05:51 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2015-04-01T15:05:51Z</dc:date>
    <item>
      <title>How to create multiple files from a single file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120311#M32304</link>
      <description>&lt;P&gt;I’m analyzing events that may contain one or more file names.   Extracting a file name when there’s only one per event is easy.  With multiple file names, only the first one is recognized.  Consecutive file names are separated by a comma followed by a space.  I’d like to create a separate event for each file name in the event.  The number of filenames listed in an event is unknown.  Events look like this:&lt;/P&gt;

&lt;P&gt;Event A:    _time, IP, user, etc. ….Added files: Filename1, Filename2, Filename3, etc.    &lt;/P&gt;

&lt;P&gt;Desired results would be:&lt;/P&gt;

&lt;P&gt;Event A:    _time, IP, user, etc. ….Added files: Filename1&lt;BR /&gt;
Event B:    _time, IP, user, etc. ….Added files: Filename2&lt;BR /&gt;
Event C:    _time, IP, user, etc. ….Added files: Filename3&lt;/P&gt;

&lt;P&gt;I’m new and have not yet used configs/advanced features so I’m looking for a relatively straightforward solution, if possible. &lt;BR /&gt;
Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120311#M32304</guid>
      <dc:creator>lenafried</dc:creator>
      <dc:date>2015-04-01T15:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple files from a single file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120312#M32305</link>
      <description>&lt;P&gt;If you have an event with several time the same field, look for multivalue  field extractions.&lt;BR /&gt;
then you can decide to split events.&lt;/P&gt;

&lt;P&gt;look at the option : multivalue in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Managefieldtransforms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Managefieldtransforms&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and later how to split them &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Search/Parsemultivaluefields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Search/Parsemultivaluefields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:05:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120312#M32305</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2015-04-01T15:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple files from a single file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120313#M32306</link>
      <description>&lt;P&gt;Titles are separated by "," (no spaces) so I used |makemv delim=","|mvexpand Title| and it worked, for the most part.&lt;/P&gt;

&lt;P&gt;How can I avoid creating new events due to commas that may be embedded in the Title's text, primarily dates and numbers (e.g., October 2, 2009 and 1,234,567)?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 23:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-multiple-files-from-a-single-file/m-p/120313#M32306</guid>
      <dc:creator>lenafried</dc:creator>
      <dc:date>2015-04-06T23:56:46Z</dc:date>
    </item>
  </channel>
</rss>

