<?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 Is there a way to determine if Splunk results will return in tabular format or raw events format? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226029#M66650</link>
    <description>&lt;P&gt;Hi All,&lt;BR /&gt;
I have a requirement to email Splunk results. The problem is some Splunk results are in table format and some are in raw format. How can i determine if the resultset returned is tabular or unformatted raw format? How can i do that using Splunk SDK?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2017 21:03:09 GMT</pubDate>
    <dc:creator>kunal0311</dc:creator>
    <dc:date>2017-01-10T21:03:09Z</dc:date>
    <item>
      <title>Is there a way to determine if Splunk results will return in tabular format or raw events format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226029#M66650</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
I have a requirement to email Splunk results. The problem is some Splunk results are in table format and some are in raw format. How can i determine if the resultset returned is tabular or unformatted raw format? How can i do that using Splunk SDK?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 21:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226029#M66650</guid>
      <dc:creator>kunal0311</dc:creator>
      <dc:date>2017-01-10T21:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine if Splunk results will return in tabular format or raw events format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226030#M66651</link>
      <description>&lt;P&gt;If you have transformed the data in any way, the search pipeline will return a table, not the raw events.&lt;BR /&gt;
If all you have done is filtered the events using search and where commands, then your search will return raw events.&lt;/P&gt;

&lt;P&gt;If you want to know which commands transform the data, you might want to start with &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Search/Typesofcommands"&gt;Types of Commands&lt;/A&gt; in the Search Manual.&lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 21:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226030#M66651</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-01-10T21:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine if Splunk results will return in tabular format or raw events format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226031#M66652</link>
      <description>&lt;P&gt;Hi kunal0311, &lt;/P&gt;

&lt;P&gt;Simply put: &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;These generating commands generate events or reports from one or more indexes without transforming the events: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Commandsbytype#Generating_commands"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Commandsbytype#Generating_commands&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;These transforming command orders the results into a data table: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Commandsbytype#Transforming_commands"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Commandsbytype#Transforming_commands&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this helps. Thank! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 08:37:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226031#M66652</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2017-01-11T08:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine if Splunk results will return in tabular format or raw events format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226032#M66653</link>
      <description>&lt;P&gt;Thanks for the response. It was helpful. What i was actually looking for was that is there a way in Java using Splunk SDK to pro grammatically check the Events and identify whether the resultset from splunk is raw or formatted.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226032#M66653</guid>
      <dc:creator>kunal0311</dc:creator>
      <dc:date>2017-01-11T14:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine if Splunk results will return in tabular format or raw events format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226033#M66654</link>
      <description>&lt;P&gt;Thanks for the response. It was helpful. What i was actually looking for was that is there a way in Java using Splunk SDK to pro grammatically check the Events and identify whether the resultset from splunk is raw or formatted.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226033#M66654</guid>
      <dc:creator>kunal0311</dc:creator>
      <dc:date>2017-01-11T14:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine if Splunk results will return in tabular format or raw events format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226034#M66655</link>
      <description>&lt;P&gt;If you haven't already, maybe check out this example:&lt;BR /&gt;
&lt;A href="https://github.com/splunk/splunk-sdk-java/blob/master/examples/com/splunk/examples/search/Program.java"&gt;https://github.com/splunk/splunk-sdk-java/blob/master/examples/com/splunk/examples/search/Program.java&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Look at line 103. Couldn't you do something similar to test if there are results in the OutputList array and if not, format as events?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 02:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-determine-if-Splunk-results-will-return-in/m-p/226034#M66655</guid>
      <dc:creator>dstile</dc:creator>
      <dc:date>2018-10-11T02:42:15Z</dc:date>
    </item>
  </channel>
</rss>

