Links

The links feature is responsible for computing inlinks/outlinks for each URL, internal pagerank, internal follow outlinks destination, external follow outlinks destination (Top Domains), prev/next tags.

URLs datamodel fields

Links feature’s fields.

Examples of Aggregation

The following examples use URLs aggregation to metrics regarding main data.

{
  "aggs": [
    {
      "metrics": [
        {
          "sum": "inlinks_internal.nb.follow.unique",
          "sum": "inlinks_internal.nb.nofollow.unique"
        }
      ]
    }
  ]
}

Note: unique suffix means that 2 links to the same URL will be counted only once. You can also compute the total number of inlinks by replacing the suffix unique by total.

{
  "aggs": [
    {
      "metrics": [
        {
          "sum": "outlinks_internal.nb.follow.unique",
          "sum": "outlinks_internal.nb.nofollow.unique",
          "sum": "outlinks_external.nb.follow.unique",
          "sum": "outlinks_external.nb.nofollow.unique"
        }
      ]
    }
  ]
}

Note: unique suffix means that 2 links to the same URL will be counted only once. You can also compute the total number of inlinks by replacing the suffix unique by total.

{
  "aggs": [
    {
      "metrics": [
        {
          "sum": "outlinks_errors.3xx.nb",
          "sum": "outlinks_errors.4xx.nb",
          "sum": "outlinks_errors.5xx.nb"
        }
      ]
    }
  ]
}