Getting Data In

How to filter a query?

majilan1
Path Finder

 

How to filter a query?

Tags (2)
0 Karma

majilan1
Path Finder

Thanks gcusello,

What I want to do first is to filter based on :  If there are any extracts where TOTAL_PIECES is >0 and  RETRIVAL_ATTEMPT is = 99, I know that I have to add | fillnull for this field, but not working for me.

Any advice please!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @majilan1,

as I said, this isn't the location for this kind of questions, this is a Splunk Community.

In addition, I'm not an expert in SQL,  maybe there someone else with this knowledge that can help you.

Ciao.

Giuseppe

gcusello
SplunkTrust
SplunkTrust

Hi @majilan1,

I cannot help you in SQL because I don't know your system and I'm not an expert in SQL, but I hint to follow a different approach.

Using dbxquery command, you have very bad performances from your search because the methid was'n created for onliune transactions, but for batch data extractions.

The best approach is to create a dbx input to extract data using your query or a similar, and then you can use the data in Splunk using SPL.

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...

Data Management Digest – June 2026

Welcome to the June 2026 edition of Data Management Digest! This month’s update is short and sweet, with a ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...