Giter Club home page Giter Club logo

Comments (18)

stagas avatar stagas commented on August 20, 2024

PR please.

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

Do you mean screen-shot

from maptail.

stagas avatar stagas commented on August 20, 2024

Pull Request

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

i have installed the with npm maptail install command.

Now as according to the readme file.
I run the command maptail -f nohup.out

After this command what will be the next step.

Please fins the attached screenshot for reference : http://cl.ly/image/0i2k1m2h1v40%5C

from maptail.

stagas avatar stagas commented on August 20, 2024

Are you running something with nohup? It needs some output with some IP addresses in it to parse. Point it to a live log file that spits out IP addresses, see if dots appear, if not, there should be an error somewhere. What is the error?

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

Sorry for stupid kind of question, I am a newbee to it. I only ran the command you mention in README file i.e. maptail -f nohup.out

Do I need to create nohup.out file first (if yes then what should be in it) and then run this command Please help.

from maptail.

stagas avatar stagas commented on August 20, 2024

nohup.out is generated by the nohup utility usually used to keep an application running in the background between sessions. So if you run a server with it, all its output gets appended in that file automatically. Just point it to a running log file instead of nohup.out that contains IP addresses.

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

Thanks for the quick responses.

So you mean to say I should run:- maptail -f <any_log_file>

Can I create a simple txt file with some ip address in it. And should I have to keep this file in bin folder or it can be kept anywhere.

from maptail.

stagas avatar stagas commented on August 20, 2024

A static txt file won't do anything. It needs a file that constantly appends new lines that contain ip addresses. Like a server log file. It can be anywhere. You can do: maptail -f your_file.log or tail -f your_file.log | maptail.

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

I Have created the empty log file in the bin folder, and then run the command maptail -f your_file.log command. but i find the same state of the map.

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

I also run the command :- maptail -f /Applications/XAMPP/logs/access_log.

The access_log file contains data given below :-

127.0.0.1 - - [18/Apr/2013:15:31:09 +0530] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [18/Apr/2013:15:31:09 +0530] "GET /xampp/ HTTP/1.1" 200 590
127.0.0.1 - - [18/Apr/2013:15:31:09 +0530] "GET /xampp/head.php HTTP/1.1" 200 1363
127.0.0.1 - - [18/Apr/2013:15:31:09 +0530] "GET /xampp/navi.php HTTP/1.1" 200 2367
127.0.0.1 - - [18/Apr/2013:15:31:09 +0530] "GET /xampp/start.php HTTP/1.1" 200 813
127.0.0.1 - - [18/Apr/2013:16:04:09 +0530] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [18/Apr/2013:16:04:09 +0530] "GET /xampp/ HTTP/1.1" 200 590
127.0.0.1 - - [18/Apr/2013:16:04:09 +0530] "GET /xampp/head.php HTTP/1.1" 200 1363
127.0.0.1 - - [18/Apr/2013:16:04:09 +0530] "GET /xampp/navi.php HTTP/1.1" 200 2367
127.0.0.1 - - [18/Apr/2013:16:04:09 +0530] "GET /xampp/start.php HTTP/1.1" 200 813
127.0.0.1 - - [18/Apr/2013:16:09:01 +0530] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [18/Apr/2013:16:09:01 +0530] "GET /xampp/ HTTP/1.1" 200 590
127.0.0.1 - - [18/Apr/2013:16:09:01 +0530] "GET /xampp/head.php HTTP/1.1" 200 1363
127.0.0.1 - - [18/Apr/2013:16:09:01 +0530] "GET /xampp/navi.php HTTP/1.1" 200 2367
127.0.0.1 - - [18/Apr/2013:16:09:01 +0530] "GET /xampp/start.php HTTP/1.1" 200 813
127.0.0.1 - - [18/Apr/2013:16:09:08 +0530] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [18/Apr/2013:16:09:08 +0530] "GET /xampp/ HTTP/1.1" 200 590
127.0.0.1 - - [18/Apr/2013:16:09:08 +0530] "GET /xampp/head.php HTTP/1.1" 200 1363
127.0.0.1 - - [18/Apr/2013:16:09:08 +0530] "GET /xampp/start.php HTTP/1.1" 200 813
127.0.0.1 - - [18/Apr/2013:16:09:08 +0530] "GET /xampp/navi.php HTTP/1.1" 200 2367

But still don't see the map with no dots on it.

Am I wrong some where.

Thanks

from maptail.

stagas avatar stagas commented on August 20, 2024

It needs real ip addresses, ones that can be traced back to their geographic location. 127.0.0.1 is ignored.

from maptail.

stagas avatar stagas commented on August 20, 2024

Did you try running the examples and see if they show dots?

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

ok so you mean to say I should run the command :- maptail -f ../examples / extreme-traffic.js

If no then can you please guide me to run this example.

Thanks

from maptail.

stagas avatar stagas commented on August 20, 2024

node examples/extreme-traffic.js should do it

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

Thanks a lot for your help... It Works

from maptail.

madhurtandon avatar madhurtandon commented on August 20, 2024

But we are getting this error

http://cl.ly/image/2Z1O1W0j2W41

http://cl.ly/image/3J0O1U223x47

At line number 143

from maptail.

stagas avatar stagas commented on August 20, 2024

No idea. Works here.

from maptail.

Related Issues (18)

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.