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!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...