NCP
  • Network Copilot
  • What's New?
  • Quick Start
  • Getting Started
    • System Requirements
      • On-Prem Deployment
      • Cloud Deployment
    • Licensing
    • Metrics Matrix
    • Onboarding Data
    • Scalability
  • Downloading Network Copilot
  • Deploying & Managing Network Copilot
    • Deployment Prerequisites
    • Installing Prerequisite Packages
    • Deploying the NCP Package
    • Managing Network Copilot
      • Upgrading License
      • Upgrading NCP
      • Uninstalling NCP
  • Web UI Administration
    • License Activation
    • Login Page
    • Dashboard Overview
    • Inventory Management
      • Onboarding Switches
        • Using ONES Telemetry Agent
        • Using SNMP
          • Adding Switches using YAML
          • Adding Switches using CSV
        • Using sFlow
        • Using API
        • Using gNMI
    • User Accounts
  • Accessing NCP
  • External Integrations
    • Communication & Collaboration
      • NetBox
      • Cisco Nexus Dashboard
      • Slack
    • Data Ingestion
      • AWS S3
      • Azure
      • ELK Stack
      • Google Cloud Storage
      • InfluxDB
      • Loki
      • Snowflake
      • Splunk
  • Use Cases
    • Basic NetOps
    • Flow Analytics
    • Security Audits
    • Inventory Insights
    • Support Knowledge Base
    • Upgrade Compliance
  • Contact Aviz Networks Support
Powered by GitBook
On this page
  • Overview
  • Configure Grafana Loki as a Data Source in NCP

Was this helpful?

Export as PDF
  1. External Integrations
  2. Data Ingestion

Loki

Overview

This section guides you through configuring and running the integration between Grafana Loki and NCP.

By following these steps, you'll enable NCP to:

  • Connect to your Loki instance and ingest structured syslog streams

  • Parsing and index logs for efficient retrieval and context-aware insights

  • Allow users to query logs using natural language through NCP’s chat interface

  • Enhance observability and streamline troubleshooting using real-time log analytics

NCP–Loki integration is limited to syslog input only at this time

Prerequisites

Before beginning, make sure you have:

  • Loki Endpoint URL: Example: http://loki.example.com:3100

  • LogQL Query; Used to filter logs from specific sources (e.g., {job="network-agent"})

  • Log Limit: Maximum number of log lines to fetch per query (e.g., 100, 500)

Configure Grafana Loki as a Data Source in NCP

To connect NCP with your Loki instance:

  1. Log in to the NCP GUI

  2. Navigate to Settings → Data Sources → Loki

  3. Click Add Configuration

  4. Fill in the required fields:

    • Name: A label for the Loki configuration (e.g., Loki-Cluster)

    • Host: The full URL of your Loki endpoint (e.g., https://loki.example.com)

    • Query: A LogQL query string (e.g., {job="network-logs"})

    • LogLimit: The maximum number of logs to retrieve per query (e.g., 200)

  5. Click Save to complete the setup

PreviousInfluxDBNextSnowflake

Last updated 22 days ago

Was this helpful?