<?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: Is it possible to add comments to lines in a CSV file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191971#M38263</link>
    <description>&lt;P&gt;CSVs the way you mean them are treated in a different way than regular log files.&lt;BR /&gt;
There are 2 basic kinds:&lt;/P&gt;

&lt;P&gt;"just CSVs", which are only accessed via "| inputcsv" and "| outputcsv"&lt;BR /&gt;
lookup CSVs, which are accessed with commands "| lookup", "| inputlookup" and "| outputlookup"&lt;/P&gt;

&lt;P&gt;Use the oputputcsv or outputlookup commands to add comment to your CSV in Splunk web&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2015 17:04:04 GMT</pubDate>
    <dc:creator>jensonthottian</dc:creator>
    <dc:date>2015-08-24T17:04:04Z</dc:date>
    <item>
      <title>Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191970#M38262</link>
      <description>&lt;P&gt;Is it possible to add comments to lines in a csv file? I'd like to be able to #comment.&lt;/P&gt;

&lt;P&gt;For example, csv list of IP ranges.&lt;BR /&gt;
src&lt;BR /&gt;
1.1.1.0/24 #comment&lt;BR /&gt;
2.2.2.0/24 #comment&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 16:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191970#M38262</guid>
      <dc:creator>mikesangray</dc:creator>
      <dc:date>2015-08-24T16:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191971#M38263</link>
      <description>&lt;P&gt;CSVs the way you mean them are treated in a different way than regular log files.&lt;BR /&gt;
There are 2 basic kinds:&lt;/P&gt;

&lt;P&gt;"just CSVs", which are only accessed via "| inputcsv" and "| outputcsv"&lt;BR /&gt;
lookup CSVs, which are accessed with commands "| lookup", "| inputlookup" and "| outputlookup"&lt;/P&gt;

&lt;P&gt;Use the oputputcsv or outputlookup commands to add comment to your CSV in Splunk web&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:04:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191971#M38263</guid>
      <dc:creator>jensonthottian</dc:creator>
      <dc:date>2015-08-24T17:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191972#M38264</link>
      <description>&lt;P&gt;How is this CSV stored in Splunk?? Lookup table files OR it's indexed in some index??&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191972#M38264</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-24T17:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191973#M38265</link>
      <description>&lt;P&gt;For now this is just a single lookup file used by "|inputlookup file.csv" stored in /opt/splunk/etc/system/lookups. &lt;/P&gt;

&lt;P&gt;I'm using the file to exclude results from a search...so "if in lookup file, then don't return in search results, just give me everything else."&lt;/P&gt;

&lt;P&gt;Soon I will transition it into a lookup table, indexed log file, or maybe even into a database and use db connect, but for now I'm still learning splunk and doing only newbie-style lookups.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:38:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191973#M38265</guid>
      <dc:creator>mikesangray</dc:creator>
      <dc:date>2015-08-24T18:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191974#M38266</link>
      <description>&lt;P&gt;Use some thing like this for  "exclude results from a search...so "if in lookup file, then don't return in search results, just give me everything else."&lt;/P&gt;

&lt;P&gt;your base search NOT [|inputlookup file.csv |table coloumnName]&lt;/P&gt;

&lt;P&gt;This should do it.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:56:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191974#M38266</guid>
      <dc:creator>jensonthottian</dc:creator>
      <dc:date>2015-08-24T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191975#M38267</link>
      <description>&lt;P&gt;Okay, I've got it working now. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 20:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191975#M38267</guid>
      <dc:creator>mikesangray</dc:creator>
      <dc:date>2015-08-25T20:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add comments to lines in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191976#M38268</link>
      <description>&lt;P&gt;Look at the answer here for a solution:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/32704/lookup-tables-and-comments.html"&gt;https://answers.splunk.com/answers/32704/lookup-tables-and-comments.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Short:&lt;BR /&gt;
Add a comment field and do not use that field in any reference.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 19:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-add-comments-to-lines-in-a-CSV-file/m-p/191976#M38268</guid>
      <dc:creator>tomaslo</dc:creator>
      <dc:date>2018-01-31T19:58:26Z</dc:date>
    </item>
  </channel>
</rss>

