<?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: Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39207#M5624</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85970"&gt;@hukel&lt;/a&gt;&amp;nbsp;- could you please share the full error stack trace?&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2023 21:51:29 GMT</pubDate>
    <dc:creator>shan_chandra</dc:creator>
    <dc:date>2023-08-06T21:51:29Z</dc:date>
    <item>
      <title>Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39199#M5623</link>
      <description>&lt;P&gt;Is anyone else using the new v1.2 of the&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/5416" target="_blank" rel="noopener"&gt;Databricks Add-on for Splunk&lt;/A&gt;&amp;nbsp;?&amp;nbsp; &amp;nbsp;We upgraded to 1.2 and now get this error for all queries.&lt;/P&gt;&lt;PRE&gt;Running process: /opt/splunk/bin/nsjail-wrapper /opt/splunk/bin/python3.7 /opt/splunk/etc/apps/TA-Databricks/bin/databricksquery.py
Error in 'databricksquery' command: External search command exited unexpectedly with non-zero error code 1.&lt;/PRE&gt;&lt;P&gt;I've opened an issue here&amp;nbsp;&lt;A href="https://github.com/databrickslabs/splunk-integration/issues/42" target="_self"&gt;https://github.com/databrickslabs/splunk-integration/issues/42&lt;/A&gt;&amp;nbsp;but haven't gotten a follow-up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone else using this add-on successfully with v1.2?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 13:07:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39199#M5623</guid>
      <dc:creator>hukel</dc:creator>
      <dc:date>2023-08-06T13:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39207#M5624</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85970"&gt;@hukel&lt;/a&gt;&amp;nbsp;- could you please share the full error stack trace?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 21:51:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39207#M5624</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2023-08-06T21:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39275#M5625</link>
      <description>&lt;P&gt;I can't see the python stack trace because the TA doesn't output it to a Splunk-logged location (that I can find).&amp;nbsp; &amp;nbsp; The search.log output is all I can see (pasted below).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;08-07-2023 16:03:05.046 INFO  SearchParser [994756 searchOrchestrator] - PARSING: | databricksquery command_timeout=1200 query="\n     \n     SELECT ImageFileName, _time, *\n     FROM silver.ProcessRollup2 \n\n     WHERE event_date BETWEEN '2023-08-07' AND '2023-08-07'\n       AND _time &amp;gt;= 1691409780.000 AND _time &amp;lt;= 1691424183.000\n       AND (\n          LOWER(ImageFileName) LIKE '\\\\\\\\device\\\\\\\\harddiskvolume%\\\\\\\\\agentexecutor.exe'\n       )\n     ORDER BY _time DESC \n\n     LIMIT 1 "
08-07-2023 16:03:05.047 INFO  ServerConfig [994756 searchOrchestrator] - Will add app jailing prefix /opt/splunk/bin/nsjail-wrapper for TA-Databricks
08-07-2023 16:03:05.047 INFO  ChunkedExternProcessor [994756 searchOrchestrator] - Running process: /opt/splunk/bin/nsjail-wrapper /opt/splunk/bin/python3.7 /opt/splunk/etc/apps/TA-Databricks/bin/databricksquery.py
08-07-2023 16:03:05.747 INFO  ChunkedExternProcessor [994756 searchOrchestrator] - Custom search command is a generating command.
08-07-2023 16:03:05.747 WARN  ChunkedExternProcessor [994756 searchOrchestrator] - Error adding inspector message: invalid level or message already exists
08-07-2023 16:03:05.747 INFO  SearchPipeline [994756 searchOrchestrator] - ReportSearch=0 AllowBatchMode=0
08-07-2023 16:03:05.747 INFO  SearchPhaseGenerator [994756 searchOrchestrator] - No need for RTWindowProcessor
08-07-2023 16:03:05.747 INFO  SearchPhaseGenerator [994756 searchOrchestrator] - Adding timeliner to final phase
08-07-2023 16:03:05.747 INFO  SearchParser [994756 searchOrchestrator] - PARSING: | timeliner remote=0 partial_commits=0 max_events_per_bucket=10000 fieldstats_update_maxperiod=60 bucket=0 extra_field=*
08-07-2023 16:03:05.747 INFO  TimelineCreator [994756 searchOrchestrator] - Creating timeline with remote=0 partialCommits=0 commitFreq=0 syncKSFreq=0 maxSyncKSPeriodTime=60000 bucket=0 latestTime=1691424183.000000 earliestTime=1691409780.000000
08-07-2023 16:03:05.747 INFO  SearchPhaseGenerator [994756 searchOrchestrator] - required fields list to add to different pipelines = *,_bkt,_cd,_si,host,index,linecount,source,sourcetype,splunk_server
08-07-2023 16:03:05.747 INFO  SearchPhaseGenerator [994756 searchOrchestrator] - Search Phases created.
08-07-2023 16:03:05.749 INFO  SearchOrchestrator [994756 searchOrchestrator] - Starting the status control thread.
08-07-2023 16:03:05.749 INFO  SearchOrchestrator [994756 searchOrchestrator] - Starting phase=1
08-07-2023 16:03:05.749 INFO  ReducePhaseExecutor [994794 phase_1] - Starting phase_1
08-07-2023 16:03:05.749 INFO  SearchStatusEnforcer [994787 StatusEnforcerThread] - Enforcing disk quota = 10485760000
08-07-2023 16:03:05.805 ERROR ChunkedExternProcessor [994794 phase_1] - EOF while attempting to read transport header read_size=0
08-07-2023 16:03:05.805 ERROR ChunkedExternProcessor [994794 phase_1] - Error in 'databricksquery' command: External search command exited unexpectedly with non-zero error code 1.
08-07-2023 16:03:05.805 INFO  ReducePhaseExecutor [994794 phase_1] - Ending phase_1&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Aug 2023 16:08:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39275#M5625</guid>
      <dc:creator>hukel</dc:creator>
      <dc:date>2023-08-07T16:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39276#M5626</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85970"&gt;@hukel&lt;/a&gt;&amp;nbsp;-&amp;nbsp; Does the below query runs fine in an isolated notebook?&lt;/P&gt;&lt;PRE&gt;SELECT ImageFileName, _time, *\n     FROM silver.ProcessRollup2 \n\n     WHERE event_date BETWEEN '2023-08-07' AND '2023-08-07'\n       AND _time &amp;gt;= 1691409780.000 AND _time &amp;lt;= 1691424183.000\n       AND (\n          LOWER(ImageFileName) LIKE '\\\\\\\\device\\\\\\\\harddiskvolume%\\\\\\\\\agentexecutor.exe'\n       )\n     ORDER BY _time DESC \n\n     LIMIT 1 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 16:17:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39276#M5626</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2023-08-07T16:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39280#M5627</link>
      <description>&lt;P&gt;Yes,&amp;nbsp; this is a test query that I always use.&amp;nbsp; It has only stopped working after the 1.2 upgrade.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hukel_0-1691425884567.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3083i4708713B8B23D975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hukel_0-1691425884567.png" alt="hukel_0-1691425884567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 16:31:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39280#M5627</guid>
      <dc:creator>hukel</dc:creator>
      <dc:date>2023-08-07T16:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Add-on for Splunk v1.2 - Error in 'databricksquery' command</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39464#M5628</link>
      <description>&lt;P&gt;There is a new mandatory parameter for &lt;STRONG&gt;databricksquery&lt;/STRONG&gt; called &lt;STRONG&gt;account_name&lt;/STRONG&gt;.&amp;nbsp; &amp;nbsp; This breaking change is not documented in Splunkbase release notes but it does appear in the docs within the Splunk app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;databricksquery cluster="&amp;lt;cluster_name&amp;gt;" query="&amp;lt;SQL_query&amp;gt;" command_timeout=&amp;lt;timeout_in_seconds&amp;gt; account_name="&amp;lt;account_name&amp;gt;"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Aug 2023 17:15:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-add-on-for-splunk-v1-2-error-in-databricksquery/m-p/39464#M5628</guid>
      <dc:creator>hukel</dc:creator>
      <dc:date>2023-08-09T17:15:01Z</dc:date>
    </item>
  </channel>
</rss>

