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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...