<?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 can I combine two CSV files? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323101#M60175</link>
    <description>&lt;P&gt;@Sagar0511, can you give what are the field names in the two CSV and how do you want the output with sample mock data in tabular format?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 09:25:31 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-10-23T09:25:31Z</dc:date>
    <item>
      <title>How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323099#M60173</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;

&lt;P&gt;I want to combine data from two .csv files which are &lt;STRONG&gt;"CBIG-SIN Updated" and "Hostnames Files"&lt;/STRONG&gt; files names and the output should be displayed in one file with relevant information of each file. In both the files the Header names are different. &lt;BR /&gt;
I have tried the commands such as inputlookup, inputcsv and then the append with the next file. But none of them are working.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323099#M60173</guid>
      <dc:creator>Sagar0511</dc:creator>
      <dc:date>2017-10-23T09:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323100#M60174</link>
      <description>&lt;P&gt;can you post sample data of both the files and final sample output you require? We have no clue what you mean by CBIG_SIN until there is some sample data.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323100#M60174</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-10-23T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323101#M60175</link>
      <description>&lt;P&gt;@Sagar0511, can you give what are the field names in the two CSV and how do you want the output with sample mock data in tabular format?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323101#M60175</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-23T09:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323102#M60176</link>
      <description>&lt;P&gt;Header of file1: Date Time Interface Origin Type Action Service Source Port Source Destination Protocol Rule Rule Name Current Rule Number User Information Product Source Machine Name Source User Name&lt;/P&gt;

&lt;P&gt;Header of file2: Name Type Location FW1 IP-Address Netmask NAT-Address NAT-Type Members Comment&lt;/P&gt;

&lt;P&gt;In the result/Output I want both the result combining of File1 and File2. So it will be easy to search the hostnames/IP's&lt;/P&gt;

&lt;P&gt;CBIG_SIN is the CSV file name.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323102#M60176</guid>
      <dc:creator>Sagar0511</dc:creator>
      <dc:date>2017-10-23T10:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323103#M60177</link>
      <description>&lt;P&gt;Header of file1: Date Time Interface Origin Type Action Service Source Port Source Destination Protocol Rule Rule Name Current Rule Number User Information Product Source Machine Name Source User Name&lt;/P&gt;

&lt;P&gt;Header of file2: Name Type Location FW1 IP-Address Netmask NAT-Address NAT-Type Members Comment&lt;/P&gt;

&lt;P&gt;In the result/Output I want both the result combining of File1 and File2. So it will be easy to search the hostnames/IP's&lt;/P&gt;

&lt;P&gt;CBIG_SIN is the CSV file name.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323103#M60177</guid>
      <dc:creator>Sagar0511</dc:creator>
      <dc:date>2017-10-23T10:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323104#M60178</link>
      <description>&lt;P&gt;Please suggest&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 09:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323104#M60178</guid>
      <dc:creator>Sagar0511</dc:creator>
      <dc:date>2017-10-24T09:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine two CSV files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323105#M60179</link>
      <description>&lt;P&gt;Please find the below same Header and data for both the files&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Header and data of first csv file&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Number-Date-Time-Interface-Origin-Type-Action-Service-Source Port-Source-Destination-Protocol-Rule-Rule Name-Current Rule Number-User-Information-Product-SourceMachineName-Source User Name&lt;/P&gt;

&lt;P&gt;1-16-Oct-17-23:58:58-eth2-xxxx-Log-Drop-xxxx-38611-hostxx.xx.xx.xx.static.arubacloud.de-xx.xx.xxx.xxx   udp-26-26CBIG-SIN-Consolidation-NA-NA-Security Gateway/Management-NA-NA&lt;/P&gt;

&lt;P&gt;2-16-Oct-17-23:59:00-eth1-xxxx-Log-Accep-xxxx-62006-Host_xx.xx.xx.xx.-SINDSITNCDB03AV_xx.xxx.xxx.xxx    tcp-271-    271-CBIG-SIN-Consolidation-NA-inzone Internal outzone Externalservice_id: TCP_135-Security Gateway/Management-NA-NA&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Header and Data of second csv file&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Nr-Name-Type-Location-FW1-IP-Netmask-NATAddress-NATType-Members-Comment&lt;/P&gt;

&lt;P&gt;1 Attack_IP_xx.x.xx.xxx host-NA-NA-xx.x.xx.xxx-NA-NA-NA-NA-NA                                               &lt;/P&gt;

&lt;P&gt;2 xx.xx.xx.xxx group-NA-NA-NA-NA-NA-NA-Net_xx.xx.x.x Net_xx.xx.x.x-x-NA&lt;/P&gt;

&lt;P&gt;3 UFTP_xx.xx.xx.xxx host-NA-NA-xx.xx.xx.xxx-NA-NA-NA-NA-NA&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:28:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-combine-two-CSV-files/m-p/323105#M60179</guid>
      <dc:creator>Sagar0511</dc:creator>
      <dc:date>2020-09-29T16:28:11Z</dc:date>
    </item>
  </channel>
</rss>

