Skip to content

Instantly share code, notes, and snippets.

@rfay
Created July 23, 2013 22:36
Show Gist options
  • Save rfay/6066776 to your computer and use it in GitHub Desktop.
Save rfay/6066776 to your computer and use it in GitHub Desktop.
curl -XGET http://localhost:9200/logstash-2013.07.23/_mapping?pretty
{
"logstash-2013.07.23" : {
"_default_" : {
"_all" : {
"enabled" : false
},
"properties" : {
"@ message" : {
"type" : "string"
},
"@ source" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ source_host" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ source_path" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ tags" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ timestamp" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"@ type" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
}
}
},
"lumberjack" : {
"_all" : {
"enabled" : false
},
"properties" : {
"@ message" : {
"type" : "string"
},
"@ source" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ source_host" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ source_path" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ tags" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@ timestamp" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"@ type" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"@fields" : {
"dynamic" : "true",
"properties" : {
"client_ip" : {
"type" : "string"
},
"drupal_ip" : {
"type" : "string"
},
"drupal_link" : {
"type" : "string"
},
"drupal_message" : {
"type" : "string"
},
"drupal_referrer" : {
"type" : "string"
},
"drupal_request_uri" : {
"type" : "string"
},
"drupal_timestamp" : {
"type" : "string"
},
"drupal_type" : {
"type" : "string"
},
"drupal_uid" : {
"type" : "string"
},
"http_code" : {
"type" : "string"
},
"http_size" : {
"type" : "string"
},
"http_timestamp" : {
"type" : "string"
},
"request" : {
"type" : "string"
}
}
},
"@message" : {
"type" : "string"
},
"@source" : {
"type" : "string"
},
"@source_host" : {
"type" : "string"
},
"@source_path" : {
"type" : "string"
},
"@tags" : {
"type" : "string"
},
"@timestamp" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"@type" : {
"type" : "string"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment