Splunk Search

If I have missing data from a table, the whole list fails to display. How do work around this issue?

IRHM73
Motivator

Hi, I wonder whether someone may be able to help me please.

I'm using the search below to produce data in the following format

First Name
Surname
DOB
NINO
SUT

auditSource="matching" auditType="Tx*" detail.input-ida-request="*" | rex field="detail.output-cid-response" "\"firstName\":\"(?<cidFName>[^\"]+)" |  rex field="detail.output-cid-response" "\"lastName\":\"(?<cidSName>[^\"]+)" |rex field="detail.output-cid-response" "\"dateOfBirth\":\"(?<cidDOB>[^\"]+)" | rex field="detail.output-cid-response" "\"sut\":\"(?<cidSUT>[^\"]+)" | rex field="detail.output-cid-response" "\"nino\":\"(?<cidNINO>[^\"]+)" | eval Full_Details= "Firstname: ".cidFName.", Surname: ".cidSName.", DOB: ".cidDOB.", NINO: ".cidNINO.", SUT: ".cidSUT | makemv delim=", " Full_Details | table detail.output-cid-response Full_Details

The problem I have is that if there is one piece of information missing from the source data, the whole list fails to display.

Could someone tell me please, is there a way to overcome this?

Many thanks and kind regards

Chris

0 Karma
1 Solution

IRHM73
Motivator

All,

For those of you who are interested, I found a solution here where I used Example 2 .

Kind Regards

Chris

View solution in original post

0 Karma

IRHM73
Motivator

All,

For those of you who are interested, I found a solution here where I used Example 2 .

Kind Regards

Chris

0 Karma

MuS
Legend

You should provide a sample of your events; best to include good and bad examples 😉

0 Karma

IRHM73
Motivator

Hi @MuS, thank you for taking the time to come back to me with this.

I've continued to work on this, and it may not be the best way, but I found a solution here where I used Example 2.

Many thanks and kind regards

0 Karma
Get Updates on the Splunk Community!

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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