Splunk Search

Merging multiple indexers and providing report

runiyal
Path Finder

I need to create a report based on three different search criteria from three different sources. But since its a reconciliation report from three different systems, I need to make sure I present it in one report itself.

index=abc host="server-abc*" "upload succeeded" env=prd 

index=klm host="server-klm*" "index file" "*_prd.xml" 

index=xyz host="server-xyz*" "file uploaded" "Status code  : {}200"

The output/report I am trying to achieve is -

   Index    Count
    abc    100
    klm       89
    xyz     98

Will appreciate your ideas to achieve this.

Tags (3)
0 Karma

adonio
Ultra Champion
(index=abc host="server-abc*" "upload succeeded" env=prd) OR

(index=klm host="server-klm*" "index file" "*_prd.xml")  OR

 (index=xyz host="server-xyz*" "file uploaded" "Status code  : {}200")

| stats count by index
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...