Getting Data In

Creating Sourcetype form event data not data

robertlynch2020
Influencer

Hi

I am sending open telemetry Log data to Splunk.

I am sending 3 different types of logs to one index and to one source type (For the moment)

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?

 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

 

In the below image we can see the event data is called log.type.

There can be three of them. I need to make 3 source types from these 3.

robertlynch2020_1-1652715852621.png

 

robertlynch2020_0-1652715676536.png

Normally I would use a transform, but I think I can only use that on the data, not the event data?

Any help would be great 

Thanks in advance

Robbie

Labels (1)
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...