Skip to content

Implement Read endpoints (JQL/retention/engage/.../export) #2

Open

Description

@eugeneware

Nice work!

However, this app looks like it's more for adding events.

Would be nice to be able to tail log, and even pass a jql query through.

Eg:

$ mixpanel logs -t 
# tail logs - one line of JSON per log entry
$ mixpanel logs -t | jq . # be able to transform / query with the jq command
$ mixpanel logs -t 'function () ...' # jql query
$ mixpanel logs -t @myquery.js # jql query from file

Keep up the great work!

Activity

  1. FGRibreau commented on Oct 26, 2016

    @FGRibreau
    Owner

    Indeed! The READ side still need to be implemented, with:

    But I could not find the live-view API endpoint in the official documentation, did you?

  2. changed the title [-]Would be nice to be able to tail logs / jql query[/-] [+]Implement Read endpoints (JQL/retention/engage/.../export)[/+] on Oct 26, 2016
  3. eugeneware commented on Oct 26, 2016

    @eugeneware
    Author

    Not that I could see, but I've just regularly polled the endpoint passing in my latest ID / timestamp to search for new events.

  4. FGRibreau commented on Oct 26, 2016

    @FGRibreau
    Owner

    @eugeneware oh I see, si it would be a JQL command option ! like "-f" for --follow (like in tail -f) or "--stream" to output a stream instead of a response from a single request. Duly noted.

    Don't hesitate to send a PR for it if you wish 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions