<?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 can I refer part of query as a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647633#M224145</link>
    <description>&lt;P&gt;I have a dbx query plus SPL commands that makes me a certain table, which I want to refer to via a table name, is it possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The present table needs some new columns and that's what the above query adds, but the schema for my final table for my bar chart is a little different from the source table and hence I can't build on top of the above query using |, or I don't know how. Hence I was wondering if I can just use this via a table name.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2023 16:02:32 GMT</pubDate>
    <dc:creator>jonvijay1993</dc:creator>
    <dc:date>2023-06-20T16:02:32Z</dc:date>
    <item>
      <title>How can I refer part of query as a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647633#M224145</link>
      <description>&lt;P&gt;I have a dbx query plus SPL commands that makes me a certain table, which I want to refer to via a table name, is it possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The present table needs some new columns and that's what the above query adds, but the schema for my final table for my bar chart is a little different from the source table and hence I can't build on top of the above query using |, or I don't know how. Hence I was wondering if I can just use this via a table name.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 16:02:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647633#M224145</guid>
      <dc:creator>jonvijay1993</dc:creator>
      <dc:date>2023-06-20T16:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Refer part of query as a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647636#M224146</link>
      <description>&lt;P&gt;There is a mixture of naming here - You can saved a search as a named search which you can execute in another search. Does this satisfy your usecase?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 15:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647636#M224146</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-06-20T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Refer part of query as a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647637#M224147</link>
      <description>&lt;P&gt;My use case is I want to change this&lt;/P&gt;&lt;P&gt;select * from (an entire query replacing a table name)&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;select * from a_table&lt;/P&gt;&lt;P&gt;normally I would add the query in the table name as an emergency solution but the query has dbxquery and join etc that makes splunk go crazy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I shall look into named searches, thank you! Will get back to you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 15:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-refer-part-of-query-as-a-table/m-p/647637#M224147</guid>
      <dc:creator>jonvijay1993</dc:creator>
      <dc:date>2023-06-20T15:11:22Z</dc:date>
    </item>
  </channel>
</rss>

