Skip to content

Commit

Permalink
Merge pull request logrhythm#122 from kjell-hedstrom/2.3.1__reformat_…
Browse files Browse the repository at this point in the history
…network.json

Fixed JSON to that it would not be malformed
  • Loading branch information
Ben Aldrich committed Feb 24, 2014
2 parents 1286c59 + 25bf705 commit 5369560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/buildESTemplate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ sub ReadProtoFile {
print "\"ip_dest\" : { \"type\": \"ip\", \"ignore_malformed\" : true },\n";
print "\"time_start\" : { \"format\": \"yyyy/MM/dd HH:mm:ss||yyyy/MM/dd||yyyy-MM-dd'T'HH:mm:ss.SSSZZ\", \"type\": \"date\"},\n";
print "\"time_updated\" : { \"format\": \"yyyy/MM/dd HH:mm:ss||yyyy/MM/dd||yyyy-MM-dd'T'HH:mm:ss.SSSZZ\", \"type\": \"date\"},\n";
print "\"time_total\" : { type: \"long\", \"ignore_malformed\" : true },\n";
print "\"time_delta\" : { type: \"long\", \"ignore_malformed\" : true },\n";
print "\"time_total\" : { \"type\": \"long\", \"ignore_malformed\" : true },\n";
print "\"time_delta\" : { \"type\": \"long\", \"ignore_malformed\" : true },\n";
print "\"captured\" : { \"type\": \"string\", \"null_value\": \"false\"},\n";
print "\"session_id\" : {\"type\": \"string\", \"index\" : \"not_analyzed\"},\n";
print "\"mac_source\" : {\"type\" : \"string\", \"index\" : \"not_analyzed\", \"ignore_malformed\" : true},\n";
Expand Down

0 comments on commit 5369560

Please sign in to comment.