Questions tagged [keen-io]

keen-io refers to the libraries and APIs produced for event analytics by the "Keen IO" company.

Keen IO provides a modern and massively scalable analytics API including libraries for data collection, querying, and visualization.

Keen IO collects arbitrary events in JSON format, automatically ingesting any new events and rich custom properties you send. Keen IO's query APIs make it straightforward to run counts, sums, segmentation, and more.

Keen IO is typically viewed as an alternative to building and maintaining your own in-house analytics backend. It is commonly used to build custom/advanced analytics solutions, embed analytics reports into apps, and white label analytics for customers.

132 questions
1
vote
1 answer

Parsing Keenio Extraction API query data into google spreadsheet

How do I parse a JSON like this? This is Keenio Extraction API query data to be fetched into a Google Spreadsheet. I tried using the following code to parse the returned JSON, but don't know how to get to access the nested objects and…
sifar
  • 1,086
  • 1
  • 17
  • 43
1
vote
1 answer

Keen.io compute over limited data set

So, I've been starting to write some basic compute queries for keen.io over a dataset of about 170,000 events total each with maybe 10 properties at most. With just testing this out, we've already wracked up about 600 million properties queried…
hobberwickey
  • 6,118
  • 4
  • 28
  • 29
1
vote
1 answer

calling this.setState() inside keen client.query.then() returns cannot read property setState

I have a keen extraction query setup inside my react component. When I render the keen query results inside keen's table it works fine. The problem occurs when I try to store the query results inside the state and try to render that data in a…
1
vote
0 answers

how to capture non-event-driven data in keen-io

Capturing data in Keen.io is pretty straight-forward when it's driven by an event. (User-logged-in, Customer-bought-stuff, ...). That's very nicely explained in the docs. But what is the best approach when I want insight on a state of my app at a…
Ernie
  • 972
  • 1
  • 10
  • 23
1
vote
1 answer

How to collect only part of Geo IP data(like 'country' and 'continent' )

I'm using Keen IO with the Geo IP Enrichment add-on. It works fine but I would only like to collect the 'country' and 'continent' data rather than all of it. However I cannot find how to do it. Does anyone know how this can be done? (The reason I…
Julia
  • 41
  • 1
  • 7
1
vote
0 answers

Keen.io not adjusting for daylight savings time on yearly interval?

We are making a query against Keen (via Python) at several different intervals. For each, we are passing the optional parameter timezone as a named timezone rather than absolute offset, so that it will account for Daylight Savings Time, eg:…
kevlarr
  • 1,070
  • 12
  • 24
1
vote
1 answer

How would I query how many customers hit a page even if they weren't customers at the time?

Say I'm streaming pageview data to keen.io, with a visitor_id property. As well as that property, say there's an is_customer boolean. pageview = { "visitor_id" : "292n0s9f323" "is_customer" : true, "page" : "https://burningman.org/xyz" } I…
Michelle Wetzler
  • 734
  • 4
  • 16
1
vote
1 answer

How do I count events with multiple boolean variables in Keen IO?

Say one of my Keen IO event properties is an object of booleans: { "is_a": true, "is_b": true, "is_c": false, ... }. How would I get a count of how many events have each boolean set to true? i.e. I'd like to get a result that tells me that in the…
Michelle Wetzler
  • 734
  • 4
  • 16
1
vote
1 answer

"Too many events" error when deleting a small number of Keen IO events

We had an issue this morning that created duplicate events in keen (496 of them) and are trying to delete them. I have an extraction query that returns just those events. If I run it over the time period of this week, the delete returns an…
Michelle Wetzler
  • 734
  • 4
  • 16
1
vote
1 answer

WordPress wp_remote_get and Keen.io Event Creation

I'm using WordPress and wp_remote_get. I keep getting a 404 error trying to post to my event collection and I'm not sure if I'm even doing this right. Here is the code I'm currently using: $bucket = array( 'purchase' => json_encode( $options )…
Ronald Huereca
  • 266
  • 2
  • 4
1
vote
1 answer

When using Keen, querying with absolute timeframe with monthly intervals using JavaScript is not splitting as expected

I'm using keen-analysis.js and keen-dataviz.js framework. When trying to query and chart data by month, if my datetime has timezone offset information the results are not divided as expected. This is the javascript I'm using: var query1 = new…
maltman
  • 361
  • 1
  • 3
  • 9
1
vote
2 answers

Keen IO bulk add operation suddenly stops working

I’m starting to get this error message “One or more events was rejected during the bulk add operation” since July 3rd, every time I run my batch job to upload files from S3 to Keen using the .net SDK. I'm not sure if this error is coming from Keen…
1
vote
1 answer

Import bulk data in to Keen.io, where one column is stringified JSON

I have around 4 million rows of data that I'd like to import in to Keen.io. The non-normalized CSV structure would look like what is attached here ... the "dimensions" column is a stringified JSON object. I see Keen.io has a batch importer for CSV.…
1
vote
1 answer

cURL error 7: Failed to connect to api.keen.io port 443: Connection timed out

Our API code recently started failing to push events to one of our two Keen IO projects. We are using identical code in each case except with different API keys. I even tried to regenerate the keys without any luck. The error thrown by Guzzle which…
Michelle Wetzler
  • 734
  • 4
  • 16
1
vote
1 answer

Doubts when creating a dashboard with D3.js charts

I want to create a dashboard that would put together four different D3.js-based charts in a single layout. I found this solution: https://github.com/keen/dashboards/blob/gh-pages/README.md However, in readme I found this: Setup: If you're a…
Dinosaurius
  • 8,306
  • 19
  • 64
  • 113
1 2 3
8 9