Monitoring Splunk

SPLUNK QUERY RUNNING VERY SLOWLY -6HRS

HenryFitzerald
New Member

Hi ,

Could anyone please assist me in this query. It’s running very slowly 6hrs in one case; query does a join on the host when I remove table lookups its much faster but it could be the join sequence.

index=tech_global_raw sourcetype=tech_fcp "Success "
| join host [ search index=tech_global_raw Organization=tf earliest=-15h | dedup host |

table host]
| rex field=_raw "tf[a-z].[a-z]+.(?[^ ]*)"
| lookup tp_map_table tp_service as app_id OUTPUT tp_name tp_feature
| search tp_feature=MSA

| timechart count by app_id

Table tp_map has colums tp_service and tp_feature where in this case tp_feature="MSA" but this is not issue ,it could be how sequence is arranged.Would appreciate any advice on improving query as running very slow.
Thanks in advance,
Henry

Tags (1)
0 Karma

HenryFitzerald
New Member

Missed a feature "app_id" in rex field.

UPDATED QUERY -

index=tech_global_raw sourcetype=tech_fcp

| join host [ search index=tech_global_raw Organization=tf earliest=-15h
| dedup host
| table host]
| rex field=_raw "tf[a-z].[a-z]+.(?[^ ]*)"
| lookup tp_map_table tp_service as app_id OUTPUT tp_name tp_feature
| search tp_feature=MSA
| timechart count by app_id

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!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...