<?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: Lookups on multivalued fields without mvexpand in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442412#M1396</link>
    <description>&lt;P&gt;csv lookups are not multivalve aware. convert your lookup to kvstore based. it is mv compatible by default.&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 17:23:14 GMT</pubDate>
    <dc:creator>starcher</dc:creator>
    <dc:date>2019-05-09T17:23:14Z</dc:date>
    <item>
      <title>Lookups on multivalued fields without mvexpand</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442409#M1393</link>
      <description>&lt;P&gt;The requirement is to get the Decision_type and priority from the csv file by comparing the values of log files.&lt;BR /&gt;
The log file would have the same column name of lookup file.&lt;/P&gt;

&lt;P&gt;I've created a table with the required columns from the log files and the next step is to compare the table value with multi-valued csv files and get the values of 2 columns. Since the csv file has multiple rows and columns with multi-value, makemv &amp;amp; mvexpand occupies the space in splunk (due to some storage constraint). &lt;/P&gt;

&lt;P&gt;Search query for sample case_Id: 4157377 :&lt;/P&gt;

&lt;P&gt;4157377 "TAT_DECISION" | eval casetime=strftime(_time, "%d-%m-%Y %H:%M:%S") | table casetime REVIEW_TYPE LENGTH_OF_STAY REQUEST_TYPE | sort by casetime desc&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/272658-capture1.png" alt="alt text" /&gt;&lt;BR /&gt;
csv file lookup data:&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/272657-capture.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I would like to know that there is anyway to get the values of required columns from the csv file without using makemv, mvexpand commands.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442409#M1393</guid>
      <dc:creator>pratheep1980</dc:creator>
      <dc:date>2020-09-30T00:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lookups on multivalued fields without mvexpand</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442410#M1394</link>
      <description>&lt;P&gt;The space issue was due to the csv file was expanded and written into other output csv file. I am ok to use the makemv and mvexpand in the query itself, if it returns the value fast.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 10:48:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442410#M1394</guid>
      <dc:creator>pratheep1980</dc:creator>
      <dc:date>2019-05-08T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lookups on multivalued fields without mvexpand</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442411#M1395</link>
      <description>&lt;P&gt;Which field would you be performing the lookup on in the csv?  Is it REVIEW_TYPE, LENGTH_OF_STAY, REQUEST_TYPE, or some combination of those?  It's possible to do this type of lookup by making your lookup definition point to the csv file with a match type.  Here's a link to the documentation on it: &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Knowledge/Usefieldlookupstoaddinformationtoyourevents#Create_a_CSV_lookup_definition" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Knowledge/Usefieldlookupstoaddinformationtoyourevents#Create_a_CSV_lookup_definition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Match type A comma and space-delimited list of &amp;lt;match_type&amp;gt;(&amp;lt;field_name&amp;gt;) specification to allow for non-exact matching. The available match_type values are WILDCARD, CIDR, and EXACT. EXACT is the default. Specify the fields that use WILDCARD or CIDR in this list.&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442411#M1395</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2020-09-30T00:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lookups on multivalued fields without mvexpand</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442412#M1396</link>
      <description>&lt;P&gt;csv lookups are not multivalve aware. convert your lookup to kvstore based. it is mv compatible by default.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 17:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Lookups-on-multivalued-fields-without-mvexpand/m-p/442412#M1396</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2019-05-09T17:23:14Z</dc:date>
    </item>
  </channel>
</rss>

