All Apps and Add-ons

Json ingestion --> Data models Inquiry around best practices

Marius
Engager

Populating a data model with json feed:

One of the fields "mnemonic" looks like this in _raw "mnemonic":"119fw3q-wrl-834v:abc:E10251:2048:119fw3q:You can do it! - TKO"

Strangely the mnemonic field in the data model only captures until the first colon ":"

mnemonic = "119fw3q-wrl-834v"

Does anyone have advise how to get around this without changing the character? Tried some stuff with rex in eval bu _raw is not available for use in eval functions. Thanks in advance

Labels (2)
0 Karma
1 Solution

Marius
Engager

Solved this by using the add via regular expression dropdown option:

\"mnemonic\"\:\"(?<mnemonic>.+?)\",

Give me the Karma Baby

View solution in original post

0 Karma

Marius
Engager

Solved this by using the add via regular expression dropdown option:

\"mnemonic\"\:\"(?<mnemonic>.+?)\",

Give me the Karma Baby

0 Karma
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

New Learning Videos on Topics Most Requested by You! Plus This Month’s New Splunk ...

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...