<?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: map search with dbxquery is not returning any Result in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414628#M50600</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt; &lt;BR /&gt;
Tried the below query, but no results being displayed, only displays count of events.&lt;/P&gt;

&lt;P&gt;index="syslog" TERM(AUS)&lt;BR /&gt;
| table student_id&lt;BR /&gt;
| map search="| dbxquery connection=Student query=\"select distinct address_state, count(*)&lt;BR /&gt;
FROM stud.common.details WHERE group by address_state\" | site='$student_id$' "&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 01:27:25 GMT</pubDate>
    <dc:creator>manunairadavakk</dc:creator>
    <dc:date>2020-09-30T01:27:25Z</dc:date>
    <item>
      <title>map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414626#M50598</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;

&lt;P&gt;I have stumbled upon an issue where my below dbxquery map search is not yielding any results. &lt;BR /&gt;
My intention is to pass a list of student_id values derived from my initial search to the dbxquery and get a list of state with their counts.&lt;/P&gt;

&lt;P&gt;index="syslog" TERM(AUS)&lt;BR /&gt;
          | table student_id&lt;BR /&gt;
          | map search="dbxquery query=\"select distinct address_state, count(*)&lt;BR /&gt;
            FROM stud.common.details WHERE site='$student_id$'  group by address_state\" connection=Student"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414626#M50598</guid>
      <dc:creator>manunairadavakk</dc:creator>
      <dc:date>2020-09-30T01:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414627#M50599</link>
      <description>&lt;P&gt;@manunairadavakkat &lt;/P&gt;

&lt;P&gt;try by adding &lt;CODE&gt;|&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="syslog" TERM(AUS)
| table student_id
| map search="| dbxquery query=\"select distinct address_state, count(*)
FROM stud.common.details WHERE site='$student_id$' group by address_state\" connection=Student"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jul 2019 07:22:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414627#M50599</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-07-26T07:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414628#M50600</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt; &lt;BR /&gt;
Tried the below query, but no results being displayed, only displays count of events.&lt;/P&gt;

&lt;P&gt;index="syslog" TERM(AUS)&lt;BR /&gt;
| table student_id&lt;BR /&gt;
| map search="| dbxquery connection=Student query=\"select distinct address_state, count(*)&lt;BR /&gt;
FROM stud.common.details WHERE group by address_state\" | site='$student_id$' "&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414628#M50600</guid>
      <dc:creator>manunairadavakk</dc:creator>
      <dc:date>2020-09-30T01:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414629#M50601</link>
      <description>&lt;P&gt;@manunairadavakkat&lt;/P&gt;

&lt;P&gt;What are your required columns?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 07:43:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414629#M50601</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-07-26T07:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414630#M50602</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt; &lt;BR /&gt;
Required columns :  address_state, count(*) &lt;/P&gt;

&lt;P&gt;It should include all those student_id from the earlier search ----&lt;BR /&gt;
index="syslog" TERM(AUS)&lt;BR /&gt;
| table student_id&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414630#M50602</guid>
      <dc:creator>manunairadavakk</dc:creator>
      <dc:date>2020-09-30T01:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414631#M50603</link>
      <description>&lt;P&gt;@manunairadavakkat&lt;/P&gt;

&lt;P&gt;Can you please try this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="syslog" TERM(AUS)
| table student_id
| map search="| dbxquery connection=Student query=\"select distinct address_state, count(*) as count
FROM stud.common.details WHERE group by address_state\" | site='$student_id$' | eval student_id='$student_id$' | table student_id address_state count"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414631#M50603</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-07-26T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414632#M50604</link>
      <description>&lt;P&gt;@kamlesh_vaghela &lt;BR /&gt;
It does not give any results.&lt;/P&gt;

&lt;P&gt;Only the below count is shown:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;21,657 events   (26/07/2019 18:01:01.000 to 26/07/2019 18:16:01.000)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"No results found" message  in the result box&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:18:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414632#M50604</guid>
      <dc:creator>manunairadavakk</dc:creator>
      <dc:date>2019-07-26T08:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414633#M50605</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/197149"&gt;@manunairadavakk&lt;/a&gt;at&lt;/P&gt;

&lt;P&gt;Can you please execute below search by passing &lt;CODE&gt;student_id&lt;/CODE&gt; and check results?&lt;/P&gt;

&lt;P&gt;| dbxquery connection=Student query="select distinct address_state, count(*) as count&lt;BR /&gt;
 FROM stud.common.details WHERE group by address_state" | site='$student_id$' | eval student_id='$student_id$' | table student_id address_state count&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414633#M50605</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2020-09-30T01:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414634#M50606</link>
      <description>&lt;P&gt;@kamlesh_vaghela &lt;/P&gt;

&lt;P&gt;Ran the query directly, it  shows 117 results.&lt;BR /&gt;
When running the above query as well, it shows event count as 117, but no results are displayed&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 10:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414634#M50606</guid>
      <dc:creator>manunairadavakk</dc:creator>
      <dc:date>2019-07-26T10:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414635#M50607</link>
      <description>&lt;P&gt;is it possible to share a screenshot? &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 11:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/414635#M50607</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-07-26T11:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/520588#M63521</link>
      <description>&lt;P&gt;Hi, were you able to solve the problem ? I am facing the same issue&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 11:29:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/520588#M63521</guid>
      <dc:creator>Nikitha</dc:creator>
      <dc:date>2020-09-21T11:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: map search with dbxquery is not returning any Result</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/554490#M65811</link>
      <description>&lt;P&gt;Looks like I'm facing the same issue. When I run the dbxquery directly from the SPL search window it works just fine, but inside the map-command it just hangs forever. Did you ever get this to work?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/map-search-with-dbxquery-is-not-returning-any-Result/m-p/554490#M65811</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2021-06-04T14:09:59Z</dc:date>
    </item>
  </channel>
</rss>

