<?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: Logging to SPLUNK from a JMP script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Logging-to-SPLUNK-from-a-JMP-script/m-p/949650#M109822</link>
    <description>&lt;P&gt;I've not used splunk but the idea of central logging is a good one. It does look easy enough to send data to splunk once the server is set up.&amp;nbsp; This is not tested, but something close to this should do the trick:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New HTTP Request(
	URL( "https://your-hostname:8088/services/collector" ),
	Method( "POST" ),
	Headers([
		"Accept" =&amp;gt; "application/json",
		"Authorization" =&amp;gt; "Splunk your-hec-token"
	]),
	JSON([
		"event" =&amp;gt; "Test message",
		"sourcetype" =&amp;gt; "jmp/jsl"
	])
) &amp;lt;&amp;lt; Send;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 May 2026 03:11:08 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2026-05-21T03:11:08Z</dc:date>
    <item>
      <title>Logging to SPLUNK from a JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/Logging-to-SPLUNK-from-a-JMP-script/m-p/949207#M109805</link>
      <description>&lt;P&gt;Has anyone written JSL to send messages to a SPLUNK instance?&amp;nbsp; The idea would be to capture all of the log messages from multiple applications in a single spot&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 11:06:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Logging-to-SPLUNK-from-a-JMP-script/m-p/949207#M109805</guid>
      <dc:creator>RC_Flyer</dc:creator>
      <dc:date>2026-05-19T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logging to SPLUNK from a JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/Logging-to-SPLUNK-from-a-JMP-script/m-p/949650#M109822</link>
      <description>&lt;P&gt;I've not used splunk but the idea of central logging is a good one. It does look easy enough to send data to splunk once the server is set up.&amp;nbsp; This is not tested, but something close to this should do the trick:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New HTTP Request(
	URL( "https://your-hostname:8088/services/collector" ),
	Method( "POST" ),
	Headers([
		"Accept" =&amp;gt; "application/json",
		"Authorization" =&amp;gt; "Splunk your-hec-token"
	]),
	JSON([
		"event" =&amp;gt; "Test message",
		"sourcetype" =&amp;gt; "jmp/jsl"
	])
) &amp;lt;&amp;lt; Send;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 May 2026 03:11:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Logging-to-SPLUNK-from-a-JMP-script/m-p/949650#M109822</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2026-05-21T03:11:08Z</dc:date>
    </item>
  </channel>
</rss>

