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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...