All Apps and Add-ons

MAC Address not extracting correctly

hartfoml
Motivator

The MAC address as well as several other extractions are not working correctly

Here is an example of my logs. is this so different from what you wrote the app to?

Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: Sent DHCPACK to Client MAC= 001b786eb865 ciaddr= x.x.x.x yiaddr= x.x.x.x client ID= 01001b786eb865
Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: Received DHCPREQUEST from Client MAC= 001b786eb865 ciaddr= x.x.x.x requestedIP= client ID= 01001b786eb865
Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: DHCP_RenewLease: Host= IP=x.x.x.236 MAC=001b786eb865 Domain=My.Domain.me ClientID=01001b786eb865
Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: Sent DHCPACK to Client MAC= 001b786eb865 ciaddr= x.x.x.236 yiaddr= x.x.x.236 client ID= 01001b786eb865
Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: Received DHCPREQUEST from Client MAC= 001b786eb865 ciaddr= x.x.x.236 requestedIP= client ID= 01001b786eb865
Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: DHCP_RenewLease: Host= IP=x.x.x.236 MAC=001b786eb865 Domain=My.Domain.me ClientID=01001b786eb865
Sep 11 11:01:36 ns1 /opt/qip/usr/bin/dhcpd[25911]: Sent DHCPACK to Client MAC= 001b786eb865 ciaddr= x.x.x.236 yiaddr= x.x.x.236 client ID= 01001b786eb865
x
Sep 11 11:01:37 ns1 /opt/qip/usr/bin/dhcpd[25911]: Received DHCPINFORM from Client MAC= 000f4402ca93 ciaddr= x.x.x.28 requestedIP= client ID= giaddr= x.x.x.5

Tags (1)
0 Karma

mloven_splunk
Splunk Employee
Splunk Employee

hartfoml,

Splunk should automatically extract your mac address. Can you post your props.conf for this sourcetype?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...