All Apps and Add-ons

How do I combine multiple sources and source types?

vrmandadi
Builder

I am trying to get the Instance_ID source IP,source port ,security group ,destintion IP,destination port and its security group of the AWS data, but all of the fields are from different source types and sources like below

Search A

index=main sourcetype="aws:cloudwatchlogs:vpcflow" ---- src_ip,src_port,dest_ip,dest_port

Search B

index=main sourcetype ="aws:description" source="us-east-1:ec2_security_groups"---- instances{}.id,description(security group)

Search C

index=main sourcetype ="aws:description"  source="us-east-1:ec2_instances"-  private_ip_address(this is common with search A with src_ip pr dest_ip), id (this field is same as instances{}.id in search B) 

Is there a way to combine all these to do a table command to get the folllowing or is there any other sourcetype which has all these logs from aws point of view

|table Instance_ID src_ip src_port sg_group dest_ip dest_port dest_sg_id

Thanks in Advance

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...