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

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...