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
SplunkTrust
SplunkTrust

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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...