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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...