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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...