Splunk Enterprise

data model field extraction

khanlarloo
Explorer

Hi,I have a dns log whose fields are not extracted properly and so I used Rex.

I encountered a problem. When i search index = dns * source = "516" host = dns -sender All fields are extracted correctly.

But when i search

| "from datamodel:" Network_Resolution

| search dns -sender

My fields get value of unknown.

Can anyone help me !!!!

Labels (1)
0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @khanlarloo 

The fields extracted shall be normalized to fit into Data model that you are querying. You should have CIM app installed  to Splunk SH prior and you need to create at a highlevel eventtypes, tags and props for normalization. The process is not straight forward.

This link help you to achieve then if everything is successful you can query the data model (DM) however the field names would be different from you originally extracted.

Use the CIM to normalize data at search time - Splunk Documentation

---

An upvote would be appreciated if this reply helps and Accept the solution!

0 Karma

khanlarloo
Explorer

I did everything you said according to the link you sent, but there is still the same problem.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...