<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting Splunk to correctly read custom AWS VPC flow logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Splunk-to-correctly-read-custom-AWS-VPC-flow-logs/m-p/623728#M107303</link>
    <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I recently started ingesting vac flow logs from my AWS environment using the data manager app, and everything works fine in terms of getting the logs into splunk.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is however one issue, when creating the VPC flow logs on AWS, we opted for a custom format to be able to glean additional fields like the "pkt-srcaddr" and pat-dstaddr". As a result of this, Splunk does not correctly interpret the logs on the console. I believe that Splunk is reading the logs using the default log format detailed below:&lt;/P&gt;&lt;P&gt;Default Format:&lt;BR /&gt;&lt;SPAN&gt;${version} ${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how do I get it to read the logs using the custom format detailed below:&lt;/P&gt;&lt;P&gt;Custom Format&lt;BR /&gt;&lt;SPAN&gt;${version} ${account-id} ${vpc-id} ${subnet-id} ${interface-id} ${instance-id} ${flow-direction} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${pkt-srcaddr} ${pkt-dstaddr} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 11:27:09 GMT</pubDate>
    <dc:creator>olawalePS</dc:creator>
    <dc:date>2022-12-12T11:27:09Z</dc:date>
    <item>
      <title>Getting Splunk to correctly read custom AWS VPC flow logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Splunk-to-correctly-read-custom-AWS-VPC-flow-logs/m-p/623728#M107303</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I recently started ingesting vac flow logs from my AWS environment using the data manager app, and everything works fine in terms of getting the logs into splunk.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is however one issue, when creating the VPC flow logs on AWS, we opted for a custom format to be able to glean additional fields like the "pkt-srcaddr" and pat-dstaddr". As a result of this, Splunk does not correctly interpret the logs on the console. I believe that Splunk is reading the logs using the default log format detailed below:&lt;/P&gt;&lt;P&gt;Default Format:&lt;BR /&gt;&lt;SPAN&gt;${version} ${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how do I get it to read the logs using the custom format detailed below:&lt;/P&gt;&lt;P&gt;Custom Format&lt;BR /&gt;&lt;SPAN&gt;${version} ${account-id} ${vpc-id} ${subnet-id} ${interface-id} ${instance-id} ${flow-direction} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${pkt-srcaddr} ${pkt-dstaddr} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 11:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-Splunk-to-correctly-read-custom-AWS-VPC-flow-logs/m-p/623728#M107303</guid>
      <dc:creator>olawalePS</dc:creator>
      <dc:date>2022-12-12T11:27:09Z</dc:date>
    </item>
  </channel>
</rss>

