Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IP -> DNS name resolving for non Google IPs #5

Open
mrdavidlaing opened this issue Jun 19, 2014 · 2 comments
Open

Fix IP -> DNS name resolving for non Google IPs #5

mrdavidlaing opened this issue Jun 19, 2014 · 2 comments
Milestone

Comments

@mrdavidlaing
Copy link
Member

No description provided.

@mrdavidlaing mrdavidlaing added this to the Milestone 1 milestone Jun 19, 2014
@dpb587
Copy link

dpb587 commented Jun 20, 2014

Depending on what you mean, maybe something like...

dns {
  reverse => [ "remote_addr" ]
}

Which would result in something like...

{
  "remote_addr": [
    "66.249.74.81",
    "crawl-66-249-74-81.googlebot.com"
  ]
}

@dpb587
Copy link

dpb587 commented Jun 20, 2014

You also might be interested in...

useragent {
  source => 'useragent'
  target => 'm_useragent'
}

Which would result in something like...

{
  "useragent": "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
  "m_useragent": {
    "name": "Googlebot",
    "os": "Other",
    "os_name": "Other",
    "device": "Spider",
    "major": "2",
    "minor": "1"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants