<?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 Curl fails with XML error. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113152#M23680</link>
    <description>&lt;P&gt;&lt;EM&gt;I have been trying to grab results from a macro that i created. I think the problem is the backticks, even when i escape them i still recieve and error. Could someone give me a hand with my syntax.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;curl -k -u admin:changeme --data-urlencode search="search \&lt;CODE&gt;nov\_adname\_info(iqbaln)\\&lt;/CODE&gt;" -d earliest_time=-2d -d latest_time=now -d output_mode=csv &lt;A href="https://specialserver.example.com:8089/servicesNS/#admin/search/search/jobs/export" target="_blank"&gt;https://specialserver.example.com:8089/servicesNS/#admin/search/search/jobs/export&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;
&lt;RESPONSE&gt;&lt;BR /&gt;
  &lt;MESSAGES&gt;&lt;BR /&gt;
    &lt;MSG type="ERROR"&gt;Not Found&lt;/MSG&gt;&lt;BR /&gt;
  &lt;/MESSAGES&gt;&lt;BR /&gt;
&lt;/RESPONSE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:16:47 GMT</pubDate>
    <dc:creator>Face_it</dc:creator>
    <dc:date>2020-09-28T16:16:47Z</dc:date>
    <item>
      <title>Curl fails with XML error.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113152#M23680</link>
      <description>&lt;P&gt;&lt;EM&gt;I have been trying to grab results from a macro that i created. I think the problem is the backticks, even when i escape them i still recieve and error. Could someone give me a hand with my syntax.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;curl -k -u admin:changeme --data-urlencode search="search \&lt;CODE&gt;nov\_adname\_info(iqbaln)\\&lt;/CODE&gt;" -d earliest_time=-2d -d latest_time=now -d output_mode=csv &lt;A href="https://specialserver.example.com:8089/servicesNS/#admin/search/search/jobs/export" target="_blank"&gt;https://specialserver.example.com:8089/servicesNS/#admin/search/search/jobs/export&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;
&lt;RESPONSE&gt;&lt;BR /&gt;
  &lt;MESSAGES&gt;&lt;BR /&gt;
    &lt;MSG type="ERROR"&gt;Not Found&lt;/MSG&gt;&lt;BR /&gt;
  &lt;/MESSAGES&gt;&lt;BR /&gt;
&lt;/RESPONSE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:16:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113152#M23680</guid>
      <dc:creator>Face_it</dc:creator>
      <dc:date>2020-09-28T16:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Curl fails with XML error.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113153#M23681</link>
      <description>&lt;P&gt;Couple of things could be wrong.&lt;/P&gt;

&lt;P&gt;In your URI string your user name has a # in front of it. That should not be there. &lt;/P&gt;

&lt;P&gt;In addition you are using the default username and password. By default splunk disallows remote access by the default username and password, so if trying this from a remote machine you will need to change the property &lt;CODE&gt;allowRemoteLogin&lt;/CODE&gt; in server.conf in &lt;CODE&gt;$SPLUNKHOME/etc/system/local/server.conf&lt;/CODE&gt; to &lt;CODE&gt;always&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 18:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113153#M23681</guid>
      <dc:creator>tfletcher_splun</dc:creator>
      <dc:date>2014-03-31T18:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Curl fails with XML error.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113154#M23682</link>
      <description>&lt;P&gt;Thanks i didn't not see that one. Good catch&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 19:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Curl-fails-with-XML-error/m-p/113154#M23682</guid>
      <dc:creator>Face_it</dc:creator>
      <dc:date>2014-03-31T19:40:54Z</dc:date>
    </item>
  </channel>
</rss>

