GithubHelp home page GithubHelp logo

voltek62 / seo-dashboard Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 4.0 20.01 MB

SEO Dashboard using R and ScreamingFrog for Reporting and Monitoring

Home Page: https://data-seo.com

License: GNU General Public License v3.0

R 89.62% Batchfile 10.38%

seo-dashboard's Introduction

SEO-Dashboard

SEO Dashboard using R and ScreamingFrog for Reporting and Monitoring

Read more :


Paaslogs Configuration

Input section

input { beats { port => 5044 ssl => true ssl_certificate => "/etc/ssl/private/server.crt" ssl_key => "/etc/ssl/private/server.key" } }

Filter section

filter { mutate { rename => { "source" => "filename" } }

if [type] == "apache" {  
  mutate {
      add_field => { 
             "section" => "nohtml"
             "active" => "FALSE"
       }
    }
   grok {
       match => { "message" => "%{OVHCOMMONAPACHELOG}" }
       patterns_dir => "/opt/logstash/patterns"
   }
   if ("_grokparsefailure" in [tags]) {
       mutate {
          remove_tag => [ "_grokparsefailure" ]
        }
       grok {
          match => [ "message", "%{OVHCOMBINEDAPACHELOG}" ]
          patterns_dir => "/opt/logstash/patterns"
         }
    }
    elasticsearch { 
      hosts => "laas.runabove.com" 
      index => "XXyourindexXX" 
      user => "ra-logs-XXX" 
      password => "2OkHXXXXXXX"        
      ssl => true 
      query => 'type:csv AND request:"%{[request]}"'
      fields => [["section","section"],["active","active"],["speed","speed"],["compliant","compliant"],["depth","depth"],["inlinks","inlinks"],["outlinks","outlinks"],["status_title","status_title"],["status_description","status_description"],["status_h1","status_h1"],["group_inlinks","group_inlinks"],["group_wordcount","group_wordcount"]]
    }
   dns {
      action => "replace"
      reverse => [ "clientip" ]
   }
   if [clientip] =~ /googlebot.com/ { 
      mutate {
         add_field => { "bot" => "google" }
     }
   }
  if [clientip] =~ /search.msn.com/ { 
     mutate {
        add_field => { "bot" => "bing" }
     }
  }
  
  mutate {
     convert => { 
         "depth" => "integer"
         "inlinks" => "integer"
         "outlinks" => "integer"
     }
  }	  
  
}
if [type] == "csv" {
    csv {
        columns => ["request", "section","active", "speed", "compliant","depth","inlinks","outlinks","status_title","status_description","status_h1","group_inlinks","group_wordcount"]
        separator => ";"
    } 
}

}

Custom grok patterns

  • OVHCOMMONAPACHELOG %{IPORHOST:clientip} %{USER:ident} %{USER:auth} [%{HTTPDATE:timestamp}] "(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion_num:float})?|%{DATA:rawrequest})" %{NUMBER:response_int:int} (?:%{NUMBER:bytes_int:int}|-)
  • OVHCOMBINEDAPACHELOG %{OVHCOMMONAPACHELOG} "%{NOTSPACE:referrer}" %{QS:agent}
  • OVHCOMMONIISLOG %{TIMESTAMP_ISO8601:log_timestamp} %{WORD:iisSite} %{IPORHOST:site} %{WORD:method} %{URIPATH:page} %{NOTSPACE:querystring} %{NUMBER:port} %{NOTSPACE:username} %{IPORHOST:clienthost} %{NOTSPACE:useragent} %{NOTSPACE:referer} %{NUMBER:response} %{NUMBER:subresponse} %{NUMBER:scstatus} %{NUMBER:bytes:int} %{NUMBER:timetaken:int}

seo-dashboard's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

seo-dashboard's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.