log-synth icon indicating copy to clipboard operation
log-synth copied to clipboard

Generates more or less realistic log data for testing simple aggregation queries.

Results 8 log-synth issues
Sort by recently updated
recently updated
newest added

Hello, I created a folder "~/git/target/" and I copied the synth file in it. I also created a schema.synth file with the following informations: ``` [ {"name":"id", "class":"id"}, {"name":"name", "class":"name",...

The idea is that you would register a schema with a `startSampler` call. This call would return an ID. Then you could ask for samples with `getSample`. An alternative could...

Hi, there! While compiling log-synth, maven reported failures when performing tests, which prevented it from completing the building process. For example, when testing ZipSampler, an error was produced when trying...

Hi there, I am trying to generate events data, like below. There are two events : started and ended. One condition to consider while generating data is that timestamp of...

Rather than take a formatted date and convert it back to millis or seconds since epoch, it is handy sometimes to just generate the millis since epoch timestamp.

I'm on Windows 10 64-bit version 1607 OS Build 14393.187, using jdk1.8.0_102: ``` mvn --version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00) Maven home: C:\tools\apache-maven-3.3.9 Java version: 1.8.0_102, vendor: Oracle Corporation Java...

Hi Ted, Here's the error I get: $ ./synth -schema msg/clickstream.json id,user_id,program_id,timestamp,last_five_actions,action,device,br,la,st,os Exception in thread "main" java.lang.IllegalArgumentException: Cannot flatten type class com.fasterxml.jackson.databind.node.ObjectNode at com.mapr.synth.samplers.FlattenSampler.sample(FlattenSampler.java:33) at com.mapr.synth.samplers.FlattenSampler.sample(FlattenSampler.java:12) at com.mapr.synth.samplers.SchemaSampler.sample(SchemaSampler.java:69) at com.mapr.synth.Synth.main(Synth.java:34)...

Sometimes we would like to have transaction histories that represent plausible user actions. The simplest might be {login, do stuff, logout}\* where you can only do stuff while logged in....