Kusto query to get the below details CSV format

Monalisa 0 Reputation points
2024-06-07T09:47:34.85+00:00

Kusto query to get the below details CSV format

  1. usedIpAddress connected or isolated to which backend (connected device)
  2. PrivateIPv4address , attached to ,attached type
Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
496 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Gosavi 166 Reputation points
    2024-06-12T09:38:30.76+00:00

    Assuming you have a table that stores the network and device information, here is an example query. You'll need to adjust the table and column names according to your actual schema.

    // Sample table: DeviceConnections
    // Columns: usedIpAddress, backendDevice, PrivateIPv4address, attachedTo, attachedType
    
    DeviceConnections
    | project usedIpAddress, backendDevice, PrivateIPv4address, attachedTo, attachedType
    | project
        usedIpAddress,
        backendDevice,
        PrivateIPv4address,
        attachedTo,
        attachedType
    | project-rename
        Used_IP_Address = usedIpAddress,
        Backend_Connection = backendDevice,
        Private_IPv4_Address = PrivateIPv4address,
        Attached_To = attachedTo,
        Attached_Type = attachedType
    | serialize
    | evaluate print_csv()
    
    
    0 comments No comments