<?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 with Splunk in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748084#M58808</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310988"&gt;@Emre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can send JSON via HEC into Splunk Enterprise / Splunk Cloud. Check out&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/HECExamples" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/HECExamples&lt;/A&gt;&amp;nbsp;which has some good examples on how you can do this, but at a basic level you have two options, you can send raw JSON to&amp;nbsp;&lt;A href="https://mysplunkserver.example.com:8088/services/collector/raw" target="_blank"&gt;https://mysplunkserver.example.com:8088/services/collector/raw&lt;/A&gt;&amp;nbsp;or you can send structured events to&amp;nbsp;&lt;A href="https://mysplunkserver.example.com:8088/services/collector/event" target="_blank"&gt;https://mysplunkserver.example.com:8088/services/collector/event&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A structured even for the /event endpoint would look something like this:&lt;/P&gt;&lt;PRE&gt;{
    "time": 1426279439, // epoch time
    "host": "localhost",
    "source": "random-data-generator",
    "sourcetype": "my_sample_data",
    "index": "main",
    "event":  "Hello world!" // or {"yourKey":"yourVal"} for example
}&lt;/PRE&gt;&lt;P&gt;Check out&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/FormateventsforHTTPEventCollector" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/FormateventsforHTTPEventCollector&lt;/A&gt;&amp;nbsp;for more info on field you can send to events to HEC.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2025 07:44:03 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-06-17T07:44:03Z</dc:date>
    <item>
      <title>Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748074#M58805</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I am a Mendix developer and i would like to implementSplunkCloud for monitoring.&lt;BR /&gt;I already have the HEC token port and hostname in my Mendix cloud environment.&lt;BR /&gt;I would like to send error logs to SplunkCloud from Mx.&amp;nbsp;&lt;BR /&gt;Based on my research JSON format is a common practice.&lt;BR /&gt;Is there any way where i can send my data to Splunk as a JSON format? Idk how that works for Splunk.&lt;BR /&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:06:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748074#M58805</guid>
      <dc:creator>Emre</dc:creator>
      <dc:date>2025-06-17T07:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748077#M58806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310988"&gt;@Emre&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Splunk has many ways to ingest logs: syslog, HEC, API, etc..., which way can be implemented on Mendix?&lt;/P&gt;&lt;P&gt;anyway, see at&amp;nbsp;&lt;A href="https://docs.mendix.com/developerportal/operate/splunk-metrics/" target="_blank"&gt;https://docs.mendix.com/developerportal/operate/splunk-metrics/&lt;/A&gt;&amp;nbsp;and you should find the solution.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748077#M58806</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-06-17T07:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748079#M58807</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I already implemented the mendix documentation. It sends some data to Splunk. And i use HEC method.&amp;nbsp;&lt;BR /&gt;But i would like to send some spesicifc data. for example Http status or Latest error message. In mendix i create logs and i added those values inside. But how do i display or get this information in Splunk. I only see some values such as hostname or level..&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748079#M58807</guid>
      <dc:creator>Emre</dc:creator>
      <dc:date>2025-06-17T07:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748084#M58808</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310988"&gt;@Emre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can send JSON via HEC into Splunk Enterprise / Splunk Cloud. Check out&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/HECExamples" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/HECExamples&lt;/A&gt;&amp;nbsp;which has some good examples on how you can do this, but at a basic level you have two options, you can send raw JSON to&amp;nbsp;&lt;A href="https://mysplunkserver.example.com:8088/services/collector/raw" target="_blank"&gt;https://mysplunkserver.example.com:8088/services/collector/raw&lt;/A&gt;&amp;nbsp;or you can send structured events to&amp;nbsp;&lt;A href="https://mysplunkserver.example.com:8088/services/collector/event" target="_blank"&gt;https://mysplunkserver.example.com:8088/services/collector/event&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A structured even for the /event endpoint would look something like this:&lt;/P&gt;&lt;PRE&gt;{
    "time": 1426279439, // epoch time
    "host": "localhost",
    "source": "random-data-generator",
    "sourcetype": "my_sample_data",
    "index": "main",
    "event":  "Hello world!" // or {"yourKey":"yourVal"} for example
}&lt;/PRE&gt;&lt;P&gt;Check out&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/FormateventsforHTTPEventCollector" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/FormateventsforHTTPEventCollector&lt;/A&gt;&amp;nbsp;for more info on field you can send to events to HEC.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:44:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748084#M58808</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-06-17T07:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748085#M58809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310988"&gt;@Emre&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Splunk displays the logs that it receives, are you sure that you are sending these data to Splunk?&lt;/P&gt;&lt;P&gt;Do you see these data in the raw logs in Splunk?&lt;/P&gt;&lt;P&gt;Maybe the issue is the not correct parsing, see at&amp;nbsp;&lt;A href="https://docs.mendix.com/developerportal/operate/splunk-metrics/" target="_blank"&gt;https://docs.mendix.com/developerportal/operate/splunk-metrics/&lt;/A&gt;&amp;nbsp;to be guided.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748085#M58809</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-06-17T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748095#M58810</link>
      <description>&lt;P&gt;One more question since i am new to this platform i am wondering how can search for a certain error/ warning or info message. Such as how to seach for " 404 - file not found for file "&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 12:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748095#M58810</guid>
      <dc:creator>Emre</dc:creator>
      <dc:date>2025-06-17T12:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748113#M58811</link>
      <description>&lt;P&gt;Sample 1: I sent the logs from Mendix to Splunk, but all the messages are saved within message.&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;&lt;SPAN class=""&gt;level&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ERROR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;test&lt;/SPAN&gt;&lt;BR /&gt;Message:&amp;nbsp;&lt;SPAN&gt;{"Module": SplunkTest""Microflow": ACT_Splunk_Create_Test""latesterror_message": "401: Access Denied at SplunkTest.ACT_Omnext_Create_TEST (CallRest : 'Call REST (POST)') Advanced stacktrace:"http_status": "401"http_response_content": "{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." }"http_reasonphrase": "Access Denied"session_id": "13314141414141212}&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;but i would like to extract some data from the message as below&lt;/STRONG&gt;&lt;BR /&gt;{&lt;BR /&gt;&lt;SPAN class=""&gt;level&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ERROR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;test&lt;/SPAN&gt;&lt;BR /&gt;Module: SplunkTest&lt;BR /&gt;Microflow:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ACT_Splunk_Create_Test&lt;BR /&gt;http_reasonphrase: Access Denied&lt;BR /&gt;session_id: 13314141414141212&lt;/SPAN&gt;&lt;BR /&gt;}&lt;BR /&gt;My question is, can this message adjustable like my wish from Splunk. or Do i need to find a way to send data from Mendix in a structured way.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 14:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748113#M58811</guid>
      <dc:creator>Emre</dc:creator>
      <dc:date>2025-06-17T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Logging with Splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748116#M58812</link>
      <description>When you send valid json object you can query any data what it contains. You could utilize those keys or use just any words which it has.</description>
      <pubDate>Tue, 17 Jun 2025 14:18:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logging-with-Splunk/m-p/748116#M58812</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-06-17T14:18:18Z</dc:date>
    </item>
  </channel>
</rss>

