Splunk Search

Hi everybody.. here deploy and sprint_timeline are two differerent tables.can you please tell splunk query for this sql query. especially for this inner join operation.

Madhan45
Path Finder

select * from (select SPRINT_TIMELINE.SPRINT,deploy.ENV_NAME,SUBSTR(deploy.COMPONENT_ID,1,LENGTH(COMPONENT_ID) - INSTR(REVERSE(COMPONENT_ID),'.',1,4)),count( distinct deploy.DEPLOYMENT_TIME) as count from SPRINT_TIMELINE inner join deploy on deploy.DEPLOYMENT_TIME between SPRINT_TIMELINE.START_DATE AND SPRINT_TIMELINE.END_DATE WHERE deploy.ENV_NAME='DIT2' and deploy.CSI_ID='160034' group by SPRINT_TIMELINE.SPRINT,deploy.ENV_NAME,deploy.COMPONENT_ID order by 4 desc) where rownum < 16

Tags (1)
0 Karma

Madhan45
Path Finder

yes i read. here is no common field between two tables(deploy and sprint_timeline).then how can we perform a inner join operation based on the given condition.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you read Splunk for SQL users?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...