Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with commit 0efdd461df, the map panel show no countries #751

Closed
StefanSa opened this issue Dec 4, 2013 · 2 comments
Closed

with commit 0efdd461df, the map panel show no countries #751

StefanSa opened this issue Dec 4, 2013 · 2 comments

Comments

@StefanSa
Copy link

StefanSa commented Dec 4, 2013

Hi all,
i have here kibana with commit 0efdd46.
This version show no countries with this map panel, but a query to elasticsearch give my the correct values return.

[root@logger logstash]# curl -XGET 'http://192.168.1.95:9200/_all/_search?pretty' -d '{

"facets": {
"map": {
"terms": {
"field": "geoip.coordinates",
"size": 100,
"exclude": []
},
"facet_filter": {
"fquery": {
"query": {
"filtered": {
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "Trojan"
}
},
{
"query_string": {
"query": "scan"
}
},
{
"query_string": {
"query": "rbn"
}
},
{
"query_string": {
"query": "malware"
}
},
{
"query_string": {
"query": "web_server"
}
},
{
"query_string": {
"query": "dshield"
}
},
{
"query_string": {
"query": "cins"
}
}
]
}
},
"filter": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"from": 1386075012171,
"to": "now"
}
}
},
{
"fquery": {
"query": {
"field": {
"syslog_program": {
"query": ""snort""
}
}
},
"_cache": true
}
}
]
}
}
}
}
}
}
}
},
"size": 0
}'
{
"took" : 29,
"timed_out" : false,
"_shards" : {
"total" : 10,
"successful" : 10,
"failed" : 0
},
"hits" : {
"total" : 71197,
"max_score" : 1.0,
"hits" : [ ]
},
"facets" : {
"map" : {
"_type" : "terms",
"missing" : 0,
"total" : 8,
"other" : 0,
"terms" : [ {
"term" : "74.0132",
"count" : 2
}, {
"term" : "47.61449999999999",
"count" : 2
}, {
"term" : "40.708200000000005",
"count" : 2
}, {
"term" : "122.348",
"count" : 2
} ]
}
}
}

@rashidkpc
Copy link
Contributor

It appears that your data is in longitude and latitude. The map panel uses 2 letter region codes to shade the map. You'll need a field that contains them.

@StefanSa
Copy link
Author

StefanSa commented Dec 4, 2013

Namaste Rashid,
your right sorry for this noise, you can close this ticket.

Thank you for your time and work with kibana

Stefan

w33ble pushed a commit to w33ble/kibana that referenced this issue Sep 13, 2018
* Added EuiFieldText and EuiButton to advanced_filter

Added EuiSelect to dropdown_filter

Added EUI to time_picker_mini

cleaned up styles for time picker

Changed inputs and buttons to compressed size

fixed style in datetime_quick_list

Changed select to plain select

Changed to plain button for time_picker_mini

Added arrow icon to dropdown_filter

Changed to plain input and button for advanced filter

Cleaned up dropdown_filter

Cleaned up datetime_calender

Cleaned up advanced_filter style

Fixed datetime_calendar styles

Removed bootstrap from datable. Applied basic style for datatable

Fixed icon in datatable

Removed paginate_controls

Fixed pagination logic

changed initial height of time_filter element

Replaced & with prefixes in advanced_filter, dropdown_filter, and time_filter SCSS files

Added maxWidth to datasource preview

* Fixed overflow issues in datasource preview

* Reverted time_filter default height to 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rashidkpc @StefanSa and others