<?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: Data Inputs REST / HTTP Header Properties: How can I specify a value with an &amp;quot;aring&amp;quot; (å) character in it? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242704#M47045</link>
    <description>&lt;P&gt;Yeah what he said... Try \xc3a5 or 0xc3a5 in place of the aring.  If that doesn't work, try this urlencoding of it %C3%A5&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 23:07:09 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2017-01-18T23:07:09Z</dc:date>
    <item>
      <title>Data Inputs REST / HTTP Header Properties: How can I specify a value with an "aring" (å) character in it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242702#M47043</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;So I am trying to specify a rest data input and I think there is a problem specifying a Header property which has a value with an "aring" (å) in it.  I edited it into inputs.conf, but it was converted to an "a" when I saved the configuration back from Splunk Web.&lt;/P&gt;

&lt;P&gt;I had same problem with curl as well; I got it to work by adding the property to a file which was read by means of the -K switch.&lt;BR /&gt;
And it had to be an ANSI encoded file.&lt;/P&gt;

&lt;P&gt;I have the following configuration which should be ok I think:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[rest://aName]
auth_password = 
auth_type = none
auth_user = 
backoff_time = 30
endpoint = &lt;A href="https://aServer.a.dom.ain:8443/aProgram/system?_action=test" target="test_blank"&gt;https://aServer.a.dom.ain:8443/aProgram/system?_action=test&lt;/A&gt;
host = idm
http_method = POST
index = idm
index_error_response_codes = 1
polling_interval = 22
response_type = json
sequential_mode = 0
sourcetype = json_no_timestamp
streaming_request = 0
http_header_propertys = X-Username=aUserName,X-Password=N_XyZåAbC
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anybody know a way to input this password (seemingly ANSI-encoded) with the awkward å (aring)?&lt;/P&gt;

&lt;P&gt;Unfortunately, changing the password is not an option.&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;BR /&gt;
Bård Tørustad&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242702#M47043</guid>
      <dc:creator>torustad</dc:creator>
      <dc:date>2017-01-18T21:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data Inputs REST / HTTP Header Properties: How can I specify a value with an "aring" (å) character in it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242703#M47044</link>
      <description>&lt;P&gt;There is a UTF8 encoding for aring (0x'c3a5') , which is different from the UTF16 encoding (0x'00E5')&lt;/P&gt;

&lt;P&gt;Have you tried turning the whole thing into a hex UTF8 character string? That would look something like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;UTF8   0x004E005F00580079005AC3A5004100620043
UTF16  0x004E005F00580079005A00E5004100620043
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Jan 2017 22:35:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242703#M47044</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-01-18T22:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data Inputs REST / HTTP Header Properties: How can I specify a value with an "aring" (å) character in it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242704#M47045</link>
      <description>&lt;P&gt;Yeah what he said... Try \xc3a5 or 0xc3a5 in place of the aring.  If that doesn't work, try this urlencoding of it %C3%A5&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 23:07:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242704#M47045</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-01-18T23:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data Inputs REST / HTTP Header Properties: How can I specify a value with an "aring" (å) character in it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242705#M47046</link>
      <description>&lt;P&gt;I just posted a drilldown question to make sure the code sample has been vetted for format - &lt;/P&gt;

&lt;P&gt;Posted here - &lt;A href="https://answers.splunk.com/answers/489964/what-is-the-format-for-putting-information-into-co.html?minQuestionBodyLength=80"&gt;https://answers.splunk.com/answers/489964/what-is-the-format-for-putting-information-into-co.html?minQuestionBodyLength=80&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 23:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242705#M47046</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-01-18T23:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data Inputs REST / HTTP Header Properties: How can I specify a value with an "aring" (å) character in it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242706#M47047</link>
      <description>&lt;P&gt;Did you find a solution, Bard?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Inputs-REST-HTTP-Header-Properties-How-can-I-specify-a/m-p/242706#M47047</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-03-02T21:51:12Z</dc:date>
    </item>
  </channel>
</rss>

