<?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 Help with CSV - Special Case in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544245#M154166</link>
    <description>&lt;P&gt;Hello Splunkers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a situation here and need your help and experience. &lt;STRONG&gt;We are looking for&lt;U&gt; best practice to work with Large CSV files (1Million Rows at least) to produce fast searches and fast dashboards.&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The case is also special as these CSV files is updated daily on the below manner:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It's a daily&amp;nbsp;generated report from another system and this is the only why to send data to Splunk.&lt;/LI&gt;&lt;LI&gt;It could have modification as&amp;nbsp; (new Rows with new data/ new modified values of old data/ &lt;STRONG&gt;OR Full Remove of some Rows&lt;/STRONG&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, we need to update Splunk daily on the change of the files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;The only was I can see is to remove the index data and re-index the CSV files everyday!&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know actually how to do that if we need to automate the whole process or if there is a best practice better than this approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Mar 2021 17:56:25 GMT</pubDate>
    <dc:creator>Muwafi</dc:creator>
    <dc:date>2021-03-21T17:56:25Z</dc:date>
    <item>
      <title>Help with CSV - Special Case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544245#M154166</link>
      <description>&lt;P&gt;Hello Splunkers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a situation here and need your help and experience. &lt;STRONG&gt;We are looking for&lt;U&gt; best practice to work with Large CSV files (1Million Rows at least) to produce fast searches and fast dashboards.&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The case is also special as these CSV files is updated daily on the below manner:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It's a daily&amp;nbsp;generated report from another system and this is the only why to send data to Splunk.&lt;/LI&gt;&lt;LI&gt;It could have modification as&amp;nbsp; (new Rows with new data/ new modified values of old data/ &lt;STRONG&gt;OR Full Remove of some Rows&lt;/STRONG&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, we need to update Splunk daily on the change of the files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;The only was I can see is to remove the index data and re-index the CSV files everyday!&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know actually how to do that if we need to automate the whole process or if there is a best practice better than this approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Mar 2021 17:56:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544245#M154166</guid>
      <dc:creator>Muwafi</dc:creator>
      <dc:date>2021-03-21T17:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with CSV - Special Case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544435#M154202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/74233"&gt;@Muwafi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CSV lookups are defined for small sets of data, 1 Million is definitely huge&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;KV store is right choice for your case&lt;/LI&gt;&lt;LI&gt;As you mentioned CSV is the only way you get the details out of your systems on schedule basis, you should research about how to import CSV into KV store&lt;/LI&gt;&lt;LI&gt;KV stores are relatively faster and accept large datasets which helps for your faster dashboard/query loading&lt;/LI&gt;&lt;LI&gt;KV Stores requires at least one KV Store Collection which is a database stores data in key/value pairs. Docs cover how to set-up the same if not already exist in your environment.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Following links&amp;nbsp; would be the starting point to read about them,&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Knowledge/Aboutlookupsandfieldactions" target="_blank"&gt;About lookups - Splunk Documentation&lt;/A&gt;,&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Knowledge/DefineaKVStorelookupinSplunkWeb" target="_blank"&gt;Define a KV Store lookup in Splunk Web - Splunk Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if it helps!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544435#M154202</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-03-19T05:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with CSV - Special Case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544438#M154205</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp; for your collaboration to help. Will try to&amp;nbsp; configure it and let you know how it worked &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-CSV-Special-Case/m-p/544438#M154205</guid>
      <dc:creator>Muwafi</dc:creator>
      <dc:date>2021-03-19T05:24:48Z</dc:date>
    </item>
  </channel>
</rss>

