<?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 Creating Sourcetype form event data not data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Creating-Sourcetype-form-event-data-not-data/m-p/597971#M104344</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am sending open telemetry Log data to Splunk.&lt;/P&gt;&lt;P&gt;I am sending 3 different types of logs to one index and to one source type (For the moment)&lt;/P&gt;&lt;P&gt;Is it possible to receive this data into Splunk and then create 3 different types of Sourcetypes, based on the event data, not the data?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; splunk_hec/logs: # pushed to splunk
    token: "ac3fa6bf-f9df-4757-a5e5-9ee7bf23160d"
    endpoint: "https://dell425srv:9088/services/collector"
    source: "mx"
    sourcetype: "otel"
    index: "murex_logs"
    tls:
      insecure_skip_verify: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the below image we can see the event data is called log.type.&lt;/P&gt;&lt;P&gt;There can be three of them. I need to make 3 source types from these 3.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_1-1652715852621.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19659i2467CCB3A2B1B5DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_1-1652715852621.png" alt="robertlynch2020_1-1652715852621.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652715676536.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19658iF9962F37DF7B79CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652715676536.png" alt="robertlynch2020_0-1652715676536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Normally I would use a transform, but I think I can only use that on the data, not the event data?&lt;/P&gt;&lt;P&gt;Any help would be great&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Robbie&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 15:51:20 GMT</pubDate>
    <dc:creator>robertlynch2020</dc:creator>
    <dc:date>2022-05-16T15:51:20Z</dc:date>
    <item>
      <title>Creating Sourcetype form event data not data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Creating-Sourcetype-form-event-data-not-data/m-p/597971#M104344</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am sending open telemetry Log data to Splunk.&lt;/P&gt;&lt;P&gt;I am sending 3 different types of logs to one index and to one source type (For the moment)&lt;/P&gt;&lt;P&gt;Is it possible to receive this data into Splunk and then create 3 different types of Sourcetypes, based on the event data, not the data?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; splunk_hec/logs: # pushed to splunk
    token: "ac3fa6bf-f9df-4757-a5e5-9ee7bf23160d"
    endpoint: "https://dell425srv:9088/services/collector"
    source: "mx"
    sourcetype: "otel"
    index: "murex_logs"
    tls:
      insecure_skip_verify: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the below image we can see the event data is called log.type.&lt;/P&gt;&lt;P&gt;There can be three of them. I need to make 3 source types from these 3.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_1-1652715852621.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19659i2467CCB3A2B1B5DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_1-1652715852621.png" alt="robertlynch2020_1-1652715852621.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652715676536.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19658iF9962F37DF7B79CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652715676536.png" alt="robertlynch2020_0-1652715676536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Normally I would use a transform, but I think I can only use that on the data, not the event data?&lt;/P&gt;&lt;P&gt;Any help would be great&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Robbie&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 15:51:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Creating-Sourcetype-form-event-data-not-data/m-p/597971#M104344</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-16T15:51:20Z</dc:date>
    </item>
  </channel>
</rss>

