<?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 How to return values from lookup table based on input given? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-return-values-from-lookup-table-based-on-input-given/m-p/624125#M51166</link>
    <description>&lt;P&gt;I have a lookup table with three columns Endpoints, Rate, Window&lt;BR /&gt;I want to get the window value for a particular endpoint provided by me which i will use in my main query&lt;BR /&gt;&lt;BR /&gt;The Query looks like this&lt;BR /&gt;&lt;BR /&gt;sourcetype="blabla" http_url = "some endpoint"&lt;BR /&gt;minutesago= |inputlookup SomeFile.csv | search Endpoint = "Some endpoint" | return Window&lt;BR /&gt;&lt;BR /&gt;I get an error running this query&lt;BR /&gt;&lt;SPAN&gt;Error in 'search' command: Unable to parse the search: Comparator '=' is missing a term on the right hand side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 15:16:38 GMT</pubDate>
    <dc:creator>amitrinx</dc:creator>
    <dc:date>2022-12-13T15:16:38Z</dc:date>
    <item>
      <title>How to return values from lookup table based on input given?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-return-values-from-lookup-table-based-on-input-given/m-p/624125#M51166</link>
      <description>&lt;P&gt;I have a lookup table with three columns Endpoints, Rate, Window&lt;BR /&gt;I want to get the window value for a particular endpoint provided by me which i will use in my main query&lt;BR /&gt;&lt;BR /&gt;The Query looks like this&lt;BR /&gt;&lt;BR /&gt;sourcetype="blabla" http_url = "some endpoint"&lt;BR /&gt;minutesago= |inputlookup SomeFile.csv | search Endpoint = "Some endpoint" | return Window&lt;BR /&gt;&lt;BR /&gt;I get an error running this query&lt;BR /&gt;&lt;SPAN&gt;Error in 'search' command: Unable to parse the search: Comparator '=' is missing a term on the right hand side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 15:16:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-return-values-from-lookup-table-based-on-input-given/m-p/624125#M51166</guid>
      <dc:creator>amitrinx</dc:creator>
      <dc:date>2022-12-13T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Return values from lookup table based on input given</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-return-values-from-lookup-table-based-on-input-given/m-p/624151#M51171</link>
      <description>&lt;P&gt;It looks like you're trying to use a subsearch without putting the subsearch inside brackets.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="blabla" http_url = "some endpoint"
minutesago=[|inputlookup SomeFile.csv | search Endpoint = "Some endpoint" | return $Window]&lt;/LI-CODE&gt;&lt;P&gt;Using &lt;FONT face="courier new,courier"&gt;$Window&lt;/FONT&gt; tells the &lt;FONT face="courier new,courier"&gt;return&lt;/FONT&gt; command to return only the field value rather than a key/value pair.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 15:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-return-values-from-lookup-table-based-on-input-given/m-p/624151#M51171</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-13T15:09:45Z</dc:date>
    </item>
  </channel>
</rss>

