Skip to content

Instantly share code, notes, and snippets.

@boris-42
Created September 21, 2016 02:12
Show Gist options
  • Save boris-42/23a9226901f74c24d8f23964f8b3704f to your computer and use it in GitHub Desktop.
Save boris-42/23a9226901f74c24d8f23964f8b3704f to your computer and use it in GitHub Desktop.
{
"rsyslog-2016.09.20" : {
"mappings" : {
"rsyslog" : {
"properties" : {
"EnvVersion" : {
"type" : "string"
},
"Hostname" : {
"type" : "string"
},
"Logger" : {
"type" : "string"
},
"Payload" : {
"type" : "string"
},
"Pid" : {
"type" : "long"
},
"Severity" : {
"type" : "long"
},
"Timestamp" : {
"type" : "date",
"format" : "strict_date_optional_time||epoch_millis"
},
"Type" : {
"type" : "string"
},
"Uuid" : {
"type" : "string"
},
"programname" : {
"type" : "string"
}
}
}
}
},
"log-2016.09.16" : {
"mappings" : {
"log" : {
"properties" : {
"EnvVersion" : {
"type" : "string"
},
"Hostname" : {
"type" : "string"
},
"http_method" : {
"type" : "string"
},
"http_response_size" : {
"type" : "long"
},
"http_response_time" : {
"type" : "double"
},
"http_status" : {
"type" : "string"
},
"http_url" : {
"type" : "string"
},
"http_version" : {
"type" : "string"
},
"programname" : {
"type" : "string"
},
"python_module" : {
"type" : "string"
},
"request_id" : {
"type" : "string"
},
"severity_label" : {
"type" : "string"
},
"tenant_id" : {
"type" : "string"
},
"user_id" : {
"type" : "string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment