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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...